Failed make buildworld on 8.2-RELEASE
Good day! I trying to make buildworld my first time and need some help. In fact I'm trying to make a jail. # uname -a FreeBSD othal.net 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #0: Mon Nov 21 22:48:16 MSK 2011 r...@othal.net:/usr/obj/usr/src/sys/OTHAL amd64 # rm -rf /usr/obj # cd /usr/src/ # make buildworld -- World build started on Wed Nov 30 23:10:32 MSK 2011 -- -- Rebuilding the temporary build tree -- rm -rf /usr/obj/usr/src/tmp rm -rf /usr/obj/usr/src/lib32 mkdir -p /usr/obj/usr/src/tmp/lib mkdir -p /usr/obj/usr/src/tmp/usr mkdir -p /usr/obj/usr/src/tmp/legacy/usr mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/tmp/legacy/usr /dev/null mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/tmp/usr /dev/null mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/tmp/usr/include /dev/null ln -sf /usr/src/sys /usr/obj/usr/src/tmp -- stage 1.1: legacy release compatibility shims -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp VERSION=FreeBSD 8.2-RELEASE-p4 amd64 802000 MAKEFLAGS=-m /usr/src/tools/build/mk -m /usr/src/share/mk make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=802000 SSP_CFLAGS= -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy === tools/build (obj,includes,depend,all,install) /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/build cd /usr/src/tools/build; make buildincludes; make installincludes rm -f .depend mkdep -f .depend -a-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/tools/build/dummy.c cc -O2 -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/build/dummy.c building static egacy library ranlib libegacy.a sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libegacy.a /usr/obj/usr/src/tmp/legacy/usr/lib -- stage 1.2: bootstrap tools -- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp VERSION=FreeBSD 8.2-RELEASE-p4 amd64 802000 MAKEFLAGS=-m /usr/src/tools/build/mk -m /usr/src/share/mk make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=802000 SSP_CFLAGS= -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF bootstrap-tools === cddl/usr.bin/sgsmsg (obj,depend,all,install) cd: can't cd to /usr/src/cddl/usr.bin/sgsmsg *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # ls -l /usr/src/ total 438 -rw-r--r--1 root wheel6200 Dec 31 2010 COPYRIGHT -rw-r--r--1 root wheel 442 Dec 21 2010 LOCKS -rw-r--r--1 root wheel6659 Dec 21 2010 MAINTAINERS -rw-r--r--1 root wheel 12990 Dec 21 2010 Makefile -rw-r--r--1 root wheel 42773 Dec 22 2010 Makefile.inc1 -rw-r--r--1 root wheel 230702 Dec 21 2010 ObsoleteFiles.inc -rw-r--r--1 root wheel3087 Dec 21 2010 README -rw-r--r--1 root wheel 70999 Feb 16 2011 UPDATING drwxr-xr-x 40 root wheel1024 Feb 17 2011 bin drwxr-xr-x 55 root wheel1024 Feb 17 2011 contrib drwxr-xr-x5 root wheel 512 Feb 17 2011 crypto drwxr-xr-x 22 root wheel2048 Feb 17 2011 etc drwxr-xr-x4 root wheel 512 Feb 17 2011 gnu drwxr-xr-x7 root wheel2048 Feb 17 2011 include drwxr-xr-x 80 root wheel1536 Feb 17 2011 lib drwxr-xr-x 31 root wheel1024 Feb 17 2011 libexec drwxr-xr-x 91 root wheel2048 Feb 17 2011 sbin drwxr-xr-x6 root wheel 512 Feb 17 2011 secure drwxr-xr-x 24 root wheel 512 Feb 17 2011 share drwxr-xr-x 56 root wheel1024 Feb 17 2011 sys drwxr-xr-x 12 root wheel 512 Feb 17 2011 tools drwxr-xr-x 232 root wheel4096 Feb 17 2011 usr.bin drwxr-xr-x 208 root wheel4096 Feb 17 2011 usr.sbin I don't have /usr/src/cddl in my system. Does it required to build world? Thank you! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any
Is it safe to interrupt (Ctrl + C) while building a port or kernel?
Sometimes, while building process of some port or system kernel are in progress, you suddenly remember that you did something wrong and have to stop, solve your mistake and start one more time. Is it clear to interrupt the building process just by pressing Ctrl + C? If it's so, do I need to run make clean before I start make one more time? Thank 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
freebsd-update: how to understand, what have changed?
I running 8.2-RELEASE-p4. I have just run freebsd-update and it dave done something I dont't understand: # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. Fetching 1 files... done. The following files will be updated as part of updating to 8.2-RELEASE-p4: /boot/GENERIC/kernel # freebsd-update install Installing updates... done. It download something, but doesn't shows any files changes. So, what have changed? Does I need to rebuild my custom kernel or no? Does I need to reboot? ___ 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: How to get /dev/smb* ?
02.11.2011, 14:01, Conrad J. Sabatier conr...@cox.net: I just noticed, looking back at your previous mail, that you don't seem to have a device smbios line in your kernel config. Try adding that and see if the smbios facility shows up at boot time. You're actually right! Now, with this lines in kernel, SMBIOS looks more alive: # on-die sensor (added) device coretemp # System management bus device smb device smbus device smbios device ichsmb device nfsmb device intpm device alpm device viapm device nfpm device iicbus device iicbb device ic device iic device iicsmb device amdsmb # CPU control pseudo-device. Provides access to MSRs, CPUID info and microcode update feature. device cpuctl # System Management Bus (SMB) options ENABLE_ALART # Control alarm on Intel intpm driver So, system shows it during boot: # dmesg -a |grep smb smbios0: System Management BIOS at iomem 0xf0480-0xf049e on motherboard smbios0: Version: 2.7, BCD Revision: 2.7 Although no smbios0 device actually shows up under /dev. Perhaps some more knowledgeable individual might enlighten us as to what capabilities having this in your kernel config actually enables. The same thing. # ls -la /dev/sm* ls: /dev/sm*: No such file or directory Also, just looking at the (x)mbmon port, the COMMENT line in the Makefile states: A X motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240 So, this port appears to be useful only on a very specific range of motherboards. I hope that those chipsets are kind of generic things, that are compatible with modern ones like my Z68. It goes without saying that SOME of modern MB, supporting Intel Core(tm) CPUs are still supported by mbmon - it shows state of MB (not CPU) thermal sensor, for example. I can't give you exact models, but I can give it after some days (need to ask). Does it means that it is no way to read temperature sensors on motherboard? Well, it depends. :-) I'm not at all familiar with your particular processor/motherboard, so I can only offer some rather limited advice that may steer you in the right direction for further exploration. There are a number of devices you can enable in your kernel config that may provide some of what you're looking for. Here, on my amd64 box, for instance, device amdtemp, along with device cpuctl and device cpufreq makes the following dev.cpu.* sysctls available, which are one way to (manually) monitor your system. As you can see below, this provides information on CPU temperature and frequency. # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.P001 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.temperature: 47.0C dev.cpu.0.freq: 2200 dev.cpu.0.freq_levels: 2200/23500 1100/14280 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% last 1931us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.P002 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.temperature: 47.0C dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% last 4658us dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.P003 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.temperature: 47.0C dev.cpu.2.cx_supported: C1/0 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% last 3551us dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.P004 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.temperature: 47.0C dev.cpu.3.cx_supported: C1/0 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 100.00% last 4943us As I already say, coretemp works fine - I could read CPU thermal sensors with dev.cpu.#CORE_ID.temperature sysctl after I added coretemp device into my kernel. Problem is to read MB sensors, like chasis (system) temperature, fans RPM, voltages and so on. Now, with smbios device enabled, it still doesn't work the perfect way: # mbmon -V No VIA686 HWM available!! InitMBInfo: Unknown error: 0 # mbmon -S No SMBus HWM available!! InitMBInfo: Unknown error: 0 # mbmon -I No ISA-IO HWM available!! InitMBInfo: Unknown error: 0 # mbmon -A InitMBInfo: Unknown error: 0 This program needs setuid root!! # mbmon -D Probe Request: none Testing Reg's at ISA-IO [ISA Port IO-Base:0x290] Probing Winbond/Asus/LM78/79 chip: CR40:0x44, CR41:0x00, CR42:0x00, CR43:0x00 CR44:0x00, CR45:0x00, CR46:0x00, CR47:0x00 CR48:0x00, CR49:0x00, CR4A:0x00, CR4B:0x00 CR4C:0x00, CR4D:0x00, CR4E:0x80, CR4F:0x00 CR56:0xFF, CR58:0xFF, CR59:0xFF, CR5D:0x19 CR3E:0xFF, CR13:0x00, CR17:0xFF,
Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel?
03.11.2011, 21:20, Robert Bonomi bon...@mail.r-bonomi.com: If it's so, do I need to run make clean before I start make one more time? Authoritative answer: It depends. On what you 'did wrong, and what it takes to fix it. e.g., if you're building a kernel the 'classial' way, that is 'configure, make depend, cd , make', and realize you left something out of the config file, after you edit the config file, you have to rerun _all_ those steps. Does it matter, if I always use make buildkernel make installkernel way to rebuild kernels? make buildkernel .. oh! something wrong! Ctrl + C .. mistake fixed! make buildkernel make installkernel - is right? ___ 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: How to get /dev/smb* ?
02.11.2011, 14:01, Conrad J. Sabatier conr...@cox.net: I just noticed, looking back at your previous mail, that you don't seem to have a device smbios line in your kernel config. Try adding that and see if the smbios facility shows up at boot time. You're actually right! Now, with this lines in kernel, SMBIOS looks more alive: # on-die sensor (added) device coretemp # System management bus device smb device smbus device smbios device ichsmb device nfsmb device intpm device alpm device viapm device nfpm device iicbus device iicbb device ic device iic device iicsmb device amdsmb # CPU control pseudo-device. Provides access to MSRs, CPUID info and microcode update feature. device cpuctl # System Management Bus (SMB) options ENABLE_ALART # Control alarm on Intel intpm driver So, system shows it during boot: # dmesg -a |grep smb smbios0: System Management BIOS at iomem 0xf0480-0xf049e on motherboard smbios0: Version: 2.7, BCD Revision: 2.7 Although no smbios0 device actually shows up under /dev. Perhaps some more knowledgeable individual might enlighten us as to what capabilities having this in your kernel config actually enables. The same thing. # ls -la /dev/sm* ls: /dev/sm*: No such file or directory Also, just looking at the (x)mbmon port, the COMMENT line in the Makefile states: A X motherboard monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240 So, this port appears to be useful only on a very specific range of motherboards. I hope that those chipsets are kind of generic things, that are compatible with modern ones like my Z68. It goes without saying that SOME of modern MB, supporting Intel Core(tm) CPUs are still supported by mbmon - it shows state of MB (not CPU) thermal sensor, for example. I can't give you exact models, but I can give it after some days (need to ask). Does it means that it is no way to read temperature sensors on motherboard? Well, it depends. :-) I'm not at all familiar with your particular processor/motherboard, so I can only offer some rather limited advice that may steer you in the right direction for further exploration. There are a number of devices you can enable in your kernel config that may provide some of what you're looking for. Here, on my amd64 box, for instance, device amdtemp, along with device cpuctl and device cpufreq makes the following dev.cpu.* sysctls available, which are one way to (manually) monitor your system. As you can see below, this provides information on CPU temperature and frequency. # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.P001 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.temperature: 47.0C dev.cpu.0.freq: 2200 dev.cpu.0.freq_levels: 2200/23500 1100/14280 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% last 1931us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.P002 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.temperature: 47.0C dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% last 4658us dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.P003 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.temperature: 47.0C dev.cpu.2.cx_supported: C1/0 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% last 3551us dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.P004 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.temperature: 47.0C dev.cpu.3.cx_supported: C1/0 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 100.00% last 4943us As I already say, coretemp works fine - I could read CPU thermal sensors with dev.cpu.#CORE_ID.temperature sysctl after I added coretemp device into my kernel. Problem is to read MB sensors, like chasis (system) temperature, fans RPM, voltages and so on. Now, with smbios device enabled, it still doesn't work the perfect way: # mbmon -V No VIA686 HWM available!! InitMBInfo: Unknown error: 0 # mbmon -S No SMBus HWM available!! InitMBInfo: Unknown error: 0 # mbmon -I No ISA-IO HWM available!! InitMBInfo: Unknown error: 0 # mbmon -A InitMBInfo: Unknown error: 0 This program needs setuid root!! # mbmon -D Probe Request: none Testing Reg's at ISA-IO [ISA Port IO-Base:0x290] Probing Winbond/Asus/LM78/79 chip: CR40:0x44, CR41:0x00, CR42:0x00, CR43:0x00 CR44:0x00, CR45:0x00, CR46:0x00, CR47:0x00 CR48:0x00, CR49:0x00, CR4A:0x00, CR4B:0x00 CR4C:0x00, CR4D:0x00, CR4E:0x80, CR4F:0x00 CR56:0xFF,
Re: How to get /dev/smb* ?
mbmon is very old. I've never gotten it to work on any machine I've every tried it on. Does your boot time output show anything smb-related at all, such as maybe smbios0: System Management BIOS at ...? It's possible that your machine simply has no support for this. # dmesg -a |grep smb - returns nothing. Does it means that it is no way to read temperature sensors on motherboard? ___ 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
How to get /dev/smb* ?
I built new PC with MSI Z68A-GD65(G3) motherboard, running 8.2-RELEASE and trying to get /dev/smb working (want to use mbmon with it). MSI Z68A-GD65(G3) have Intel Z68 chipset. Kernel compiled with those options: device cpufreq device coretemp device smb device smbus device ichsmb device iic device iicbus device iicsmb device intpm device alpm device viapm device nfpm device iicbb device ic device cpuctl options ENABLE_ALART # pciconf -lv hostb0@pci0:0:0:0: class=0x06 card=0x76811462 chip=0x01008086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x76811462 chip=0x01018086 rev=0x09 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI vgapci0@pci0:0:2:0: class=0x03 card=0x76811462 chip=0x01028086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA none0@pci0:0:22:0: class=0x078000 card=0x76811462 chip=0x1c3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = simple comms ehci0@pci0:0:26:0: class=0x0c0320 card=0x76811462 chip=0x1c2d8086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB pcib2@pci0:0:28:0: class=0x060400 card=0x76811462 chip=0x1c108086 rev=0xb5 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:2: class=0x060400 card=0x76811462 chip=0x1c148086 rev=0xb5 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib4@pci0:0:28:3: class=0x060400 card=0x76811462 chip=0x1c168086 rev=0xb5 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcib5@pci0:0:28:4: class=0x060401 card=0x76811462 chip=0x244e8086 rev=0xb5 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI pcib7@pci0:0:28:5: class=0x060400 card=0x76811462 chip=0x1c1a8086 rev=0xb5 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI ehci1@pci0:0:29:0: class=0x0c0320 card=0x76811462 chip=0x1c268086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = USB isab0@pci0:0:31:0: class=0x060100 card=0x76811462 chip=0x1c448086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA atapci1@pci0:0:31:2:class=0x010400 card=0x76811462 chip=0x28228086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'Raid Controller (82801HR/HH/HO82801IR/IH/IO(AIE=0)/ICH10R)' class = mass storage subclass = RAID none1@pci0:0:31:3: class=0x0c0500 card=0x76811462 chip=0x1c228086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus em0@pci0:2:0:0: class=0x02 card=0xa01f8086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet atapci0@pci0:3:0:0: class=0x010601 card=0x76811462 chip=0x91231b4b rev=0x11 hdr=0x00 class = mass storage subclass = SATA none2@pci0:4:0:0: class=0x0c0330 card=0x76811462 chip=0x01941033 rev=0x04 hdr=0x00 vendor = 'NEC Electronics Hong Kong' class = serial bus subclass = USB pcib6@pci0:5:0:0: class=0x060400 card=0x76811462 chip=0x10801b21 rev=0x01 hdr=0x01 class = bridge subclass = PCI-PCI none3@pci0:7:0:0: class=0x0c0330 card=0x76811462 chip=0x01941033 rev=0x04 hdr=0x00 vendor = 'NEC Electronics Hong Kong' class = serial bus subclass = USB What should I do to get /dev/smb working? coretemp works fine, if it's matter. Thank 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: How to get /dev/smb* ?
Updating to 8.2-RELEASE-p4 does not help. Any ideas? -- Антон Клесс, http://kless.spb.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: Strange diskspace loss
And the fsck: # fsck ** /dev/aacdu0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 4556 files, 298178 used, 3762885 free (981 frags, 470238 blocks, 0.0% fragmentation) ** /dev/aacdu0s1d (NO WRITE) ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=9 OWNER=mysql MODE=100600 SIZE=0 MTIME=Apr 23 12:17 2010 CLEAR? no UNREF FILE I=10 OWNER=mysql MODE=100600 SIZE=0 MTIME=Apr 23 12:17 2010 CLEAR? no UNREF FILE I=11 OWNER=mysql MODE=100600 SIZE=0 MTIME=Apr 23 12:17 2010 CLEAR? no UNREF FILE I=12 OWNER=mysql MODE=100600 SIZE=0 MTIME=Apr 23 12:17 2010 CLEAR? no UNREF FILE I=13 OWNER=mysql MODE=100600 SIZE=0 MTIME=Apr 23 12:17 2010 CLEAR? no UNREF FILE I=1860614 OWNER=root MODE=100600 SIZE=40632320 MTIME=May 4 09:39 2010 CLEAR? no ** Phase 5 - Check Cyl groups 2823 files, 141394 used, 16105940 free (100 frags, 2013230 blocks, 0.0% fragmentation) ** /dev/aacdu0s1f (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? no BLK(S) MISSING IN BIT MAPS SALVAGE? no 265180 files, 65441856 used, 117860015 free (49031 frags, 14726373 blocks, 0.0% fragmentation) ** /dev/aacdu0s1e (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=23587 OWNER=root MODE=100644 SIZE=0 MTIME=Apr 9 13:36 2010 CLEAR? no UNREF FILE I=3156011 OWNER=root MODE=100644 SIZE=6944766 MTIME=May 4 04:34 2010 CLEAR? no UNREF FILE I=3179521 OWNER=www MODE=100644 SIZE=30361665474 MTIME=May 4 09:43 2010 CLEAR? no ** Phase 5 - Check Cyl groups 24527 files, 14958948 used, 1288386 free (15202 frags, 159148 blocks, 0.1% fragmentation) ** /dev/aacdu1s1d (NO WRITE) ** Last Mounted on /var/db/mysql ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 278 files, 1597189 used, 234516789 free (525 frags, 29314533 blocks, 0.0% fragmentation) ___ 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 diskspace loss
2010/5/4 Anton Yuzhaninov cit...@citrin.ru http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF -- WBR, Anton Yuzhaninov There are no 25Gb files in /var: # ls -lah /var total 18930 drwxr-xr-x 25 rootwheel 512B May 4 13:55 . drwxr-xr-x 21 rootwheel 512B Mar 11 18:20 .. drwxrwxr-x 2 rootoperator 512B Oct 30 2009 .snap drwxr-xr-x 2 rootwheel 512B May 1 2009 account drwxr-xr-x 2 rootwheel 512B Nov 1 2009 agentx drwxr-xr-x 4 rootwheel 512B May 1 2009 at drwxr-x--- 2 rootaudit 512B May 1 2009 audit drwxr-x--- 2 rootwheel 512B Apr 18 03:01 backups drwxr-x--- 2 rootwheel 512B Oct 30 2009 crash drwxr-x--- 3 rootwheel 512B May 1 2009 cron drwxr-xr-x 13 rootwheel 512B Apr 13 09:54 db dr-xr-xr-x 2 rootwheel 512B May 1 2009 empty drwx-- 2 rootwheel 512B May 1 2009 heimdal drwxr-xr-x 3 rootwheel 512B Feb 9 19:03 lib drwxrwxr-x 2 rootwheel 512B Nov 8 13:00 lock drwxr-xr-x 4 rootwheel 2.0K May 4 10:00 log -rw-r--r-- 1 rootwheel 18M Apr 1 09:39 log.tar.gz drwxrwxr-x 3 rootmail 512B Mar 3 13:06 mail drwxr-xr-x 2 daemon wheel 512B Oct 30 2009 msgs drwxr-xr-x 5 rootwheel 512B Oct 30 2009 named drwxr-xr-x 2 rootwheel 512B May 1 2009 preserve drwxr-xr-x 9 rootwheel 1.0K May 4 09:56 run drwxrwxr-x 2 rootdaemon 512B May 1 2009 rwho drwxr-xr-x 11 rootwheel 512B Nov 16 19:42 spool drwxrwxrwt 3 rootwheel 512B May 4 10:00 tmp drwxr-xr-x 2 rootwheel 512B Oct 30 2009 yp And logs rotation is set up 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
Strange diskspace loss
Hello. I'm running 7.2-RELEASE amd64. Uptime 24 days. I was told that server stoped to send emails and started to look at. There are strange things: # df -h FilesystemSizeUsed Avail Capacity Mounted on /dev/aacdu0s1a7.7G582M6.6G 8%/ devfs 1.0K1.0K 0B 100%/dev /dev/aacdu0s1d 31G276M 28G 1%/tmp /dev/aacdu0s1f350G125G197G39%/usr /dev/aacdu0s1e 31G 29G-25M 100%/var /dev/aacdu1s1d450G3.0G411G 1%/var/db/mysql fdescfs 1.0K1.0K 0B 100%/dev/fd /var is out of space. Hmm. # du -sh /var 3,3G/var How can it be so? o_O ___ 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: Installing from FTP: unable to transfer the GENERIC distribution
So, that was 100% hardware problem: at one hand, on next day I saw ECC related error-alerts in IPMI's event log, phone dealer and was told to exchange bad RAM module with my guarantee. On other hand, I decided to give dealer the full server as-is to take a look, and that was right decision: they somehow (don't tell me how) give a diagnosis that motherboard, not RAM, is answerable for errors. So, motherboard is exchanged, tomorrow I'll start again. 2010/4/25 Matthew Seaman m.sea...@infracaninophile.co.uk -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/04/2010 09:13:07, Антон Клесс wrote: If I just ping FTP server from installer's shell for minutes, it will show me packets loss if some, right? Probably. Packet loss can be a tricky thing, and depend on any one of a number of parameters. You may well need to tell ping to use bigger packets -- your FTP session will be maxing out the MTU, so try 1500 byte packets as well as the default size. In fact (and now I come to mention it), MTU problems are a pretty good fit to what you're seeing. Except in that case, I doubt you'ld have had any success at downloading at all. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvT+4oACgkQ8Mjk52CukIwP9wCfUijlReVsBwM+qHbbyuFfvPgc 2TAAn3mYH9tClr/3YmKVtkiSE4beZjpP =5Hew -END PGP SIGNATURE- -- С уважением, Антон Клесс, http://kless.spb.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: Installing from FTP: unable to transfer the GENERIC distribution
If I just ping FTP server from installer's shell for minutes, it will show me packets loss if some, right? 2010/4/25 Matthew Seaman m.sea...@infracaninophile.co.uk -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/04/2010 22:41:13, Антон Клесс wrote: Suspect hardware on the second system? Try escaping to the shell (Alt-F4) after pulling down some of the distribution sets and see if 'netstat -i' shows interface errors. I tried to, but (Alt-F4) does nothing. Should it work in Standard installation method or Custom? This time I lucky: Base distribution set get right, and when Generic started downloading, I reached the console you mean. netstat -i says there are no errors. second console says following: /stand/cpio: invalid header: checksum error /stand/cpio: warning: skipped number bytes of junk /stand/cpio: : No such file or directory While downloading, such messages run out very fast. Then, sysinstall says: User confirmation requested Unable to transfer the GENERIC distribution from ftp://ftp10.freebsd.org . Do you want to try to retrieve it again? Hmmm... well, the best theory I can see that fits the observed symptoms is that you are getting packet loss while trying to download the distribution sets for your second system. Packet loss usually means dodgy hardware. I think you'ld have to be seeing quite substantial packet loss -- more than about 5% -- or the normal TCP retransmission stuff would fix things at the cost of a rather lower than normal download speed. It's pretty hard to diagnose such problems from the installer -- try booting the machine from a livecd and using a more capable environment to work out what's going wrong. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvT7fAACgkQ8Mjk52CukIy9bACePj/qXPxD+FRX7XPc5+KAQxqK FAUAnjNSDDvEFMhudlzmboD0TPfHj5OR =TGTL -END PGP SIGNATURE- -- С уважением, Антон Клесс, http://kless.spb.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: Which CPUTYPE in make.conf?
I deal with AMD Athlon 64 X2 4800+ Windsor (AM2, L2 2048Kb) and wondering of it's CPUTYPE too. 2010/4/24 Mike Clarke jmc-freeb...@milibyte.co.uk I have a AMD Athlon 4850e which is described as Athlon 64 X2 Dual-Core processor. /usr/share/examples/etc/make.conf lists recognised CPU types, but which of athlon64, athlon-mp or athlon-xp is the most appropriate for this CPU? I've been using athlon64 so far without any problems but I don't know if it's the most appropriate choice or if there's even any significant difference between them. -- 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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Installing from FTP: unable to transfer the GENERIC distribution
Good day. I am trying to install 8.3-RELEASE on remote servers using bootonly ISO image connected through IPMI virtual media and then choosing FTP as installation media to get distributions. There are 2 similiar servers. On first one all gone OK and I get working system, but on second - nothing wants to go OK. After choosing FTP-server from list in sysinstall (I have already tryed about 10 of them) GENERIC distribution starts to download, and progress-bar as usual moving to 100%, but then I get message Installing from FTP: unable to transfer the GENERIC distribution from ftp://server.addr/ On second console (CTRL + F2) there are messages of checksums fails. Is I re-try downloading, system seems to install normally, but while sysinstall continue dialogs, bugs start to appear: it is no way to set root password, for example. If reboot, I see installed FreeBSD, that boots, but unable to login because PAM missing. Seems that not all files installed properly. I tried to re-install system all the day, and of course look through Google, but can't find out any usuable information. What can be the reason of such strange situation? ___ 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: Installing from FTP: unable to transfer the GENERIC distribution
On second console (CTRL + F2) there are messages of checksums fails. I mean ALT + F2, sorry. 2010/4/25 Matthew Seaman m.sea...@infracaninophile.co.uk Oh. Perhaps you mean 7.3-RELEASE ? Of course I am. Suspect hardware on the second system? Try escaping to the shell (Alt-F4) after pulling down some of the distribution sets and see if 'netstat -i' shows interface errors. I tried to, but (Alt-F4) does nothing. Should it work in Standard installation method or Custom? ___ 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: Installing from FTP: unable to transfer the GENERIC distribution
And, one more thing: after choosing FTP server from list sysinstall get to window Looking up host servername.net, and show it too long - more than 1 minute before say User Confirmation Requested - Last chance! ... - is it OK for 10 mbit link? Distribution downloading goes OK, at 0.9 MByte/sec. ___ 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: Installing from FTP: unable to transfer the GENERIC distribution
Suspect hardware on the second system? Try escaping to the shell (Alt-F4) after pulling down some of the distribution sets and see if 'netstat -i' shows interface errors. I tried to, but (Alt-F4) does nothing. Should it work in Standard installation method or Custom? This time I lucky: Base distribution set get right, and when Generic started downloading, I reached the console you mean. netstat -i says there are no errors. second console says following: /stand/cpio: invalid header: checksum error /stand/cpio: warning: skipped number bytes of junk /stand/cpio: : No such file or directory While downloading, such messages run out very fast. Then, sysinstall says: User confirmation requested Unable to transfer the GENERIC distribution from ftp://ftp10.freebsd.org. Do you want to try to retrieve it again? ___ 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: Re: Is there PHP 5.2.x in ports?
portdowngrade seems is what I need. So, I run it: # portdowngrade lang/php5 portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! Seeking port lang/php5 ... Found several matches: 1: lang/php5 2: lang/php5-extensions Please choose one: 1 Downgrading port: lang/php5 Step 1: Checking out port from CVS repository CVS root directory: anon...@anoncvs1.freebsd.org:/home/ncvs Step 2: Reading the port history from the CVS repository Step 3: Analyzing the port history from the CVS repository Step 4: Load port version numbers and present results Keys: space : next page d : details p : previous page enter : leave presentation and downdgrade if wanted == number date portversion comment 1 2010/04/19 10:43:29 5.3.2Switch to use newer GMP version. 2 2010/04/16 13:52:11 5.3.2Add CONFLICTS to php5-pcre and php5-spl. 3 2010/04/12 08:03:49 5.3.2Fix build if multibyte regex support is disabled. 4 2010/04/11 07:53:17 5.3.2PHP dropped support for Oracle8 client library. 5 2010/04/09 09:34:41 5.3.2Update to PHP 5.3.2 release! 6 2010/04/05 18:57:38 5.2.12 - fix build for png-1.4.1 7 2010/04/03 10:44:18 5.2.12 Chase the ftp/curl shlib version bump. 8 2010/03/28 06:38:57 5.2.12 - update to 1.4.1 9 2010/02/05 11:40:17 5.2.12 - update to jpeg-8 10 2009/12/29 14:39:10 5.2.12 Update to 5.2.12 release. Total lines: 223. Command: Enter version number to change port to (0: exit): Which option do I have to choose? 6 2010/04/05 18:57:38 5.2.12 - as the latest 5.2.x in list? And, if I downgrade PHP to that version, do I have to downgrade something else? At least, lang/php5-extensions, I guess? 22.04.10, 22:06, Eitan Adler eitanadlerl...@gmail.com: php 5.2 is not currently in the ports system. You could get it by using porteasy or portdowngrade. ___ 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: Is there PHP 5.2.x in ports? yes.
There are no archivers/php52-zlib. So, it is unavailable to install lang/php52 with lang/php5-extensions, having zlib extension choosen at make config. 2010/4/24 Olivier Mueller om-lists-...@omx.ch On Fri, 2010-04-23 at 15:34 -0400, doug schmidt wrote: On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller om-lists-...@omx.ch wrote: And if you are patient, some devs are planing to add a php52 port, there is even something in the PR DB : http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772 (but I don't know how active they are, maybe asking on freebsd-ports would be better). lang/php52 has been added to the ports tree. wow, that was quick... cool! thanks for the information :) ( http://www.freebsd.org/cgi/ports.cgi?query=php52stype=allsektion=all ) regards, Olivier ___ 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 -- С уважением, Антон Клесс, http://kless.spb.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: php5-5.3.2 problems since upgrade from php5-5.2.12
APseudoUtopia,which one maillist do you mean? 2010/4/22 APseudoUtopia apseudouto...@gmail.com On Thu, Apr 22, 2010 at 1:44 AM, n dhert ndhert...@gmail.com wrote: People using php in webpages are getting all kind of errors concerning depricated functions such as: Deprecated: Assigning the return value of new by reference is deprecated It there a way to specify somewhere something so that these funtions still can be used ? The functions can still be used. It's just a notice saying that their usage is deprecated and they will be removed in future versions of PHP. Try asking on the PHP mailing list for non-deprecated ways to do what you're trying to do. ___ 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
Is there PHP 5.2.x in ports?
Good day everyone! After # portsnap fetch extract, I see only PHP 5.3.2 in ports, but no 5.2.x. Is there 5.2.x in ports, or is there other way to get it installed? For MySQL, for example, there are both 5.0.x and 5.1.x in ports. ___ 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
ports/144403: graphics/php5-gd does not load libpng
Does it solved in PHP 5.3.x only? Unfortunately 5.3 and 5.2 code are not fully compatible, PHP-based software (like CMS and BBs) updates slowly, and most of webmasters couldn't migrate to 5.3 just in moment. Would it be fixed for 5.2.x? Or the only way to get gd work with PHP 5.2.x is downgrading of *png* port? ___ 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: installation problem
I guess I have the same problem. I trying to install 7.2-RELEASE on server with Supermicro X8DTU-Fhttp://market.yandex.ru/model.xml?modelid=4633058MB. BIOS is the newest. Just in time I boot from CD I get such errors after detecting CPU: acd0: TIMEOUT - READ_BIG retrying (1 retry left) acd0: TIMEOUT - READ_BIG retrying (0 retry left) acd0: FAILURE - READ_BIG timed out And boot fails. But if I eject CD from CD-ROM after FreeBSD kernel loads, all going OK. But in this way I unable to continue installation from CD, course even I insert CD during sysinstall, it cannot mount it and copy distributions to my machine. I have tried to boot through choosing 6 in loader menu and type - set hw.ata.atapi_dma=0 - boot But it doesn't give any effect. Situation was recalled on two X8DTU-F motherboards, so it isn't hardware problem. CD-ROM is SATA, TEAC DV-28S. Photo: http://img-fotki.yandex.ru/get/3809/rc5hack.22/0_3aa92_84133e96_orig ___ 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
acd0: TIMEOUT - READ_BIG retrying (1retry left)
Good day. I trying to install 7.2-RELEASE on server with MB Supermicro X8DTU-Fhttp://market.yandex.ru/model.xml?modelid=4633058. BIOS is the newest. Just in time I boot from CD I get such errors after detecting CPU: acd0: TIMEOUT - READ_BIG retrying (1 retry left) acd0: TIMEOUT - READ_BIG retrying (0 retry left) And boot fails. But if I eject CD from CD-ROM after FreeBSD kernel loads, all going OK. But in this way I unable to continue installation from CD, course even I insert CD during sysinstall, it cannot mount it and copy distributions to my machine. I have tried to boot through choosing 6 in loader menu and type - set hw.ata.atapi_dma=0 - boot But it doesn't give any effect. Situation was recalled on two X8DTU-F motherboards, so it isn't hardware problem. CD-ROM is SATA, TEAC DV-28S. Photo: http://img-fotki.yandex.ru/get/3809/rc5hack.22/0_3aa92_84133e96_orig What do I do with that? ___ 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: Which version of FreeBSD is it?
2010/3/18 Ruben de Groot mai...@bzerk.org As others have said, it's a RELEASE candidate. But this kernel it's running was compiled earlier this month (March 5). Ruben It is OK, course I have compiled my own kernel by commenting-out unused devices in GENERIC kernconf-file. Sources was newer updated, I just dont know how to do that =) ___ 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: Which version of FreeBSD is it?
18 марта 2010 г. 10:49 пользователь Tim Judd taj...@gmail.com написал: On 3/17/10, Антон Клесс antoniok@gmail.com wrote: That is what I suspected for. What is the most safe way to upgrade it, remembering that this is production server and I have to keep it working properly? 6.2-RC1 - 6.2 RELEASE - 7.2 RELEASE - 8.0 RELEASE, or somehow in this style? snip Honestly, if a system is going to go through that large of a change, here's what I'd recommend. First scenario is the quickest running, then continue with the second to keep it up-to-date Since *ALL* configuration of base and ports is done by /etc and /usr/local/etc, back up those two directories to a tarball. they're all text files so it should compress very well. Note the packages currently on your system with a simple pkg_info. This gets you a prime data set that can restore 99%+ functionality if used. Scenario 1: pkg_info /root/pkg_info.txt tar -cPpzf /root/62rc1-config.tgz /etc /usr/local/etc /root/pkg_info.txt ** keep this /root/62rc1-config.tgz archive in a safe 2 spots. 2 spots. fresh install of 8.0R on the box. extract, at minimum, the /etc entries from the tarball kept safely away from the box for each package listed in pkg_info.txt, install from packages that package (just the QUICK way to bring a box to a usable state) extract the /usr/local/etc from the tarball. **TRY** to restart your services. The reason I state 'try' is that config files may have changed from a package version a.b to x.y, so you may need to tweak your config files to match the current package. Now that you have a live box again, able to serve requests, it's time to keep it maintained. Scenario 2: install portaudit run portaudit, fix any vulnerabilities ** at this time, your system is safe from most vulnerabilities run your favorite port management software to update the rest of the ports who do not have vulnerability advisories. I've used this tactic before, works well and WILL be faster than you updating your system from 6.2 to 6.4 to 7.2 to 8.0 Let me know if you have questions. --TJ Well, while my skills about FreeBSD is not good enough to let me feel OK to experiment with 6.2 to 6.4 to 7.2 to 8.0 updating, and while server is hard to physically access, I guess that just to do fresh install of RELEASE and re-configuring it in the way that Tim Judd taj...@gmail.com told, would be much more quick and safe for my services running on this server now. So the last question is which version (7.2 or 8.0) to choose. Am I right if I say there would no problems with hardware compatibility on 8.0 if there wasn't on 6.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: shrink /usr size
2010/3/18 Aiza aiz...@comclark.com /usr is the last partition in the slice. It has 15GB and only 600mb used. I would like to shrink /usr to 7GB leaving me 7GB for another new partition for mysql DB testing. How do I shrink /usr? ___ 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 same question: how to extend existed one? I'm going to change HDD on server to a bigger one and dd from old to new, but in this case the space visible to FreeBSD would be the same, how to make it grow? ___ 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
gd errors after rebuilding PHP
I have updated PHP from ports, now it is: # uname -a FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK 2010 r...@host.net:/usr/obj/usr/src/sys/MYKERN amd64 $ php -v PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies $ php -m [PHP Modules] bcmath bz2 ctype curl date dom exif filter ftp gd gettext gmp hash iconv json libxml mbstring mhash mysql mysqli openssl pcre pdf PDO pdo_sqlite posix Reflection session SimpleXML sockets SPL SQLite standard tokenizer xml xmlreader xmlwriter zip zlib [Zend Modules] And no it started to get such errors: [17-Mar-2010 16:07:19] PHP Warning: imagecreatefrompng(): gd-png: fatal libpng error: [00][00][00][00]: unknown critical chunk in /path-to-file/file.php on line 15 [17-Mar-2010 16:07:19] PHP Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /path-to-file/file.php on line 15 [17-Mar-2010 16:07:19] PHP Warning: imagecreatefrompng(): 'button.png' is not a valid PNG file in /path-to-file/file.php on line 15 [17-Mar-2010 16:07:19] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 16 [17-Mar-2010 16:07:19] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 17 [17-Mar-2010 16:07:19] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 18 [17-Mar-2010 16:07:19] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 19 [17-Mar-2010 16:07:19] PHP Warning: imagestring(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 20 [17-Mar-2010 16:07:19] PHP Warning: imagepng(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 21 [17-Mar-2010 16:07:19] PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /path-to-file/file.php on line 22 I tried to re-build PHP, but it don't helped. # pkg_info |grep png png-1.2.42 Library for manipulating PNG images ruby18-libpng-0.3.3_3 A libpng wrapper class for Ruby Any suggestions? ___ 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: gd errors after rebuilding PHP
It doesn't helps me. Then I try this: # env LD_PRELOAD=/usr/local/lib/libpng.so.5 |grep png LD_PRELOAD=/usr/local/lib/libpng.so.5 # env |grep png # Is it OK that env doesn't save its status (LD_PRELOAD)? 2010/3/17 Bas v.d. Wiel b...@kompasmedia.nl On Wed, 17 Mar 2010 16:23:39 +0300, Антон Клесс antoniok@gmail.com wrote: I have updated PHP from ports, now it is: # uname -a FreeBSD host.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK 2010 r...@host.net:/usr/obj/usr/src/sys/MYKERN amd64 $ php -v PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 21 2010 23:16:07) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies snip This is a known issue. There's a PR for this filed under number 144403. A sort of workaround (which I find a bit nasty), is to start Apache like this: #env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 restart Hope this helps! Bas -- С уважением, Антон Клесс, http://kless.spb.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: gd errors after rebuilding PHP
# ls /usr/local/lib/libpng.so.5 /usr/local/lib/libpng.so.5 # ls /usr/local/etc/rc.d/apache22 /usr/local/etc/rc.d/apache22 # env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 status apache22 is running as pid 21297. # env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 stop Stopping apache22. Waiting for PIDS: 21297. # env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: Syntax OK Starting apache22. # But PHP errors are still the same. Should I report this into PR? 2010/3/17 Bas v.d. Wiel b...@kompasmedia.nl On Wed, 17 Mar 2010 16:44:43 +0300, Антон Клесс antoniok@gmail.com wrote: It doesn't helps me. Then I try this: # env LD_PRELOAD=/usr/local/lib/libpng.so.5 |grep png LD_PRELOAD=/usr/local/lib/libpng.so.5 # env |grep png # Is it OK that env doesn't save its status (LD_PRELOAD)? snip You should put the whole command on a single line (e-mail cuts off the lines here): #env LD_PRELOAD=/usr/local/lib/libpng.so.5 /usr/local/etc/rc.d/apache22 restart In essence you're just restarting Apache in the usual BSD way, but with an ad-hoc added environment variable. The env command doesn't save its changes, but that is correct behaviour. I haven't tested this with a 'real' environment variable yet because I decided to roll back the upgrade to wait for the issue to be solved. Bas -- С уважением, Антон Клесс, http://kless.spb.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
Which version of FreeBSD is it?
I have the server that's running FreeBSD for the last few years, but I saw it only year ago and know nothing about when and how was installed FreeBSD on it. # uname -a FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK 2010 r...@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 Is it RELEASE, STABLE or what? ___ 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: Which version of FreeBSD is it?
That is what I suspected for. What is the most safe way to upgrade it, remembering that this is production server and I have to keep it working properly? 6.2-RC1 - 6.2 RELEASE - 7.2 RELEASE - 8.0 RELEASE, or somehow in this style? 2010/3/17 Bas v.d. Wiel b...@kompasmedia.nl On Wed, 17 Mar 2010 16:56:20 +0300, Антон Клесс antoniok@gmail.com wrote: I have the server that's running FreeBSD for the last few years, but I saw it only year ago and know nothing about when and how was installed FreeBSD on it. # uname -a FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4: Fri Mar 5 01:37:03 MSK 2010 r...@myhost.net:/usr/obj/usr/src/sys/MYKERN amd64 Is it RELEASE, STABLE or what? It is what it says it is: 6.2-RC1, meaning Release Candidate 1. That's a development/test version. If this is a production system it would be a very good idea to replace it with the current 8.0 RELEASE, which will give you at least proper patch maintenance. Bas -- С уважением, Антон Клесс, http://kless.spb.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
Using multiply kernels with reserved GENERIC
I compile my own kernel: # make buildkernel KERNCONF=MYKERN make installkernel KERNCONF=MYKERN After this, the new kernel is into /boot/kernel , and old one is into /boot/kernel.old After first kernel rebuilding, kernel.old is GENERIC. But after second one it seems that I'm unable to boot GENERIC without compiling and installing it again. Is it possible to have GENERIC for system crash restoring purposes somewhere like /boot/kernel.generic ? ___ 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.0] Installing KDE4 from sources: building xmlto fault
Good day! I'm running FreeBSD 8.0-STABLE-201002 amd64. Trying to install KDE4 from port, compiling the sources, I get xmlto-0.0.23 building fault: # cd /usr/ports/x11/kde4/ # make install clean ... === Building for xmlto-0.0.23 make all-am for xml in xmlif.xml xmlto.xml; do FORMAT_DIR=./format /usr/local/bin/bash ./xmlto -o man/man1 man ./doc/$xml ; done || ( RC=$?; exit $RC ) xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlif.xml does not validate (status 3) xmlto: Fix document syntax or use --skip-validation option I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlif.xml:4: warning: failed to load external entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; ^ I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd warning: failed to load external entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; validity error : Could not load the external subset http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; Document /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlif.xml does not validate xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlto.xml does not validate (status 3) xmlto: Fix document syntax or use --skip-validation option I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlto.xml:3: warning: failed to load external entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; ^ I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd warning: failed to load external entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; validity error : Could not load the external subset http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd; Document /usr/ports/textproc/xmlto/work/xmlto-0.0.23/./doc/xmlto.xml does not validate *** Error code 13 Stop in /usr/ports/textproc/xmlto/work/xmlto-0.0.23. *** Error code 1 Stop in /usr/ports/textproc/xmlto/work/xmlto-0.0.23. *** Error code 1 Stop in /usr/ports/textproc/xmlto. *** Error code 1 Stop in /usr/ports/textproc/xmlto. *** Error code 1 Stop in /usr/ports/print/system-config-printer. *** Error code 1 Stop in /usr/ports/print/kdeutils4-printer-applet. *** Error code 1 Stop in /usr/ports/misc/kdeutils4. *** Error code 1 Stop in /usr/ports/misc/kdeutils4. *** Error code 1 Stop in /usr/ports/x11/kde4. *** Error code 1 Stop in /usr/ports/x11/kde4. But I can manually download this file: # fetch http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd docbookx.dtd 100% of 5705 B 36 kBps # wget http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd --2010-03-13 17:06:02-- http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd Resolving www.oasis-open.org... 66.151.234.59 Connecting to www.oasis-open.org|66.151.234.59|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5705 (5.6K) [text/plain] Saving to: `docbookx.dtd' 100%[===] 5,705 --.-K/s in 0.1s 2010-03-13 17:06:02 (38.8 KB/s) - `docbookx.dtd' saved [5705/5705] What do I have to do to continue port installation? ___ 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: ntpdate problem
2010/3/13 Randal L. Schwartz mer...@stonehenge.com But really, why are you using ntpdate and not just ntpd? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ 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 saw that more than year ago on my teacher's server, when I was deal with my first FreeBSD, so it's just a kind of habit. But on the other hand, if it exists, it could work properly, and I am interested in just to understand, how it should be set 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 8.0] Installing KDE4 from sources: building xmlto fault
Hmmm. /usr/ports/textproc/docbook was not installed. I install it by hands (make install clean) withdefault options, then bask to my KDE building - it continued without fault. So, thank you a lot, and so on - we have the deal with incorrect port? It was nothing broken by myself. 2010/3/13 Bruce Cran br...@cran.org.uk On Saturday 13 March 2010 14:08:46 Антон Клесс wrote: Good day! I'm running FreeBSD 8.0-STABLE-201002 amd64. Trying to install KDE4 from port, compiling the sources, I get xmlto-0.0.23 building fault: What do I have to do to continue port installation? It took me a while to figure out. I guess you've deselected some DocBook formats that you may think you'd never want to use, in textproc/docbook - go back and reinstate (reconfigure) the default selections, because otherwise things break. Don't just reinstate the 4.2 format because things depend on the XML formats too :) -- Bruce Cran -- С уважением, Антон Клесс, http://kless.spb.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
ntpdate problem
I have the following line in my root cron: 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org /dev/null That must hourly adjust system time via NTP. But I discover that it works from time to time: some days just once, some days 5-6 times a day I receive e-mail with text like 12 Mar 12:05:05 ntpdate[25368]: no server suitable for synchronization found But if I log in to server and run # /usr/sbin/ntpdate ru.pool.ntp.org everything always works OK: it says 12 Mar 13:51:57 ntpdate[27256]: adjust time server 80.93.56.210 offset -0.616000 sec Maybe NTP server doesn't like when some client (my server) asks it such way - once a hour in same minute - and blocks my queries? Any suggestions? ___ 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: ntpdate problem
So, while ru.pool.ntp.org is pool of several servers, I have to run it as 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org ru.pool.ntp.org ru.pool.ntp.org /dev/null to check 3 servers from pool? 2010/3/12 RW rwmailli...@googlemail.com On Fri, 12 Mar 2010 09:22:07 -0500 Nathan Vidican nat...@vidican.com wrote: or more specifically, if you don't want to leave ntpd running, read-up on 'ntpd -q' which mimmicks the behavior of ntpdate but allows you to use multiple ntp servers. ntpdate supports multiple servers too, you just list them as extra arguments. ___ 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 -- С уважением, Антон Клесс, http://kless.spb.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: mysql,postgresql,client,server
# pkg_db -F - that will auto-fix versions collisions between dependencies - it may help you. 2010/3/8 n dhert ndhert...@gmail.com MySQL and Postgresql appear in the freebsd with many different versions. Normally ports have only one version (the latest) and you upgrade with portupgrade. Sometimes a mysql-client or postgresql-client is installed as a dependency of another port, (e.g. a Davical install today installed postgresql-client-8.2.15_1 as a dependency whereas postgresql-server already has a 8.3 and 8.4 version in the ports now) Is it save to install the newest server version? or should one install the same version as the client one already has ? Both for mysql and postgresq server, the corresponding client is a dependendy. I e.g. you already have mysql-client-5.0.90 but no mysql server yet, and you install mysql-server-5.5.2., will it install mysql-client-5.5.2 alongside the existing mysql-client-5.0.90 or upgrade it ? ___ 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 -- С уважением, Антон Клесс, http://kless.spb.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: mysql,postgresql,client,server
surely, pkgdb. not pkg_db. I have misspelled. 2010/3/8 Polytropon free...@edvax.de On Mon, 8 Mar 2010 15:52:29 +0300, Антон Клесс antoniok@gmail.com wrote: # pkg_db -F - that will auto-fix versions collisions between dependencies - it may help you. I'm sure you need the command pkgdb -F (without underscore) here; for automated run, use pkgdb -aF. Note that pkgdb program is part of the portupgrade port. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- С уважением, Антон Клесс, http://kless.spb.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