Nicolas Martyanoff | 1 Nov 11:47 2008
Picon

ZFS for a desktop computer


Hi,

I'm thinking about switching my main desktop to FreeBSD for various
reasons (main one, I love it on my laptop and server), and I've been
considering using ZFS. I'd like to have a disk-modular system, ie.:

- Being able to have mirroring.
- Being able to add new disks without effort.
- Being able to add new disks AND mirroring disks (spare disks ?) at
  the same time.

I'm gonna begin with 2x 1TB disks with mirroring, and I'd like to be
able to add, if needed, new disks, for example 2x 1.5TB to get 2.5TB
diskspace fully mirrored. The whole process shouldn't need to reinstall
the system, or to change the slice/partition layout, ie. be totally
transparent for the data.
And for this particular need, ZFS seems to be the way to go.

However, I'm a bit worried about FreeBSD's ZFS implementation:

- I've got a 64bits dual core 2GHz CPU, but can't use an amd64 FreeBSD
  since Xen, NVidia drivers and wine don't work on it; but ZFS is said
  to be unsuitable for i386.

- It's said you can't boot from a ZFS pool.

So could you please tell me if using ZFS is ok for me, or should I use
a gmirror system (but I don't think I can easily add new disks to this).

(Continue reading)

Lars Engels | 1 Nov 12:37 2008
Picon

Re: ZFS for a desktop computer

On Sat, Nov 01, 2008 at 11:47:17AM +0100, Nicolas Martyanoff wrote:
> 
> Hi,
> 
> I'm thinking about switching my main desktop to FreeBSD for various
> reasons (main one, I love it on my laptop and server), and I've been
> considering using ZFS. I'd like to have a disk-modular system, ie.:
> 
> - Being able to have mirroring.
> - Being able to add new disks without effort.
> - Being able to add new disks AND mirroring disks (spare disks ?) at
>   the same time.
> 
> I'm gonna begin with 2x 1TB disks with mirroring, and I'd like to be
> able to add, if needed, new disks, for example 2x 1.5TB to get 2.5TB
> diskspace fully mirrored. The whole process shouldn't need to reinstall
> the system, or to change the slice/partition layout, ie. be totally
> transparent for the data.
> And for this particular need, ZFS seems to be the way to go.
> 
> However, I'm a bit worried about FreeBSD's ZFS implementation:
> 
> - I've got a 64bits dual core 2GHz CPU, but can't use an amd64 FreeBSD
>   since Xen, NVidia drivers and wine don't work on it; but ZFS is said
>   to be unsuitable for i386.
> 
> - It's said you can't boot from a ZFS pool.
> 
> So could you please tell me if using ZFS is ok for me, or should I use
> a gmirror system (but I don't think I can easily add new disks to this).
(Continue reading)

Miroslav Lachman | 1 Nov 12:40 2008
Picon

Re: ZFS for a desktop computer

Nicolas Martyanoff wrote:
> Hi,
> 
> I'm thinking about switching my main desktop to FreeBSD for various
> reasons (main one, I love it on my laptop and server), and I've been
> considering using ZFS. I'd like to have a disk-modular system, ie.:
> 
> - Being able to have mirroring.
> - Being able to add new disks without effort.
> - Being able to add new disks AND mirroring disks (spare disks ?) at
>   the same time.
> 
> I'm gonna begin with 2x 1TB disks with mirroring, and I'd like to be
> able to add, if needed, new disks, for example 2x 1.5TB to get 2.5TB
> diskspace fully mirrored. The whole process shouldn't need to reinstall
> the system, or to change the slice/partition layout, ie. be totally
> transparent for the data.
> And for this particular need, ZFS seems to be the way to go.
> 
> However, I'm a bit worried about FreeBSD's ZFS implementation:
> 
> - I've got a 64bits dual core 2GHz CPU, but can't use an amd64 FreeBSD
>   since Xen, NVidia drivers and wine don't work on it; but ZFS is said
>   to be unsuitable for i386.
> 
> - It's said you can't boot from a ZFS pool.
> 
> So could you please tell me if using ZFS is ok for me, or should I use
> a gmirror system (but I don't think I can easily add new disks to this).

(Continue reading)

G .Otsuji | 1 Nov 14:27 2008
Picon

Re: AMD Family 10h cpufreq driver


Thank you very much for your kindness,

and I came back again after a long time.sorry.

I've spent quite time with cpufreq and acpidump , and renewed.

Prelude:
  This is the first time of my kernel driver developping, so, i'm very
  happy with this, but some mistake would be there!

  Hardware P-state is a new power state of AMD Family 10h.
  powernow.c has also p-state. So i renamed pstate.c to hwpstate.c.

  From "acpidump -d" , my mother board has only two hw-pstate.
  It is very few for me. But my old kernel driver was dangerlous.
	So I decided to use for bios pstate. only 2 state though.
	but I think it is a compromise.
	and 1250 MHz is supported by the bios .so that's enough.

Changelog:
  1). with many verbose message without boot -v.
     you can hush up with hwpstate_verbose=0 in the source. (not sysctl, I
     don't know how to make it :-) ).
  2). renamed to hwpstate.c. because powernow.c has also a pstate.
  3). looking at the bios supported hardware P-state. So it is not dangerous ( I hope.)

How to install and more:
( 0. shell> /etc/rc.d/powerd stop )
  1. shell> patch < "[this mail]"
(Continue reading)

Alexey Dokuchaev | 1 Nov 07:19 2008
Picon

device snp build broken?

Hi there,

Looks like device snp is broken on recent -CURRENT.  Is it being
supported at all?  How useful it is in modern environment?

Thanks.  Relevant part of build log attached.

./danfe
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000
--param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
-fstack-protector -Werror  /usr/src/sys/dev/snp/snp.c
/usr/src/sys/dev/snp/snp.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snplclose'
/usr/src/sys/dev/snp/snp.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snplwrite'
/usr/src/sys/dev/snp/snp.c:55: error: variable 'snpdisc' has initializer but incomplete type
/usr/src/sys/dev/snp/snp.c:56: error: unknown field 'l_open' specified in initializer
/usr/src/sys/dev/snp/snp.c:56: error: 'tty_open' undeclared here (not in a function)
cc1: warnings being treated as errors
/usr/src/sys/dev/snp/snp.c:56: warning: excess elements in struct initializer
/usr/src/sys/dev/snp/snp.c:56: warning: (near initialization for 'snpdisc')
/usr/src/sys/dev/snp/snp.c:57: error: unknown field 'l_close' specified in initializer
/usr/src/sys/dev/snp/snp.c:57: error: 'snplclose' undeclared here (not in a function)
/usr/src/sys/dev/snp/snp.c:57: warning: excess elements in struct initializer
/usr/src/sys/dev/snp/snp.c:57: warning: (near initialization for 'snpdisc')
/usr/src/sys/dev/snp/snp.c:58: error: unknown field 'l_read' specified in initializer
(Continue reading)

Kris Kennaway | 1 Nov 20:23 2008
Picon

Re: ZFS for a desktop computer

Nicolas Martyanoff wrote:
> Hi,
> 
> I'm thinking about switching my main desktop to FreeBSD for various
> reasons (main one, I love it on my laptop and server), and I've been
> considering using ZFS. I'd like to have a disk-modular system, ie.:
> 
> - Being able to have mirroring.
> - Being able to add new disks without effort.
> - Being able to add new disks AND mirroring disks (spare disks ?) at
>   the same time.
> 
> I'm gonna begin with 2x 1TB disks with mirroring, and I'd like to be
> able to add, if needed, new disks, for example 2x 1.5TB to get 2.5TB
> diskspace fully mirrored. The whole process shouldn't need to reinstall
> the system, or to change the slice/partition layout, ie. be totally
> transparent for the data.
> And for this particular need, ZFS seems to be the way to go.
> 
> However, I'm a bit worried about FreeBSD's ZFS implementation:
> 
> - I've got a 64bits dual core 2GHz CPU, but can't use an amd64 FreeBSD
>   since Xen, NVidia drivers and wine don't work on it; but ZFS is said
>   to be unsuitable for i386.
> 
> - It's said you can't boot from a ZFS pool.
> 
> So could you please tell me if using ZFS is ok for me, or should I use
> a gmirror system (but I don't think I can easily add new disks to this).

(Continue reading)

John Nielsen | 1 Nov 20:17 2008
X-Face
Picon

Re: ZFS for a desktop computer

On Saturday 01 November 2008, Nicolas Martyanoff wrote:
> I'm thinking about switching my main desktop to FreeBSD for various
> reasons (main one, I love it on my laptop and server), and I've been
> considering using ZFS. I'd like to have a disk-modular system, ie.:
>
> - Being able to have mirroring.
> - Being able to add new disks without effort.
> - Being able to add new disks AND mirroring disks (spare disks ?) at
>   the same time.
>
> I'm gonna begin with 2x 1TB disks with mirroring, and I'd like to be
> able to add, if needed, new disks, for example 2x 1.5TB to get 2.5TB
> diskspace fully mirrored. The whole process shouldn't need to reinstall
> the system, or to change the slice/partition layout, ie. be totally
> transparent for the data.
> And for this particular need, ZFS seems to be the way to go.

I'm happily using ZFS on a 32-bit FreeBSD desktop system (that also plays a 
home server role). It should meet your disk-modularity requirements above, 
with the exception that it's not possible to add disks to a raidZ set 
(though it is possible to add additional sets to the same zpool).

> However, I'm a bit worried about FreeBSD's ZFS implementation:
>
> - I've got a 64bits dual core 2GHz CPU, but can't use an amd64 FreeBSD
>   since Xen, NVidia drivers and wine don't work on it; but ZFS is said
>   to be unsuitable for i386.

That's overstating the case. The extra memory headroom on amd64 may make 
things simpler, but it's certianly possible to run ZFS on FreeBSD i386 as 
(Continue reading)

Khusro Jaleel | 2 Nov 00:06 2008
Picon

problems with wireless using iwi drivers

Hi,

I'm new to FreeBSD-CURRENT and am having problems getting my wireless
to work on my laptop. It is an old Centrino ASUS laptop with built-in
IPW2200 wireless. I've had no problems getting wireless to work on
this for the past few years now with many flavors of linux and of
course Windows so I'm sure it should also work in FreeBSD without any
issues.

However, I'm not having much luck. I've followed the instructions in
the Handbook's Wireless page and read the iwi(4) man page and added
the following to my /boot/loader.conf:

-------------
legal.intel_iwi.license_ack=1
if_iwi_load="YES"
wlan_load="YES"
firmware_load="YES"
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
hw.psm.synaptics_support=1
--------------

When I reboot and do a "dmesg | grep iwi" I get:

----------
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xff9de000-0xff9defff irq 4
at device 2.0 on pci2
iwi0: [ITHREAD]
(Continue reading)

Jille Timmermans | 1 Nov 16:30 2008

Re: device snp build broken?

Hello,

snp(4) in -CURRENT is currently not supported.
Ed made a patch for it; which worked for me.
You can get the latest version from:

http://people.freebsd.org/~ed/mpsafetty/

(The patch-set also includes other things; like a new /dev/console)

-- Jille

Alexey Dokuchaev schreef:
> Hi there,
> 
> Looks like device snp is broken on recent -CURRENT.  Is it being
> supported at all?  How useful it is in modern environment?
> 
> Thanks.  Relevant part of build log attached.
> 
> ./danfe
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> freebsd-current <at> freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"
_______________________________________________
(Continue reading)

Julian Bolivar | 2 Nov 06:34 2008
Picon

/stand/sysinstall freezed on FreeBSD 7.1 install

Dear Friends,

I try to install FreeBSD 7.1 AMD64 beta 2 in an Intel Core 2 Duo and 
motherboard MSI 975X Platinum V.2m, but when /stand/sysinstall try to 
start from the installation CD, the system freezed and don't continue 
the install process.

Anyone know how to solved this problem to install it

Thanks and regards,

Julian Bolivar
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"


Gmane