Re: setup journaling for root partition

2013-05-24 Thread s m
thanks Warren, you're right but i want to set journaling in fixit
mode in fixit mode none of my partitions are mounted (mount
command show no partition) but geom returns error yet.

is there any way to tell geom that my partitions are unmounted?

On 5/23/13, Warren Block  wrote:
> On Thu, 23 May 2013, Torsten Hantzsche wrote:
>
>> On Thu, 23 May 2013, s m wrote:
>>
>>
>>> thanks,
>>>
>>> i do as you said, but after loading gjournal, dd says "operation not
>>> permitted".
>>> gjournal clear says "operation not permitted" too and therefore
>>> "gjournal
>>> label" is not done and say previous error (gjournal cannot clear
>>> metadata
>>> on ad3s1a: operation not permitted). and -v return no extra log.
>>>
>>> i don't know why i can not do any thing in fixit mode:(
>>>
>>> is this a true procedure? i mean maybe i should do any thing else
>>> because
>>> freebsd handbook set journaling for user partition in single user mode
>>> not
>>> in fixit mode. i test it and it works well, but for root partition i can
>>> not do the same because root partition can not be unmount in single user
>>> mode.
>>>
>>> any hints or comments are really appreciated.
>>> thanks in advance
>>>
>>
>> Hi,
>>
>> i remember having similar error messages with glabel some years ago.
>> The solution was found in "man 4 geom" in section DIAGNOSTICS:
>>
>> I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting"
>> mode.
>>
>> Maybe this could help you too?
>
> For certain values of "help". :)
>
> If geom won't let you write to part of a disk, it's because it thinks
> that part of the disk is already in use, usually by a mounted
> filesystem.  Overwriting part of a filesystem is not guaranteed to lose
> data.  But why take the chance?
>
> Better to boot from mfsBSD (http://mfsbsd.vx.sk/).  Possibly better yet
> to use SUJ, which can be enabled with tunefs with the root partition
> mounted read-only in single user mode.  SUJ has its own problems,
> though.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.1 - new install questions

2013-05-24 Thread egunther
Hi,

I don't often comment here and don't really have much to add in this case
but;  What have you tried to discover the answers to your questions?


I just noticed that this post seemed to have been missed.

some leads might be:

http://www.freebsd.org/releases/9.1R/relnotes.html

http://tools.ietf.org/html/rfc4862

- have a good day,

'a5


> I just installed 9.1 on a clean disk.   The dmesg is at the end of this
> message.
>
>
>
> For the network configuration, I selected DHCP for IPv4 and SLAAC for
> IPv6.  When I boot the PC, it appears that dhclient tries to load
> twice.  Why does it try to load the second time?
>
>>From the console log:
>
> May 18 17:53:15 a31p kernel: Starting dhclient.
> May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
> port 67
> May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255
> port 67
> May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1
> May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 36
> seconds.
> May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233).
>
>
>
>
>
>
> Also during the boot process, but earlier, is this message:
>
> (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
> 00 00 00
> (aprobe0:ata1:0:1:0): CAM status: Command timeout
> (aprobe0:ata1:0:1:0): Error 5, Retry was blocked
> run_interrupt_driven_hooks: still waiting after 60 seconds for
> xpt_config
> (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00
> 00 00 00
> (aprobe0:ata1:0:1:0): CAM status: Command timeout
> (aprobe0:ata1:0:1:0): Error 5, Retry was blocked
>
>
>
> What is that trying to tell me?  The disk appears to work fine, i.e.,
> 9.1 loads up and runs OK.  The above adds significantly to the boot
> time.  If it is just informational, is there a way to bypass it?
>
>
> Thanks.
>
>
>
>
>
> dmesg:
>
> Copyright (c) 1992-2012 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
> 1994
>   The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
> r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class
> CPU)
>   Origin = "GenuineIntel"  Id = 0xf24  Family = f  Model = 2  Stepping
> = 4
>   Features=0x3febf9ff A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  = 1073741824 (1024 MB)
> avail memory = 1031213056 (983 MB)
> kbd1 at kbdmux0
> ctl: CAM Target Layer loaded
> acpi0:  on motherboard
> acpi_ec0:  port 0x62,0x66 on acpi0
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a (3) failed
> acpi0: reservation of 10, 3ff0 (3) failed
> cpu0:  on acpi0
> attimer0:  port 0x40-0x43 irq 0 on acpi0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Event timer "i8254" frequency 1193182 Hz quality 100
> atrtc0:  port 0x70-0x71 irq 8 on acpi0
> Event timer "RTC" frequency 32768 Hz quality 0
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
> acpi_lid0:  on acpi0
> acpi_button0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> agp0:  on hostb0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> vgapci0:  port 0x3000-0x30ff mem
> 0xe800-0xefff,0xd010-0xd010 irq 11 at device 0.0 on
> pci1
> uhci0:  port
> 0x1800-0x181f irq 11 at device 29.0 on pci0
> usbus0 on uhci0
> uhci1:  port
> 0x1820-0x183f irq 11 at device 29.1 on pci0
> usbus1 on uhci1
> uhci2:  port
> 0x1840-0x185f irq 11 at device 29.2 on pci0
> usbus2 on uhci2
> pcib2:  at device 30.0 on pci0
> pci2:  on pcib2
> cbb0:  mem 0x5000-0x5fff irq 11 at
> device 0.0 on pci2
> cardbus0:  on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb1:  mem 0x5010-0x50100fff irq 11 at
> device 0.1 on pci2
> cardbus1:  on cbb1
> pccard1: <16-bit PCCard bus> on cbb1
> fwohci0:  mem 0xd0201000-0xd02017ff irq 11 at device 0.2
> on pci2
> fwohci0: OHCI version 1.0 (ROM=0)
> fwohci0: No. of Isochronous channels is 4.
> fwohci0: EUI64 00:06:1b:00:10:00:6d:38
> fwohci0: Phy 1394a available S400, 2 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0:  on fwohci0
> fwe0:  on firewire0
> if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38
> fwe0: Ethernet address: 02:06:1b:00:6d:38
> fwip0:  on firewire0
> fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe,
> S400, maxrec 2048
> dcons_crom0:  on firewire0
> dcons_crom0: bus_addr 0x14a
> fwohci0: Initiate bus reset
> fwohci0: fwohci_intr_core: BUS reset
> fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1,
> CYCLEMASTER mode
> fxp0:  port 0x8000-0x803f
> mem 0xd020-0xd0200fff irq 11 at device 8.0 on pci2
> miibus0:  on fxp0
> inphy0:  PHY 1 on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto,
> auto-flow
> fxp0: Ethernet address: 00:

x11/kdelibs4 build fails

2013-05-24 Thread Peter Ulrich Kruppa
Hi,

for some time now x11/kdelibs4 build fails with this:

---
[...]
[ 42%] Building CXX object kdoctools/CMakeFiles/meinproc4.dir/xslt_kde.o
Linking CXX executable ../bin/meinproc4
[ 42%] Built target meinproc4
Scanning dependencies of target meinproc4_simple
[ 42%] Building CXX object
kdoctools/CMakeFiles/meinproc4_simple.dir/meinproc4_simple_automoc.o
[ 42%] Building CXX object
kdoctools/CMakeFiles/meinproc4_simple.dir/meinproc_simple.o
[ 42%] Building CXX object
kdoctools/CMakeFiles/meinproc4_simple.dir/meinproc_common.o
[ 43%] Building CXX object kdoctools/CMakeFiles/meinproc4_simple.dir/xslt.o
Linking CXX executable ../bin/meinproc4_simple
[ 43%] Built target meinproc4_simple
[ 43%] Generating resourcewatcherconnectioninterface.cpp,
resourcewatcherconnectioninterface.h
[ 43%] Generating resourcewatchermanagerinterface.cpp,
resourcewatchermanagerinterface.h
[ 43%] Generating nie.h, nie.cpp
Could not find parser plugin for encoding trig
*** [nepomuk/nie.h] Error code 1
1 error
*** [nepomuk/CMakeFiles/nepomuk.dir/all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [do-build] Error code 1

Stop in /usr/ports/x11/kdelibs4.
*** [build] Error code 1

Stop in /usr/ports/x11/kdelibs4.
--


Any ideas? I'am running
FreeBSD 9.1-STABLE Wed May 22 01:20:24 CEST 2013 amd64

Thanks for your answers

Peter
___
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: ZFS install on a partition

2013-05-24 Thread Steve O'Hara-Smith
On Thu, 23 May 2013 11:00:21 +0200
Albert Shih  wrote:

> Before I'm installing my server under 9.0 + ZFS I do some benchmarks with
> ionice to compare 
> 
> FreeBSD 9.0+ ZFS + 12 disk SATA 7200 rpm vs CentOS + H700 + 12 disk
> SAS 15krpm
> 
> (Both are same Dell poweredge).
> 
> And the ZFS+12 disk sata goes much faster than CentOS+H700+ext4 almost
> everywhere. Only for small file AND small record size the ZFS is slower
> than CentOS. 

Hmm I wonder if that's mostly down to the SAS drives seeking faster
or between ZFS and ext4. The only real way to tell would be to give both
boxes the same kind of drives.

-- 
Steve O'Hara-Smith 
___
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: filesystem advice

2013-05-24 Thread krad
There isnt really a thing as better, just different. WHich is best for you
depends on your requirements and resources.

A zfs based solution would work on that system as its just serving a few
clients, and on the assumption that they arent to demanding it should run
fine. Bunging in more memory if you can will just make things better
though, just dont expect anything to amazing out of the machine. If the
data is important then all the data integrity features of zfs will be handy.

However if you need more speed ufs will be faster on that system, at the
expense of the advanced features of zfs.


Its really down to you to decide whats more important.




On 21 May 2013 22:37, Roland Smith  wrote:

> On Tue, May 21, 2013 at 06:43:25PM +0200, Pol Hallen wrote:
> > Hi all and sorry for this (newbie) question.
> >
> > I study FreeBSD (I come from linux) and I'm not sure which filesystem
> use.
> >
> > My situation: install a fileserver (samba) for 3 clients and put it as
> > gateway/server on internet (ssh, and samba to internal lan).
> >
> > I installed FreeBSD with raid 1 following this howto:
> >
> >
> http://www.ateamsystems.com/blog/Installing-FreeBSD-9-gmirror-GPT-partitions-raid-1
> >
> > everything ok!
> >
> > I see that use ufs filesystem, now:
> >
> > I'd like have less maintenance possible direclty to machine because this
> > server is far to me 50Km.
> >
> > So I can use ssh for default (and extra) maintenance.
> >
> > Which filesystem is "better"? After total crash of system (i.e.) or
> > black-out, ufs can repair it by itself? Or better use ufs+journal? or
> zfs?
>
> By default, FreeBSD 9.x uses journaled soft-updates now. This will cut down
> the filesystem check time significantly. A filesystem check will require
> manual intervention when some kinds of errors are found.
>
> ZFS likes to have a lot of memory, and preferably a 64-bit machine. See the
> tuning guide: https://wiki.freebsd.org/ZFSTuningGuide
>
> > Motherboard is atom dual core with 2Gb of ram and 2 disks with 2Gb each.
>
>
> Roland
> --
> R.F.Smith   http://rsmith.home.xs4all.nl/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>
___
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: linux_base-c6 && Skype 4.2

2013-05-24 Thread Jerry
On Thu, 23 May 2013 20:09:35 +0200
Matthias Apitz articulated:

> M$ has Linux Skype 4.2 for some Linux distributions, for example for
> F16; would it be possible to run one of these distributions on top of
> linux_base-c6? Is there any work in progress I could support?
> I have enough systems at home running some 10-CURRENT and could use
> one of them for additional tests/work

According to the web site, these are the minimum requirements for a
Linux version of Skype 4.2.0.11

Skype for Linux

1 GHz processor or faster.
256 MB RAM.
100 MB free disk space on your hard drive.
Video card driver with Xv support.
Either a built-in or external microphone is required for voice calls.
An internet connection – broadband is best (GPRS is not supported for voice 
calls).
Qt 4.7 • D-Bus 1.0.0
libasound2 1.0.18
PulseAudio 1.0 (optional)
BlueZ 4.0.0 (optional)

I saw a post, I think it was SlashDot, that the FreeBSD kernel was not
robust enough to handle Skype. You might want to talk to the
developers. You can always download a clean distribution of Skype
from the web site and experiment with it.


-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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"