Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?

2010-02-09 Thread O. Hartmann

On 02/08/10 22:37, Rick Macklem wrote:



On Mon, 8 Feb 2010, O. Hartmann wrote:



So I guess the above one is the more 'transparent' one with respect 
to the future, when NFSv4 gets mature and its way as matured into the 
kernel?




Yea, I'd only use mount -t newnfs if for some reason you want to 
test/use the experimental client for nfsv2,3 instead of the regular one.


I tried the above and it works. But it seems, that only UFS2 
filesystems can be mounted by the client. When trying mounting a 
filesystem residing on ZFS, it fails. Mounting works, but when try to 
access or doing a simple 'ls', I get


ls: /backup: Permission denied


On server side, /etc/exports looks like

--
V4: /   -sec=sys:krb5   #IPv4#

/backup  #IPv4#
--

Is there still an issue with ZFS?


For ZFS, everything from the root specified by the V4: line
must be exported at this time. So, if / isn't exported, the
above won't work for ZFS. You can either export / or move the
NFSv4 root down to backup. For example, you could try:

V4:/backup -sec=sys:krb5
/backup

(assuming /backup is the ZFS volume)

and then a mount like:
mount -t nfs -o nfsv4 server:/ /mnt
will mount /backup on /mnt

rick
ps: ZFS also has its own export stuff, but it is my understanding that
putting a line in /etc/exports is sufficient. I've never used ZFS,
so others will know more than I.

Well, I guess I havn't uderstood everything of NFSv4. The 'concept' of 
the 'root' is new to me, maybe there are some deeper explanation of the 
purpose? Are there supposed to be more than one 'root' enries or only one?


At this very moment mounting seems to work, but I always get a 
'permission denied' error on every ZFS exported filesystem. Doing the 
same with UFS2 filesystems, everything works as expected.


Is there a way to inspect the exports and mounts for the used 
NFS-protocol? When issuing 'mount', the 'backup' mount is repoted to be 
'newnfs', I assume this reflects NFSv4 being used, now I need to figure 
out what's going wrong with the ZFS export. NFS export of the ZFS 
filesystem is enabled, but as far as I know, this feature is not used in 
FreeBSD since ZFS in FreeBSD lacks of the capabilities of autonomously 
exporting its via NFS - well, I'm not an expert in this matter.


Thanks a lot,

Oliver
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: www/firefox: Firefox 3.6 crashes, Firefox 3.5.7 not

2010-02-09 Thread O. Hartmann

On 02/08/10 21:42, Eitan Adler wrote:

I have no idea if this is related but from pkg-message
Firefox 3.6 and HTML5

Certain functions used to display HTML5 elements need the sem module.

If your Firefox crashes with the following message while viewing a
HTML5 page:
Bad system call (core dumped)

you need to load the sem module (kldload sem).

To load sem on every boot put the following into your
/boot/loader.conf:
sem_load=YES

On Mon, Feb 8, 2010 at 9:04 PM, O. Hartmann 
ohart...@zedat.fu-berlin.de mailto:ohart...@zedat.fu-berlin.de wrote:


On 02/08/10 16:20, Gary Jennejohn wrote:

On Mon, 08 Feb 2010 13:32:25 +
O. Hartmannohart...@zedat.fu-berlin.de
mailto:ohart...@zedat.fu-berlin.de  wrote:


Today, I upgraded Firefox 3.5.7 (built yesterday) to
Firefox 3.6. After
deleting ~/.mozilla (after I did a buckup, of course), I
tried a fresh
start of 'firefox3'. After firefox showed up, I realized
that no
option-field (File, Extras etc) can be used, they are dead
and after a
few seconds I clicked them, firefox3 is crashing.

Since I recompiled firefox 3.5.7 yesterday I was wondering
if this is
due to some 'false' lib or dependency. Since I figured
that I have
similar trouble with Thunderbird 3.0.1 after I installed
it, I suspect a
faulty library causing this behaviour. With Thunderbird 3,
I never
solved the problem although I tried to rebuild everything with
thunderbird via 'portmaster -f'. I'll did this with
firefox 3.6 also,
but with no success.

The crashing is observed on two nearly identical SMP
FreeBSD 8.0/amd64
STABLE boxes (make world of today), up-to-date ports. The
crash is NOT
observed on my private oldish UP box, nearly the same
setup, OS at the
same revision and ports up to date as of yesterday. Maybe
this could be
a hint.

Any hints or suggestions?


Try doing ldd /usr/local/lib/firefox3/firefox-bin and see if
anything
looks weird.

I did - and there is nothing weird.

I checked the installed libraries and they are all rebuild when
rebuilding necessary dependencies for firefox3.


You can porbably ignore
/usr/local/lib/firefox3/firefox-bin:
libxul.so =  not found (0x0)
libmozjs.so =  not found (0x0)
libxpcom.so =  not found (0x0)
because run-mozilla.sh sets LD_LIBRARY_PATH to include
/usr/local/lib/firefox3 where these libraries are installed.

I merely deleted my old firefox 3.6 and reinstalled from the
port (on
9-CURRENT AMD64) and haven't seen any problems.  But of
course, I've
been running various incarnations of 3.6 for a while and may
have gotten
all the dependencies already correctly installed.

---
Gary Jennejohn
___
freebsd-stable@freebsd.org mailto:freebsd-stable@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to
freebsd-stable-unsubscr...@freebsd.org
mailto:freebsd-stable-unsubscr...@freebsd.org


I tried again, left the 'make config'-options as they were set by
default, delete/backuped .mozilla in my home and they restartet
firefox3. Nothing better than previously seen. Try hitting Button
'Tools' at the top menu bar gives a menu after several seconds,
then firefox crashes/core dumps.

Oliver




SysV smaphore (or sem?) are built into my kernel by default. The 
error/system message when crashing is


socket(): Protocol not supported
Illegal instruction (core dumped)

and a core is dumped.

It is funny, as long as I do not drop down any menus, this crappy 
Firefox 3.6 on my box runs for several seconds, then crahses unmotivated 
- no matter whether .mozilla has been brand new or containing the old 
stuff from 3.5.7. Whenever I drop down a menu, the dead comes fast.


Regards,
Oliver
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: www/firefox: Firefox 3.6 crashes, Firefox 3.5.7 not

2010-02-09 Thread Jeremy Chadwick
On Tue, Feb 09, 2010 at 09:41:34AM +, O. Hartmann wrote:
 On 02/08/10 21:42, Eitan Adler wrote:
 I have no idea if this is related but from pkg-message
 Firefox 3.6 and HTML5
 
 Certain functions used to display HTML5 elements need the sem module.
 
 If your Firefox crashes with the following message while viewing a
 HTML5 page:
 Bad system call (core dumped)
 
 you need to load the sem module (kldload sem).
 
 To load sem on every boot put the following into your
 /boot/loader.conf:
 sem_load=YES
 
 On Mon, Feb 8, 2010 at 9:04 PM, O. Hartmann
 ohart...@zedat.fu-berlin.de mailto:ohart...@zedat.fu-berlin.de
 wrote:
 
 On 02/08/10 16:20, Gary Jennejohn wrote:
 
 On Mon, 08 Feb 2010 13:32:25 +
 O. Hartmannohart...@zedat.fu-berlin.de
 mailto:ohart...@zedat.fu-berlin.de  wrote:
 
 
 Today, I upgraded Firefox 3.5.7 (built yesterday) to
 Firefox 3.6. After
 deleting ~/.mozilla (after I did a buckup, of course), I
 tried a fresh
 start of 'firefox3'. After firefox showed up, I realized
 that no
 option-field (File, Extras etc) can be used, they are dead
 and after a
 few seconds I clicked them, firefox3 is crashing.
 
 Since I recompiled firefox 3.5.7 yesterday I was wondering
 if this is
 due to some 'false' lib or dependency. Since I figured
 that I have
 similar trouble with Thunderbird 3.0.1 after I installed
 it, I suspect a
 faulty library causing this behaviour. With Thunderbird 3,
 I never
 solved the problem although I tried to rebuild everything with
 thunderbird via 'portmaster -f'. I'll did this with
 firefox 3.6 also,
 but with no success.
 
 The crashing is observed on two nearly identical SMP
 FreeBSD 8.0/amd64
 STABLE boxes (make world of today), up-to-date ports. The
 crash is NOT
 observed on my private oldish UP box, nearly the same
 setup, OS at the
 same revision and ports up to date as of yesterday. Maybe
 this could be
 a hint.
 
 Any hints or suggestions?
 
 
 Try doing ldd /usr/local/lib/firefox3/firefox-bin and see if
 anything
 looks weird.
 
 I did - and there is nothing weird.
 
 I checked the installed libraries and they are all rebuild when
 rebuilding necessary dependencies for firefox3.
 
 
 You can porbably ignore
 /usr/local/lib/firefox3/firefox-bin:
 libxul.so =  not found (0x0)
 libmozjs.so =  not found (0x0)
 libxpcom.so =  not found (0x0)
 because run-mozilla.sh sets LD_LIBRARY_PATH to include
 /usr/local/lib/firefox3 where these libraries are installed.
 
 I merely deleted my old firefox 3.6 and reinstalled from the
 port (on
 9-CURRENT AMD64) and haven't seen any problems.  But of
 course, I've
 been running various incarnations of 3.6 for a while and may
 have gotten
 all the dependencies already correctly installed.
 
 ---
 Gary Jennejohn
 ___
 freebsd-stable@freebsd.org mailto:freebsd-stable@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 freebsd-stable-unsubscr...@freebsd.org
 mailto:freebsd-stable-unsubscr...@freebsd.org
 
 
 I tried again, left the 'make config'-options as they were set by
 default, delete/backuped .mozilla in my home and they restartet
 firefox3. Nothing better than previously seen. Try hitting Button
 'Tools' at the top menu bar gives a menu after several seconds,
 then firefox crashes/core dumps.
 
 Oliver
 
 
 
 SysV smaphore (or sem?) are built into my kernel by default. The
 error/system message when crashing is
 
 socket(): Protocol not supported
 Illegal instruction (core dumped)
 
 and a core is dumped.

Sounds more like your system doesn't have IPv6 support enabled.  There
was a recent thread here on the lists about the latest Thunderbird doing
the same thing on a system/kernel without IPv6, and there's no way to
disable IPv6 support in the software (it's all hard-coded/no
--disable-ipv6 flag, etc.).

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to 

Re: hardware for home use large storage

2010-02-09 Thread Gerrit Kühn

CS pricey hardware raid cards for compatibility reasons.  There seem to
CS be no decent add-on SATA cards that play nice with FreeBSD other than
CS that weird supermicro card that has to be physically hacked about to
CS fit.

BTW: I recently built some more machines with this card. I can confirm now
that you can use it with standard brackets, if you have some spare. The
distance for the two holders is the same as for e.g. 3ware 95/96
controllers and I had some spares in standard height there because I use
the 3wares in low profile setups. The brackets of Intel NICs seem to fit,
too. The only thing that is different with the card now is the side on
which the components are mounted. But this should not be a problem unless
you want to place them next ti a graphics card.


cu
  Gerrit
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Matthew D. Fuller
On Tue, Feb 09, 2010 at 04:37:50PM +1030 I heard the voice of
Daniel O'Connor, and lo! it spake thus:
 
 Probably the result of idiotic penny pinching though :-/

Irritating.  One of my favorite parts of AMD's amd64 chips is that I
no longer have to spend through the nose or be a detective (or, often,
both) to get ECC.  So far, it seems like there are relatively few
hidden holes on that path, and I haven't stepped in one, but every new
one I hear about increases my terror of the day when there are more
holes than solid ground   :(


-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Gerrit Kühn
On Tue, 09 Feb 2010 17:21:32 +1100 Andrew Snow and...@modulus.org wrote
about Re: hardware for home use large storage:

AS http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H

The good thing about this board is that the pineview atoms seem to be
64bit capable, which makes them attractive for zfs. I bought a board with
VIA Nano processor for this reason last year, as I could not find a decent
hardware with 64bit capable atom.


cu
  Gerrit
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: one more load-cycle-count problem

2010-02-09 Thread perryh
Jeremy Chadwick free...@jdc.parodius.com wrote:
 The DOS utilities submit custom ATA CMDs or data to all WD disks
 to toggle or adjust these features.  If someone could figure out
 what the command(s) were, the feature(s) could be implemented into
 atacontrol(8).  Of course, that would require reverse-engineering
 of the EXEs ...

Or use of an ATA analyzer (think wireshark, but for ATA).
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ionice in FreeBSD?

2010-02-09 Thread Vincent Hoffman
On 09/02/2010 05:44, jhell wrote:

 On Mon, 8 Feb 2010 23:37, mv@ wrote:
 On 3/02/2010 10:52 PM, Jordi Espasa Clofent wrote:

 Some shell-scripts based on dd or rsync, for example. Even a daily
 antivirus (ClamAV) scanner means an extensive I/O.

 Programs like Rsync do provide --bwlimit= which work great in slowing
 it down to a desired level.

 I can't help but think every program that can use too much IO should
 have it's own IO/speed switch of some sort.
 I can only hope that in general nix evolution that all programs that
 can over use IO will offer a switch to slow it down like Rsync does.

 Using a while ionice can be a useful feature it can also be said that
 there are too many instances where it's being used as a hack to deal
 with a program that isn't offering all the functionality that it should.

 Cheers,
 Mike


 In this thread with due respect to the OP the following might be
 considered a fruitless hack but it works!.

 Piping a processes output to dd(1) if you have a choice is a pretty
 fair temporary solution if a program does not offer that capability.

 For instance, I don't know if you are familiar with dump(8) at all,
 but I use a -P or pipe from that process to dd(8) to slow down the
 traffic that it tries to write over the network for backup purposes
 and then also give dump(8) a different nice level so it plays along.

 So even if you can cat your output and then read it in from fd(4)
 using dd(8) you still have a chance at slowing things down a little or
 writing at smaller increments that wont impact your environment as hard.

Something like

Port:throttle-1.2
Path:/usr/ports/sysutils/throttle
Info:A pipe bandwidth throttling utility
Maint:po...@freebsd.org
B-deps:   
R-deps:   
WWW:http://klicman.org/throttle/

Might work too.


Vince

Vince


 ;)


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: one more load-cycle-count problem

2010-02-09 Thread Jeremy Chadwick
On Tue, Feb 09, 2010 at 02:42:10AM -0800, per...@pluto.rain.com wrote:
 Jeremy Chadwick free...@jdc.parodius.com wrote:
  The DOS utilities submit custom ATA CMDs or data to all WD disks
  to toggle or adjust these features.  If someone could figure out
  what the command(s) were, the feature(s) could be implemented into
  atacontrol(8).  Of course, that would require reverse-engineering
  of the EXEs ...
 
 Or use of an ATA analyzer (think wireshark, but for ATA).

1) ...which are guaranteed to be outrageously expensive:

- LeCroy SATAAnalyzer -- price unknown, requires you to mail company
  for quote.  LeCroy bought out Catalyst (known for their STX Series).
- SerialTek BusXpert Micro -- same situation.
- SerialTek BusXpert PRO -- same situation.
- DataTransit BusDoctor + BusDoctor Rx module -- same situation.
- Xgig Bus Doctor 1.5G/3G SATA Protocol Analyser -- same situation.
- Xgig 6G SAS/SATA Analyzer -- same situation.
- Absolute Analysis Investigator SATA Analyser -- same situation.

Usually this means the products are in the multi-thousand USD range,
if not tens of thousands.  Google Shopping turns up very few results,
including one from eBay.  I rest my case:

- DataTransit DrSATA analyser (EOL'd long ago) -- US$1,200
- LeCroy SA005APA-X analyser -- US$4,992
- SerialTek BusXpert Micro -- US$20,521
- SerialTek BusXpert PRO -- US$52,889

2) ...which would still be sufficient grounds for WD to sue (under DMCA)
whoever was responsible for the reverse-engineering efforts.

My advice would be to RE the EXE, simply because the binary requires
that the SATA controller be operating with AHCI disabled, or be in PATA
Emulation mode.  IDA Pro could probably make this task easier, but the
binary runs using a DOS extender (protected mode wrapper; think DOS4GW).
I've had WDTLER generate an exception error on first use but proceed to
work fine during subsequent uses.

Am I willing to do any of this?  Absolutely not -- DMCA violation has
serious repercussions to a person, both professionally and financially.
It's not worth the risk; God bless the United States.

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Dan Langille

Charles Sprickman wrote:

On Mon, 8 Feb 2010, Dan Langille wrote:

I'm thinking of 8x1TB (or larger) SATA drives.  I've found a case[2] 
with hot-swap bays[3], that seems interesting.  I haven't looked at 
power supplies, but given that number of drives, I expect something 
beefy with a decent reputation is called for.


For home use is the hot-swap option really needed?  


Is anything needed?

The option is cheap and convenient.  When it comes time to swap disks, 
you don't have to take the case apart, etc. Yes, it saves downtime, but 
it is also easier.


 Also, it seems like
people who use zfs (or gmirror + gstripe) generally end up buying pricey 
hardware raid cards for compatibility reasons.  There seem to be no 
decent add-on SATA cards that play nice with FreeBSD other than that 
weird supermicro card that has to be physically hacked about to fit.


They use software RAID and hardware RAID at the same time?  I'm not sure 
what you mean by this.  Compatibility with FreeBSD?

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Tom Evans
On Tue, Feb 9, 2010 at 6:15 AM, Charles Sprickman sp...@bway.net wrote:
 
 Here's the list:

 http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=8441629

 Just over $1K, and I've got 4 nice drives, ECC memory, and a server board.
 Going with the celeron saved a ton of cash with no impact on ZFS that I can
 discern, and again, going with a cheap tower case slashed the cost as well.
  That whole combo works great.  Now when I use up those 6 SATA ports, I
 don't know how to get more cheaply, but I'll worry about that later...

 Charles


As long as those SATA ports are AHCI compliant, should work quite
nicely with a SiI port multiplier. Failing that, a simple 2 port SiI
PCI-E SATA card (supported by siis(4) driver) + 2 x SiI port
multiplier would give you 10 extra SATA ports.

My SiI PCI-E card cost £15, and the PM about £50, so it is about
£13/port, or ~$20/port. Probably can get the components cheaper in the
US actually. I also found some nice simple drive racks for £20/4
drives - not completely hotswappable, but much easier to replace than
screwed into the case.

Cheers

Tom
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Andriy Gapon
on 09/02/2010 12:32 Matthew D. Fuller said the following:
 On Tue, Feb 09, 2010 at 04:37:50PM +1030 I heard the voice of
 Daniel O'Connor, and lo! it spake thus:
 Probably the result of idiotic penny pinching though :-/
 
 Irritating.  One of my favorite parts of AMD's amd64 chips is that I
 no longer have to spend through the nose or be a detective (or, often,
 both) to get ECC.  So far, it seems like there are relatively few
 hidden holes on that path, and I haven't stepped in one, but every new
 one I hear about increases my terror of the day when there are more
 holes than solid ground   :(

Yep.
For sure, Gigabyte BIOS on this board is completely missing ECC initialization
code.  I mean not only the menus in setup, but the code that does memory
controller programming.
Not sure about the physical lanes though.

-- 
Andriy Gapon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: www/firefox: Firefox 3.6 crashes, Firefox 3.5.7 not

2010-02-09 Thread Gary Jennejohn
On Tue, 09 Feb 2010 09:41:34 +
O. Hartmann ohart...@zedat.fu-berlin.de wrote:

[snip maybe too much]
 On 02/08/10 21:42, Eitan Adler wrote:
  you need to load the sem module (kldload sem).
 
 SysV smaphore (or sem?) are built into my kernel by default. The 
 error/system message when crashing is
 
 socket(): Protocol not supported
 Illegal instruction (core dumped)
 
 and a core is dumped.
 

So, have you looked at the core dump with gdb to see where it appears
to be crashing?

Could it be IPv6 related?  Do you have IPv6 in the kernel and enabled?
I do.

You could try adding these options to MOZ_OPTIONS in the Makefile
  --enable-debug[=DBG]Enable building with developer debug info
  --enable-debug-modules  Enable/disable debug info for specific modules
  --enable-debugger-info-modules
  Enable/disable debugger info for specific modules

---
Gary Jennejohn
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Karl Denninger
Jeremy Chadwick wrote:
 On Tue, Feb 09, 2010 at 05:21:32PM +1100, Andrew Snow wrote:
   
 http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H

 Supermicro just released a new Mini-ITX fanless Atom server board
 with 6xSATA ports (based on Intel ICH9) and a PCIe 16x slot.  It
 takes up to 4GB of RAM, and there's even a version with KVM-over-LAN
 for headless operation and remote management.
 

 Neat hardware.  But with regards to the KVM-over-LAN stuff: it's IPMI,
 and Supermicro has a very, *very* long history of having shoddy IPMI
 support.  I've been told the latter by too many different individuals in
 the industry (some co-workers, some work at Yahoo, some at Rackable,
 etc.) for me to rely on it.  If you *have* to go this route, make sure
 you get the IPMI module which has its own dedicated LAN port on the
 module and ***does not*** piggyback on top of an existing LAN port on
 the mainboard.
   
What's wrong with the Supermicro IPMI implementations?  I have several -
all have a SEPARATE LAN port on the main board for the IPMI KVM
(separate and distinct from the board's primary LAN ports), and I've not
had any trouble with any of them.

-- Karl
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

Re: hardware for home use large storage

2010-02-09 Thread Jeremy Chadwick
On Tue, Feb 09, 2010 at 06:53:26AM -0600, Karl Denninger wrote:
 Jeremy Chadwick wrote:
  On Tue, Feb 09, 2010 at 05:21:32PM +1100, Andrew Snow wrote:

  http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H
 
  Supermicro just released a new Mini-ITX fanless Atom server board
  with 6xSATA ports (based on Intel ICH9) and a PCIe 16x slot.  It
  takes up to 4GB of RAM, and there's even a version with KVM-over-LAN
  for headless operation and remote management.
  
 
  Neat hardware.  But with regards to the KVM-over-LAN stuff: it's IPMI,
  and Supermicro has a very, *very* long history of having shoddy IPMI
  support.  I've been told the latter by too many different individuals in
  the industry (some co-workers, some work at Yahoo, some at Rackable,
  etc.) for me to rely on it.  If you *have* to go this route, make sure
  you get the IPMI module which has its own dedicated LAN port on the
  module and ***does not*** piggyback on top of an existing LAN port on
  the mainboard.

 What's wrong with the Supermicro IPMI implementations?  I have several -
 all have a SEPARATE LAN port on the main board for the IPMI KVM
 (separate and distinct from the board's primary LAN ports), and I've not
 had any trouble with any of them.

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-01/msg01206.html
http://forums.freebsd.org/showthread.php?t=7750
http://www.beowulf.org/archive/2007-November/019925.html
http://bivald.com/lessons-learned/2009/06/supermicro_ipmi_problems_web_i.html
http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044248.html
http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044237.html

(Last thread piece does mention that the user was able to get keyboard
working by disabling umass(4) of all things)

It gets worse when you use one of the IPMI modules that piggybacks on an
existing Ethernet port -- the NIC driver for the OS, from the ground up,
has to be fully aware of ASF and any quirks/oddities involved.  For
example, on bge(4) and bce(4), you'll find this (bge mentioned below):

  hw.bge.allow_asf
Allow the ASF feature for cooperating with IPMI.  Can cause sys-
tem lockup problems on a small number of systems.  Disabled by
default.

So unless the administrator intentionally sets the loader tunable prior
to booting the OS installation, they'll find all kinds of MAC problems
as a result of the IPMI piggybacking.  Why isn't this enabled by
default?  I believe because there were reports of failures/problems on
people's systems who *did not* have IPMI cards.  Lose-lose situation.

If you really want me to dig up people at Yahoo who have dealt with IPMI
on thousands of Supermicro servers and the insanity involved (due to
bugs, quirks, or implementation differences between the IPMI firmwares
and which revision/model of module used), I can do so.  Most of the
complaints I've heard of stem from serial-over-IPMI.  I don't think
it'd be a very positive/supportive thread, however.  :-)

One similar product that does seem to work well is iLO, available on
HP/Compaq hardware.

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Dan Langille

On Tue, February 9, 2010 7:51 am, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 6:15 AM, Charles Sprickman sp...@bway.net wrote:
 
 Here's the list:

 http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=8441629

 Just over $1K, and I've got 4 nice drives, ECC memory, and a server
 board.
 Going with the celeron saved a ton of cash with no impact on ZFS that I
 can
 discern, and again, going with a cheap tower case slashed the cost as
 well.
  That whole combo works great.  Now when I use up those 6 SATA ports,
 I
 don't know how to get more cheaply, but I'll worry about that later...

 Charles


 As long as those SATA ports are AHCI compliant, should work quite
 nicely with a SiI port multiplier. Failing that, a simple 2 port SiI
 PCI-E SATA card (supported by siis(4) driver) + 2 x SiI port
 multiplier would give you 10 extra SATA ports.

 My SiI PCI-E card cost £15, and the PM about £50, so it is about
 £13/port, or ~$20/port. Probably can get the components cheaper in the
 US actually. I also found some nice simple drive racks for £20/4
 drives - not completely hotswappable, but much easier to replace than
 screwed into the case.

Now there's an idea. Drive racks?  Got a URL?


-- 
Dan Langille -- http://langille.org/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Karl Denninger
Jeremy Chadwick wrote:
 On Tue, Feb 09, 2010 at 06:53:26AM -0600, Karl Denninger wrote:
   
 Jeremy Chadwick wrote:
 
 On Tue, Feb 09, 2010 at 05:21:32PM +1100, Andrew Snow wrote:
   
   
 http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H

 Supermicro just released a new Mini-ITX fanless Atom server board
 with 6xSATA ports (based on Intel ICH9) and a PCIe 16x slot.  It
 takes up to 4GB of RAM, and there's even a version with KVM-over-LAN
 for headless operation and remote management.
 
 
 Neat hardware.  But with regards to the KVM-over-LAN stuff: it's IPMI,
 and Supermicro has a very, *very* long history of having shoddy IPMI
 support.  I've been told the latter by too many different individuals in
 the industry (some co-workers, some work at Yahoo, some at Rackable,
 etc.) for me to rely on it.  If you *have* to go this route, make sure
 you get the IPMI module which has its own dedicated LAN port on the
 module and ***does not*** piggyback on top of an existing LAN port on
 the mainboard.
   
   
 What's wrong with the Supermicro IPMI implementations?  I have several -
 all have a SEPARATE LAN port on the main board for the IPMI KVM
 (separate and distinct from the board's primary LAN ports), and I've not
 had any trouble with any of them.
 

 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-01/msg01206.html
 http://forums.freebsd.org/showthread.php?t=7750
 http://www.beowulf.org/archive/2007-November/019925.html
 http://bivald.com/lessons-learned/2009/06/supermicro_ipmi_problems_web_i.html
 http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044248.html
 http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044237.html

 (Last thread piece does mention that the user was able to get keyboard
 working by disabling umass(4) of all things)

 It gets worse when you use one of the IPMI modules that piggybacks on an
 existing Ethernet port -- the NIC driver for the OS, from the ground up,
 has to be fully aware of ASF and any quirks/oddities involved.  For
 example, on bge(4) and bce(4), you'll find this (bge mentioned below):

   hw.bge.allow_asf
 Allow the ASF feature for cooperating with IPMI.  Can cause sys-
 tem lockup problems on a small number of systems.  Disabled by
 default.

 So unless the administrator intentionally sets the loader tunable prior
 to booting the OS installation, they'll find all kinds of MAC problems
 as a result of the IPMI piggybacking.  Why isn't this enabled by
 default?  I believe because there were reports of failures/problems on
 people's systems who *did not* have IPMI cards.  Lose-lose situation.

 If you really want me to dig up people at Yahoo who have dealt with IPMI
 on thousands of Supermicro servers and the insanity involved (due to
 bugs, quirks, or implementation differences between the IPMI firmwares
 and which revision/model of module used), I can do so.  Most of the
 complaints I've heard of stem from serial-over-IPMI.  I don't think
 it'd be a very positive/supportive thread, however.  :-)

 One similar product that does seem to work well is iLO, available on
 HP/Compaq hardware.
   
I load these things over the IPKVM all the time.  I leave a DVD-ROM in
the drive when I install them and my initial load is done over the IPKVM
on the board.  It just works.

Maybe they have had trouble in the past (most of those complaints look
to be 2007/2008 issues), but the current stuff I use from them (their
dual XEON boards) haven't given me a lick of trouble.  And you can't
argue with the price of the boards I use, considering that they have
dual gigabit networking ports plus a separate IPMI LAN interface,
support ECC memory and dual Xeons.

I don't use the IPMI protocol itself but I **DO** use the remote console
and management over HTTPS.  No problems at all and FreeBSD has yet to
throw up on it in any way.

-- Karl
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

zpool vdev vs. glabel

2010-02-09 Thread Gerrit Kühn
Hi,

I have created a raidz2 with disk I labeled with glabel before. Right
after creation this pool looked fine, using devices label/tank[1-6].

I did some tests with replacing/swapping disks and so on. After doing a

zpool offline tank label/tank6
remove disk
camcontrol rescan all
insert disk
camcontrol rescan all
zpool online tank label/tank6

I got the disk back, but not under the requested label, but under the da
device name:

  pool: tank
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:56:37
2010 config:

NAME STATE READ WRITE CKSUM
tank ONLINE   0 0 0
  raidz2 ONLINE   0 0 0
label/tank1  ONLINE   0 0 0  8.50K resilvered
label/tank2  ONLINE   0 0 0  7.50K resilvered
label/tank3  ONLINE   0 0 0  8.50K resilvered
label/tank4  ONLINE   0 0 0  7.50K resilvered
label/tank5  ONLINE   0 0 0  9K resilvered
da6  ONLINE   0 0 0  13.5K resilvered

errors: No known data errors



Why does this happen? Is there any way to get zfs to use the label again?
After the device is in use, the label in /dev/label disappears. When
taking the device offline again, the label is there, but cannot be used:

pigpen# zpool offline tank da6
pigpen# zpool status
  pool: system
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are
unaffected. action: Determine if the device needs to be replaced, and
clear the errors using 'zpool clear' or replace the device with 'zpool
replace'. see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:49:14
2010 config:

NAME   STATE READ WRITE CKSUM
system ONLINE   0 0 0
  mirror   ONLINE   0 0 0
label/system1  ONLINE   3   617 0  126K resilvered
label/system2  ONLINE   0 0 0  41K resilvered

errors: No known data errors

  pool: tank
 state: DEGRADED
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are
unaffected. action: Determine if the device needs to be replaced, and
clear the errors using 'zpool clear' or replace the device with 'zpool
replace'. see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:56:37
2010 config:

NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
  raidz2 DEGRADED 0 0 0
label/tank1  ONLINE   0 0 0  8.50K resilvered
label/tank2  ONLINE   0 0 0  7.50K resilvered
label/tank3  ONLINE   0 0 0  8.50K resilvered
label/tank4  ONLINE   0 0 0  7.50K resilvered
label/tank5  ONLINE   0 0 0  9K resilvered
da6  OFFLINE  038 0  13.5K resilvered

errors: No known data errors
pigpen# ll /dev/label/
total 0
crw-r-  1 root  operator0, 104 Feb  9 14:04 lisacrypt1
crw-r-  1 root  operator0, 112 Feb  9 14:04 lisacrypt2
crw-r-  1 root  operator0, 113 Feb  9 14:04 lisacrypt3
crw-r-  1 root  operator0, 134 Feb  9 14:48 system1
crw-r-  1 root  operator0, 115 Feb  9 14:04 system2
crw-r-  1 root  operator0, 116 Feb  9 14:04 tank1
crw-r-  1 root  operator0, 117 Feb  9 14:04 tank2
crw-r-  1 root  operator0, 118 Feb  9 14:04 tank3
crw-r-  1 root  operator0, 101 Feb  9 14:04 tank4
crw-r-  1 root  operator0, 102 Feb  9 14:04 tank5
crw-r-  1 root  operator0, 103 Feb  9 15:02 tank6

pigpen# zpool online tank label/tank6
cannot online label/tank6: no such device in pool

In a different thread I found the hint to use zpool replace to get to the
usage of labels, but this seems not possible, either:

pigpen# zpool replace tank label/tank6
invalid vdev specification
use '-f' to override the following errors:
/dev/label/tank6 is part of active pool 'tank'

pigpen# zpool replace -f tank label/tank6
invalid vdev specification
the following errors must be manually repaired:
/dev/label/tank6 is part of active pool 'tank'

pigpen# zpool replace -f tank da6 label/tank6
invalid vdev specification
the following errors must be manually repaired:
/dev/label/tank6 is part of active pool 'tank'


I'm running out of ideas here...



cu
  Gerrit
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Tom Evans
On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille d...@langille.org wrote:

 On Tue, February 9, 2010 7:51 am, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 6:15 AM, Charles Sprickman sp...@bway.net wrote:
 
 Here's the list:

 http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=8441629

 Just over $1K, and I've got 4 nice drives, ECC memory, and a server
 board.
 Going with the celeron saved a ton of cash with no impact on ZFS that I
 can
 discern, and again, going with a cheap tower case slashed the cost as
 well.
  That whole combo works great.  Now when I use up those 6 SATA ports,
 I
 don't know how to get more cheaply, but I'll worry about that later...

 Charles


 As long as those SATA ports are AHCI compliant, should work quite
 nicely with a SiI port multiplier. Failing that, a simple 2 port SiI
 PCI-E SATA card (supported by siis(4) driver) + 2 x SiI port
 multiplier would give you 10 extra SATA ports.

 My SiI PCI-E card cost £15, and the PM about £50, so it is about
 £13/port, or ~$20/port. Probably can get the components cheaper in the
 US actually. I also found some nice simple drive racks for £20/4
 drives - not completely hotswappable, but much easier to replace than
 screwed into the case.

 Now there's an idea. Drive racks?  Got a URL?



These aren't the exact racks I bought, they seem to be discontinued
(glad I bought 3 at once!), slightly more expensive, but same idea:
http://www.scan.co.uk/Products/Silverstone-SST-CFP51B-Aluminum-Bay-converter-3x525-to-4x35-in-Black-with-120mm-Fan-RoHS

I got the SiI add-in card and port multiplier from the same place:
http://www.scan.co.uk/Products/Lycom-PE-103-x2-Port-SATAII-3Gbps-PCI-E-Controller-Card-with-NCQ-PC-MAC-Linux
http://www.scan.co.uk/Products/Lycom-ST-126RM-SATA-II-3Gbps-1-To-5-Port-Multiplier-bridge-board-(for-Rack-Mount)

For fixing the portmultiplier into the case, I recommend No More Nails :)

I bought one of those cases that has 5.25 bays all down the front -
10 bays on mine, 1 with a DVD recorder, 9 filled with three of those
drive racks, which gives me 12 'easily accessible' drive bays, 2
internal ones. With 6 SATA ports on the motherboard, together with the
SiI controller + one portmultiplier, I have 12 bays and 12 SATA ports
for not too much.

I currently have 6 of them filled with 1.5Tb SATA drives in a raidz
pool, and can expand the pool by adding another 6 as I run out of
space. Works very nicely for my needs :)

One thing to point out about using a PM like this: you won't get
fantastic bandwidth out of it. For my needs (home storage server),
this really doesn't matter, I just want oodles of online storage, with
redundancy and reliability.

Cheers

Tom
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Jeremy Chadwick
On Tue, Feb 09, 2010 at 08:45:12AM -0500, Dan Langille wrote:
 On Tue, February 9, 2010 7:51 am, Tom Evans wrote:
  On Tue, Feb 9, 2010 at 6:15 AM, Charles Sprickman sp...@bway.net wrote:
  
  Here's the list:
 
  http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=8441629
 
  Just over $1K, and I've got 4 nice drives, ECC memory, and a server
  board.
  Going with the celeron saved a ton of cash with no impact on ZFS that I
  can
  discern, and again, going with a cheap tower case slashed the cost as
  well.
   That whole combo works great.  Now when I use up those 6 SATA ports,
  I
  don't know how to get more cheaply, but I'll worry about that later...
 
  Charles
 
 
  As long as those SATA ports are AHCI compliant, should work quite
  nicely with a SiI port multiplier. Failing that, a simple 2 port SiI
  PCI-E SATA card (supported by siis(4) driver) + 2 x SiI port
  multiplier would give you 10 extra SATA ports.
 
  My SiI PCI-E card cost £15, and the PM about £50, so it is about
  £13/port, or ~$20/port. Probably can get the components cheaper in the
  US actually. I also found some nice simple drive racks for £20/4
  drives - not completely hotswappable, but much easier to replace than
  screwed into the case.
 
 Now there's an idea. Drive racks?  Got a URL?

http://www.supermicro.com/products/chassis/mobileRack/

I'd recommend staying away from anything with SAF-TE (for SCSI) or SES2
(for SAS or SATA) however.  At least with regards to SCSI, I've seen
quite a few of the QLogic SAF-TE chips get in the way of drive failures
and start changing SCSI IDs of all the disks (yes you read that right)
on the bus willy-nilly.

That means that basically the CSE-M34T or CSE-M35T-1 would be good
choices.  Yes they come in Black.

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool vdev vs. glabel

2010-02-09 Thread Jeremy Chadwick
On Tue, Feb 09, 2010 at 03:06:06PM +0100, Gerrit Kühn wrote:
 Hi,
 
 I have created a raidz2 with disk I labeled with glabel before. Right
 after creation this pool looked fine, using devices label/tank[1-6].
 
 I did some tests with replacing/swapping disks and so on. After doing a
 
 zpool offline tank label/tank6
 remove disk
 camcontrol rescan all
 insert disk
 camcontrol rescan all
 zpool online tank label/tank6
 
 I got the disk back, but not under the requested label, but under the da
 device name:
 
   pool: tank
  state: ONLINE
  scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:56:37
 2010 config:
 
 NAME STATE READ WRITE CKSUM
 tank ONLINE   0 0 0
   raidz2 ONLINE   0 0 0
 label/tank1  ONLINE   0 0 0  8.50K resilvered
 label/tank2  ONLINE   0 0 0  7.50K resilvered
 label/tank3  ONLINE   0 0 0  8.50K resilvered
 label/tank4  ONLINE   0 0 0  7.50K resilvered
 label/tank5  ONLINE   0 0 0  9K resilvered
 da6  ONLINE   0 0 0  13.5K resilvered
 
 errors: No known data errors
 
 
 
 Why does this happen? Is there any way to get zfs to use the label again?
 After the device is in use, the label in /dev/label disappears. When
 taking the device offline again, the label is there, but cannot be used:
 
 pigpen# zpool offline tank da6
 pigpen# zpool status
   pool: system
  state: ONLINE
 status: One or more devices has experienced an unrecoverable error.  An
 attempt was made to correct the error.  Applications are
 unaffected. action: Determine if the device needs to be replaced, and
 clear the errors using 'zpool clear' or replace the device with 'zpool
 replace'. see: http://www.sun.com/msg/ZFS-8000-9P
  scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:49:14
 2010 config:
 
 NAME   STATE READ WRITE CKSUM
 system ONLINE   0 0 0
   mirror   ONLINE   0 0 0
 label/system1  ONLINE   3   617 0  126K resilvered
 label/system2  ONLINE   0 0 0  41K resilvered
 
 errors: No known data errors
 
   pool: tank
  state: DEGRADED
 status: One or more devices has experienced an unrecoverable error.  An
 attempt was made to correct the error.  Applications are
 unaffected. action: Determine if the device needs to be replaced, and
 clear the errors using 'zpool clear' or replace the device with 'zpool
 replace'. see: http://www.sun.com/msg/ZFS-8000-9P
  scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:56:37
 2010 config:
 
 NAME STATE READ WRITE CKSUM
 tank DEGRADED 0 0 0
   raidz2 DEGRADED 0 0 0
 label/tank1  ONLINE   0 0 0  8.50K resilvered
 label/tank2  ONLINE   0 0 0  7.50K resilvered
 label/tank3  ONLINE   0 0 0  8.50K resilvered
 label/tank4  ONLINE   0 0 0  7.50K resilvered
 label/tank5  ONLINE   0 0 0  9K resilvered
 da6  OFFLINE  038 0  13.5K resilvered
 
 errors: No known data errors
 pigpen# ll /dev/label/
 total 0
 crw-r-  1 root  operator0, 104 Feb  9 14:04 lisacrypt1
 crw-r-  1 root  operator0, 112 Feb  9 14:04 lisacrypt2
 crw-r-  1 root  operator0, 113 Feb  9 14:04 lisacrypt3
 crw-r-  1 root  operator0, 134 Feb  9 14:48 system1
 crw-r-  1 root  operator0, 115 Feb  9 14:04 system2
 crw-r-  1 root  operator0, 116 Feb  9 14:04 tank1
 crw-r-  1 root  operator0, 117 Feb  9 14:04 tank2
 crw-r-  1 root  operator0, 118 Feb  9 14:04 tank3
 crw-r-  1 root  operator0, 101 Feb  9 14:04 tank4
 crw-r-  1 root  operator0, 102 Feb  9 14:04 tank5
 crw-r-  1 root  operator0, 103 Feb  9 15:02 tank6
 
 pigpen# zpool online tank label/tank6
 cannot online label/tank6: no such device in pool
 
 In a different thread I found the hint to use zpool replace to get to the
 usage of labels, but this seems not possible, either:
 
 pigpen# zpool replace tank label/tank6
 invalid vdev specification
 use '-f' to override the following errors:
 /dev/label/tank6 is part of active pool 'tank'
 
 pigpen# zpool replace -f tank label/tank6
 invalid vdev specification
 the following errors must be manually repaired:
 /dev/label/tank6 is part of active pool 'tank'
 
 pigpen# zpool replace -f tank da6 label/tank6
 invalid vdev specification
 the following errors must be manually repaired:
 /dev/label/tank6 is part of active pool 'tank'
 
 
 I'm running out of ideas here...

Would zpool export and zpool import be necessary in this case?

Also, I'm a little confused as to the use of glabel in this 

Re: hardware for home use large storage

2010-02-09 Thread Miroslav Lachman

Jeremy Chadwick wrote:

On Tue, Feb 09, 2010 at 06:53:26AM -0600, Karl Denninger wrote:


[...]


http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-01/msg01206.html
http://forums.freebsd.org/showthread.php?t=7750
http://www.beowulf.org/archive/2007-November/019925.html
http://bivald.com/lessons-learned/2009/06/supermicro_ipmi_problems_web_i.html
http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044248.html
http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044237.html

(Last thread piece does mention that the user was able to get keyboard
working by disabling umass(4) of all things)

It gets worse when you use one of the IPMI modules that piggybacks on an
existing Ethernet port -- the NIC driver for the OS, from the ground up,
has to be fully aware of ASF and any quirks/oddities involved.  For
example, on bge(4) and bce(4), you'll find this (bge mentioned below):

   hw.bge.allow_asf
 Allow the ASF feature for cooperating with IPMI.  Can cause sys-
 tem lockup problems on a small number of systems.  Disabled by
 default.

So unless the administrator intentionally sets the loader tunable prior
to booting the OS installation, they'll find all kinds of MAC problems
as a result of the IPMI piggybacking.  Why isn't this enabled by
default?  I believe because there were reports of failures/problems on
people's systems who *did not* have IPMI cards.  Lose-lose situation.

If you really want me to dig up people at Yahoo who have dealt with IPMI
on thousands of Supermicro servers and the insanity involved (due to
bugs, quirks, or implementation differences between the IPMI firmwares
and which revision/model of module used), I can do so.  Most of the
complaints I've heard of stem from serial-over-IPMI.  I don't think
it'd be a very positive/supportive thread, however.  :-)

One similar product that does seem to work well is iLO, available on
HP/Compaq hardware.


I can't agree with the last statement about HP's iLO. I have addon card 
in ML110 G5 (dedicated NIC), the card is expensive and bugs are 
amazing. The management NIC freezes once a day (or more often) with 
older firmware and must be restarted from inside the installed system by 
IPMI command on localhost. With newer firmware, the interface is 
periodicaly restarded. The virtual media doesn't work at all. It is my 
worst experience with remote management cards.
I believe that other HP servers with built-in card with different FW is 
working better, this is just my experience.


Next one is eLOM in Sun Fire X2100 (shared NIC using bge + ASF). ASF 
works without problem, but virtual media works only if you are 
connecting by IP address, not by domain name (from Windows machines) and 
there is some issue with timeouts of virtual media / console.
I reported this + 8 different bugs of web management interface to Sun 
more than year ago - none was fixed.


Next place is for IBM 3650 + RSA II card (dedicated NIC). Expensive, 
something works, somthing not. For example the card can't read CPU 
temperature, so you will not recieve any alert in case of overheating. 
(it was 2 years ago, maybe newer firmware is fixed)


Then I have one Supermicro Twin server 6016TT-TF with built-in IPMI / 
KVM with dedicated NIC port. I found one bug with fan rpm readings (half 
the number compared to BIOS numbers) and one problem with FreeBSD 7.x 
sysinstall (USB keyboard not working, but sysinstall from 8.x works 
without problem). In installed FreeBSD system keyboard and virtual media 
is working without problems.


On the top is Dell R610 DRAC (dedicated NIC) - I didn't find any bugs 
and there are a lot more features compared to concurrent products.


Miroslav Lachman
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool vdev vs. glabel

2010-02-09 Thread Gerrit Kühn
On Tue, 9 Feb 2010 06:26:58 -0800 Jeremy Chadwick
free...@jdc.parodius.com wrote about Re: zpool vdev vs. glabel:

JC  I'm running out of ideas here...

JC Would zpool export and zpool import be necessary in this case?

I tried that several times, does not change anything.

JC Also, I'm a little confused as to the use of glabel in this case.  In
JC what condition do your disk indices (e.g. X of daX) change?  Are you
JC yanking multiple disks out of a system at the same time and then
JC shoving them back into different drive bays?  

I just did not want to do hard-wiring da-devices in the kernel. I have two
lsi controllers, and they do not even come up in the same order every time
I boot (mpt0/mpt1), let alone the disks picking up the same daX every
time. I thought labeling the disks would be a good idea to prevent all
these kinds of problems.

JC Are you switching
JC between storage subsystem drivers (ahci(4) vs. ataahci(4), for
JC example) regularly?

No (not yet al least :-).

JC I've yet to be convinced glabel is worth bothering with, unless the
JC system adheres to one of the above situations (which are worthy of
JC strangulation anyway ;-) ).

I would really like to know how this happened at all... meanwhile I used a
spare disk under a different name to replace everything round-robin back
to normal.

However, I just recognized one more thing:

pigpen# zpool status tank
  pool: tank
 state: ONLINE
 scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 15:50:01
2010 config:

NAME STATE READ WRITE CKSUM
tank ONLINE   0 0 0
  raidz2 ONLINE   0 0 0
label/tank1  ONLINE   0 0 0  11K resilvered
label/tank2  ONLINE   0 0 0  10K resilvered
label/tank3  ONLINE   0 0 0  11K resilvered
label/tank4  ONLINE   0 0 0  10.5K resilvered
label/tank5  ONLINE   0 0 0  11K resilvered
label/tank6  ONLINE   0 0 0  15K resilvered

errors: No known data errors
pigpen# zpool offline tank label/tank5
pigpen# zpool status tank
  pool: tank
 state: DEGRADED
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are
unaffected. action: Determine if the device needs to be replaced, and
clear the errors using 'zpool clear' or replace the device with 'zpool
replace'. see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 15:50:01
2010 config:

NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
  raidz2 DEGRADED 0 0 0
label/tank1  ONLINE   0 0 0  11K resilvered
label/tank2  ONLINE   0 0 0  10K resilvered
label/tank3  ONLINE   0 0 0  11K resilvered
label/tank4  ONLINE   0 0 0  10.5K resilvered
label/tank5  ONLINE   0 0 0  11K resilvered
label/tank6  OFFLINE  039 0  15K resilvered

errors: No known data errors

pigpen# zpool offline tank label/tank5
cannot offline label/tank5: no valid replicas



Why can't I offline a second disk? This is a raidz2 volume, after all?!


cu
  Gerrit
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Strange symbols in man-pages

2010-02-09 Thread Ruslan Ermilov
On Sun, Jan 24, 2010 at 10:49:34AM +0300, Ruslan Mahmatkhanov wrote:
 On 24.01.2010 04:45, Jeremy Chadwick wrote:
  On Sat, Jan 23, 2010 at 11:34:14PM +0300, Ruslan Mahmatkhanov wrote:
  I'm viewing dd man-page in gnome with gnome-terminal and i see some
  strange symbols instead `-`. For example from man dd(1):
  http://www.onlinedisk.ru/get_image.php?id=327964
 
  The problem is rised only when i on ru_RU.UTF-8 locale. There is no
  problem with C-locale.
 
  Is this known problem and does anybody have a solution?
 
  Thanks in advance and keep me in Cc: please (i'm not subscribed to
  freebsd-stable@).
 
  PS. Using 8.0-STABLE.
 
  http://lists.freebsd.org/pipermail/freebsd-stable/2010-January/053804.html
 
 
 So i can avoid this by setting alias in .cshrc:
 alias man env LANG=C man
 
 Thanks.

I've fixed this recently.


-- 
Ruslan Ermilov
r...@freebsd.org
FreeBSD committer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Dan Langille

On Tue, February 9, 2010 9:09 am, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille d...@langille.org wrote:
 One thing to point out about using a PM like this: you won't get
 fantastic bandwidth out of it. For my needs (home storage server),
 this really doesn't matter, I just want oodles of online storage, with
 redundancy and reliability.


A PM?  What's that?

Yes, my priority is reliable storage.  Speed is secondary.

What bandwidth are you getting?

-- 
Dan Langille -- http://langille.org/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09.02.2010 15:37, Miroslav Lachman wrote:
*SNIP*
 
 I can't agree with the last statement about HP's iLO. I have addon card
 in ML110 G5 (dedicated NIC), the card is expensive and bugs are
 amazing. The management NIC freezes once a day (or more often) with
 older firmware and must be restarted from inside the installed system by
 IPMI command on localhost. With newer firmware, the interface is
 periodicaly restarded. The virtual media doesn't work at all. It is my
 worst experience with remote management cards.
 I believe that other HP servers with built-in card with different FW is
 working better, this is just my experience.
 
 Next one is eLOM in Sun Fire X2100 (shared NIC using bge + ASF). ASF
 works without problem, but virtual media works only if you are
 connecting by IP address, not by domain name (from Windows machines) and
 there is some issue with timeouts of virtual media / console.
 I reported this + 8 different bugs of web management interface to Sun
 more than year ago - none was fixed.
 
 Next place is for IBM 3650 + RSA II card (dedicated NIC). Expensive,
 something works, somthing not. For example the card can't read CPU
 temperature, so you will not recieve any alert in case of overheating.
 (it was 2 years ago, maybe newer firmware is fixed)
 
 Then I have one Supermicro Twin server 6016TT-TF with built-in IPMI /
 KVM with dedicated NIC port. I found one bug with fan rpm readings (half
 the number compared to BIOS numbers) and one problem with FreeBSD 7.x
 sysinstall (USB keyboard not working, but sysinstall from 8.x works
 without problem). In installed FreeBSD system keyboard and virtual media
 is working without problems.
 
 On the top is Dell R610 DRAC (dedicated NIC) - I didn't find any bugs
 and there are a lot more features compared to concurrent products.
 

I think the general consensus here is nice theory lousy
implementation, and the added migraine of no such thing as a common
standard.

Maybe creating a common standard for this could be a nice GSOC project,
to build a nice remote console based on SSH and arm/mips?

p.s. I've seen the various proprietary remote console solutions. They
didn't really impress me much, so I ended up using off-the-shelf
components for building my servers. Not necessarily cheaper, but at
least it's under _MY_ control.

//Svein

- -- 
- +---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
 If you really are in a hurry, mail me at
   svein-mob...@stillbilde.net
 This mailbox goes directly to my cellphone and is checked
even when I'm not in front of my computer.
- 
 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktxeSIACgkQODUnwSLUlKQrFgCgoWo9wjqQoQMUe2WmTm8wwB19
1QYAoKHy8i8B+sBd6eCkAN+hdfMscJW4
=gzs3
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Jeremy Chadwick
On Tue, Feb 09, 2010 at 10:01:23AM -0500, Dan Langille wrote:
 On Tue, February 9, 2010 9:09 am, Tom Evans wrote:
  On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille d...@langille.org wrote:
  One thing to point out about using a PM like this: you won't get
  fantastic bandwidth out of it. For my needs (home storage server),
  this really doesn't matter, I just want oodles of online storage, with
  redundancy and reliability.
 
 A PM?  What's that?

Port multiplier.

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Tom Evans
On Tue, Feb 9, 2010 at 3:01 PM, Dan Langille d...@langille.org wrote:

 On Tue, February 9, 2010 9:09 am, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille d...@langille.org wrote:
 One thing to point out about using a PM like this: you won't get
 fantastic bandwidth out of it. For my needs (home storage server),
 this really doesn't matter, I just want oodles of online storage, with
 redundancy and reliability.


 A PM?  What's that?

 Yes, my priority is reliable storage.  Speed is secondary.

 What bandwidth are you getting?


PM = Port Multiplier

I'm getting disk speed, as I only have one device behind the PM
currently (just making sure it works properly :). The limits are that
the link from siis to the PM is SATA (3Gb/s, 375MB/s), and the siis
sits on a PCIe 1x bus (2Gb/s, 250 MB/s), so the bandwidth from that is
shared amongst the up-to 5 disks behind the PM.

Writing from /dev/zero to the pool, I get around 120MB/s. Reading from
the pool, and writing to /dev/null, I get around 170 MB/s.

Cheers

Tom
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Peter C. Lai
On 2010-02-09 06:37:47AM -0500, Dan Langille wrote:
 Charles Sprickman wrote:
 On Mon, 8 Feb 2010, Dan Langille wrote:
  Also, it seems like
 people who use zfs (or gmirror + gstripe) generally end up buying pricey 
 hardware raid cards for compatibility reasons.  There seem to be no decent 
 add-on SATA cards that play nice with FreeBSD other than that weird 
 supermicro card that has to be physically hacked about to fit.

Mostly only because certain cards have issues w/shoddy JBOD implementation. 
Some cards (most notably ones like Adaptec 2610A which was rebranded by 
Dell as the CERC SATA 1.5/6ch back in the day) won't let you run the 
drives in passthrough mode and seem to all want to stick their grubby 
little RAID paws into your JBOD setup (i.e. the only way to have minimal
participation from the hardware RAID is to set each disk as its own 
RAID-0/volume in the controller BIOS) which then cascades into issues with 
SMART, AHCI, triple caching/write reordering, etc on the FreeBSD side (the 
controller's own craptastic cache, ZFS vdev cache, vmm/app cache, oh my!). 
So *some* people go with something tried-and-true (basically bordering on 
server-level cards that let you ditch any BIOS type of RAID config and 
present the raw disk devices to the kernel).

 
 They use software RAID and hardware RAID at the same time?  I'm not sure 
 what you mean by this.  Compatibility with FreeBSD?
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

-- 
===
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator| 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Dan Langille

On Tue, February 9, 2010 10:16 am, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 3:01 PM, Dan Langille d...@langille.org wrote:

 On Tue, February 9, 2010 9:09 am, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille d...@langille.org wrote:
 One thing to point out about using a PM like this: you won't get
 fantastic bandwidth out of it. For my needs (home storage server),
 this really doesn't matter, I just want oodles of online storage, with
 redundancy and reliability.


 A PM?  What's that?

 Yes, my priority is reliable storage.  Speed is secondary.

 What bandwidth are you getting?


 PM = Port Multiplier

 I'm getting disk speed, as I only have one device behind the PM
 currently (just making sure it works properly :). The limits are that
 the link from siis to the PM is SATA (3Gb/s, 375MB/s), and the siis
 sits on a PCIe 1x bus (2Gb/s, 250 MB/s), so the bandwidth from that is
 shared amongst the up-to 5 disks behind the PM.

 Writing from /dev/zero to the pool, I get around 120MB/s. Reading from
 the pool, and writing to /dev/null, I get around 170 MB/s.


That leads me to conclude that a number of SATA cards is better than a
port multiplier.  But the impression I'm getting is that few of these work
well with FreeBSD.  Which is odd... I thought these cards would merely
present the HDD to the hardware and no diver was required.  As opposed to
RAID cards for which OS-specific drivers are required.


-- 
Dan Langille -- http://langille.org/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: NFSv4: mount -t nsf4 not the same as mount_newnfs?

2010-02-09 Thread Rick Macklem



On Tue, 9 Feb 2010, O. Hartmann wrote:

Well, I guess I havn't uderstood everything of NFSv4. The 'concept' of the 
'root' is new to me, maybe there are some deeper explanation of the purpose? 
Are there supposed to be more than one 'root' enries or only one?




Only to specify different security flavours for different client host
IP#s. There is only one root location in the file system tree. This
was done for NFSv4 to avoid any need for the mount protocol. See below.

At this very moment mounting seems to work, but I always get a 'permission 
denied' error on every ZFS exported filesystem. Doing the same with UFS2 
filesystems, everything works as expected.




In NFSv4 mount does very little, since it does not use the mount 
protocol. It basically passes a pathname from the NFSv4 root into

the kernel for later use. (Since UFS doesn't actually check exports, the
experimental server checks them, but cheats and allows a minimal set
of NFSv4 Operations on non-exported volumes, so that this pathname can
be traversed to the exported volume.

At this time ZFS checks exports. As such everything in the tree from the
root specified by the V4: line must be exported for ZFS to work. I
believe others have gotten a ZFS export to work, but I have no experience
with it at this time.


Is there a way to inspect the exports and mounts for the used NFS-protocol?


Not that I am aware. (Excluding ZFS, which I don't know anything about, 
the /etc/exports file specifies the exports.)


When issuing 'mount', the 'backup' mount is repoted to be 'newnfs', I assume 
this reflects NFSv4 being used, now I need to figure out what's going wrong 
with the ZFS export. NFS export of the ZFS filesystem is enabled, but as far 
as I know, this feature is not used in FreeBSD since ZFS in FreeBSD lacks of 
the capabilities of autonomously exporting its via NFS - well, I'm not an 
expert in this matter.



I'm definitely not a ZFS expert either:-) I think the mount command is
showing you that the mount point was created (newnfs refers to the
experimental client), but as noted above, that doesn't indicate that
it is accessible. (If you haven't tried moving the V4: /backup ...
that moves the NFSv4 root to /backup, you should do that and see
how it goes.)

Good luck with it, rick

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Peter C. Lai
That's faster than just about anything I have at home. 
So you should be fine. It should be good enough to serve as primary media
center storage even (for retrievals, anyway, probably a tad bit slow for 
live transcoding).

Also does anybody know if benching dd if=/dev/zero onto a zfs volume that
has compression turned on might affect what dd (which is getting what it
knows from vfs/vmm) might report?

On 2010-02-09 03:16:13PM +, Tom Evans wrote:
 On Tue, Feb 9, 2010 at 3:01 PM, Dan Langille d...@langille.org wrote:
 
  On Tue, February 9, 2010 9:09 am, Tom Evans wrote:
  On Tue, Feb 9, 2010 at 1:45 PM, Dan Langille d...@langille.org wrote:
  One thing to point out about using a PM like this: you won't get
  fantastic bandwidth out of it. For my needs (home storage server),
  this really doesn't matter, I just want oodles of online storage, with
  redundancy and reliability.
 
 
  A PM?  What's that?
 
  Yes, my priority is reliable storage.  Speed is secondary.
 
  What bandwidth are you getting?
 
 
 PM = Port Multiplier
 
 I'm getting disk speed, as I only have one device behind the PM
 currently (just making sure it works properly :). The limits are that
 the link from siis to the PM is SATA (3Gb/s, 375MB/s), and the siis
 sits on a PCIe 1x bus (2Gb/s, 250 MB/s), so the bandwidth from that is
 shared amongst the up-to 5 disks behind the PM.
 
 Writing from /dev/zero to the pool, I get around 120MB/s. Reading from
 the pool, and writing to /dev/null, I get around 170 MB/s.
 
 Cheers
 
 Tom
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

-- 
===
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator| 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Boris Kochergin

Peter C. Lai wrote:

On 2010-02-09 06:37:47AM -0500, Dan Langille wrote:
  

Charles Sprickman wrote:


On Mon, 8 Feb 2010, Dan Langille wrote:
Also, it seems like
people who use zfs (or gmirror + gstripe) generally end up buying pricey 
hardware raid cards for compatibility reasons.  There seem to be no decent 
add-on SATA cards that play nice with FreeBSD other than that weird 
supermicro card that has to be physically hacked about to fit.
  


Mostly only because certain cards have issues w/shoddy JBOD implementation. 
Some cards (most notably ones like Adaptec 2610A which was rebranded by 
Dell as the CERC SATA 1.5/6ch back in the day) won't let you run the 
drives in passthrough mode and seem to all want to stick their grubby 
little RAID paws into your JBOD setup (i.e. the only way to have minimal
participation from the hardware RAID is to set each disk as its own 
RAID-0/volume in the controller BIOS) which then cascades into issues with 
SMART, AHCI, triple caching/write reordering, etc on the FreeBSD side (the 
controller's own craptastic cache, ZFS vdev cache, vmm/app cache, oh my!). 
So *some* people go with something tried-and-true (basically bordering on 
server-level cards that let you ditch any BIOS type of RAID config and 
present the raw disk devices to the kernel)
As someone else has mentioned, recent SiL stuff works well. I have 
multiple http://www.newegg.com/Product/Product.aspx?Item=N82E16816132008 
cards servicing RAID-Z2 and GEOM_RAID3 arrays on 8.0-RELEASE and 
8.0-STABLE machines using both the old ata(4) driver and ATA_CAM. Don't 
let the RAID label scare you--that stuff is off by default and the 
controller just presents the disks to the operating system. Hot swap 
works. I haven't had the time to try the siis(4) driver for them, which 
would result in better performance.


-Boris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: one more load-cycle-count problem

2010-02-09 Thread Freddie Cash
On Mon, Feb 8, 2010 at 6:01 PM, Daniel O'Connor docon...@gsoft.com.auwrote:

 On Tue, 9 Feb 2010, Freddie Cash wrote:
  I just did this to 8 of the 1.5 TB Caviar Green disks, without ZFS
  complaining in any way.
 
  I did test it on a spare drive before doing it to the 7 live drives.
  And I did replace them while the server was turned off, just to be
  safe (and to prevent a resilver from occuring).
 
  wdidle3 doesn't actually disable the idle timeout on these drives.
  Using /d just sets the timeout to 62 minutes.  Effectively the same,
  but don't be surprised when it continues to say idel 3 available and
  enabled.  :)

 /d sets it (for me) to 6300 milliseconds (6.3 seconds). I took this as a
 special value that disabled it entirely (no idea why they didn't use 0
 or 255..)

 I've seen reports of the same on various hardware forums.  Not sure if it's
due to different firmware, or different drive models.

You should still be able to list the timeout value explicitly (instead of
using /d).  According to the help output, you can use either 25.5 seconds or
3000-something seconds as the max value (depends on the drive).

-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool vdev vs. glabel

2010-02-09 Thread Freddie Cash
On Tue, Feb 9, 2010 at 6:26 AM, Jeremy Chadwick free...@jdc.parodius.comwrote:

 Also, I'm a little confused as to the use of glabel in this case.  In
 what condition do your disk indices (e.g. X of daX) change?  Are you
 yanking multiple disks out of a system at the same time and then shoving
 them back into different drive bays?  Are you switching between storage
 subsystem drivers (ahci(4) vs. ataahci(4), for example) regularly?

 I've yet to be convinced glabel is worth bothering with, unless the
 system adheres to one of the above situations (which are worthy of
 strangulation anyway ;-) ).

 Use multiple disk controllers in a server, and watch as kernel updates
and/or BIOS updates change the order that the controllers are probed, thus
changing the dev node for every disk in the system.

Use multiple disk controllers that use CAM, then move from an IDE-based
CompactFlash adapter to a SATA-based CompactFlash adapter for the /
filesystem, and watch the system renumber all your dev nodes.

Use a RAID controller configured for JBOD or Single Disk arrays, and
replace a drive while the server is running, which assigns the disk largest
da number +1, then renumbers everything when the server reboots.

After you run into those kinds of things a few times, you'll start to use
glabel(8) for everything.  Plus, it just makes things easier to understand.
 Instead of da0 through da25 which is a mix of SATA, RAID, and USB drives,
you have cfdisk0, cfdisk1, disk00 through disk24, and so on.

Personally, the greatest thing to ever happen to FreeBSD is the introduction
of GEOM, and the addition of the glabel class.  :)

While ZFS does it's own disk labelling behind the scenes, using glabel just
makes things easier.
-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Freddie Cash
On Tue, Feb 9, 2010 at 3:37 AM, Dan Langille d...@langille.org wrote:

 Charles Sprickman wrote:

 On Mon, 8 Feb 2010, Dan Langille wrote:

  Also, it seems like

 people who use zfs (or gmirror + gstripe) generally end up buying pricey
 hardware raid cards for compatibility reasons.  There seem to be no decent
 add-on SATA cards that play nice with FreeBSD other than that weird
 supermicro card that has to be physically hacked about to fit.


 They use software RAID and hardware RAID at the same time?  I'm not sure
 what you mean by this.  Compatibility with FreeBSD?

 Add-on (PCI-X/PCIe) RAID controllers tend to have solid drivers in FreeBSD.
  Add-on SATA controllers not so much.  The RAID controllers also tend to
support more SATA features like NCQ, hot-swap, monitoring, etc.  They also
enable you to use the same hardware across OSes (FreeBSD, Linux, etc).

For example, we use 3Ware controllers in all our servers, as they have good,
solid support under FreeBSD and Linux.  On the Linux servers, we use
hardware RAID.  On the FreeBSD servers, we use them as SATA controllers
(Single Disk arrays, not JBOD).  Either way, the management is the same, the
drivers are the same, the support is the same.

It's hard to find good, non-RAID, SATA controllers with solid FreeBSD
support, and good throughput, with any kind of management/monitoring
features.

-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Problem with USB wireless keyboard/mouse

2010-02-09 Thread Holger Kipp
My son bought a wireless USB deskset (keyboard and mouse) from TRUST.

Of course it does not work with freebsd 7.1 (I am currently updating
to 7-STABLE just in case). Anyway, here the problem with TRUST Wireless 
Deskset: 

Feb  8 22:00:32 TheSimpsons root: Unknown USB device: vendor 0x04fc product 
0x05d8 bus uhub3
Feb  8 22:00:37 TheSimpsons kernel: uhub3: port 2, set config at addr 2 failed
Feb  8 22:00:37 TheSimpsons kernel: uhub3: device problem (TIMEOUT), disabling 
port 2 

any ideas? There is nothing else showing up. Interestingly, the keyboard
is working within BIOS without problems. Same problem with and without ACPI
and switching on legacy mode in BIOS does not help either.

Keyboard is the german version, Item number 16595. 

If I can provide anything else, please let me know.


Best Regards,
Holger
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Recent MFC to 7 causes crash on VMware ESXi

2010-02-09 Thread John Baldwin
On Monday 08 February 2010 9:49:00 am John Baldwin wrote:
 On Saturday 06 February 2010 4:47:16 pm Tom McLaughlin wrote:
  John Baldwin wrote, On 02/05/2010 08:27 AM:
   On Thursday 04 February 2010 10:00:55 pm Tom McLaughlin wrote:
   Hi all, a recent MFC to 7-STABLE has started to cause issues for my VMs
   on VMware ESXi 3.5u4.  After loading the mpt driver for the LSI disk
   controller the VM just shuts off.  The workaround is to change the disk
   controller to the BusLogic type.  Still, it used to work up until last
   week.  The change was made around January 26th and based on the commits
   that day I'm guessing it's either r203047 or r203073
  
   I have the same issue with both amd64 and i386 VMs.  This affects HEAD
   and 8-STABLE as well and first affected HEAD over the summer.  (I just
   worked around it and went about my business at the time. :-/)  I've
   attached a dmesg from a kernel before the problem and one from after it
   started.
   
   What if you set 'hw.clfush_disable=1' from the loader?
   
  
  Yes, that corrected it on all my VMs.  I've talked to people on ESXi 4
  and they do not see the problem.  I have yet to try 3.5u5 to see if this
  is a non-issue.  3.5 will be supported for awhile longer from VMware.
  I'm going to try upgrading the box during the week.
 
 I believe folks had to do this on HEAD/8.x as well.  Perhaps we can 
 automatically disable clflush if we are executing under VMware or Xen:

Tom, were you able to verify that this patch fixes the problem for you
without requiring you to set the hw.clflush_disable tunable?

 Index: amd64/amd64/initcpu.c
 ===
 --- amd64/amd64/initcpu.c (revision 203430)
 +++ amd64/amd64/initcpu.c (working copy)
 @@ -177,17 +177,16 @@
   if ((cpu_feature  CPUID_CLFSH) != 0)
   cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
   /*
 -  * XXXKIB: (temporary) hack to work around traps generated when
 -  * CLFLUSHing APIC registers window.
 +  * XXXKIB: (temporary) hack to work around traps generated
 +  * when CLFLUSHing APIC registers window under virtualization
 +  * environments.
*/
   TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
 - if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
 - hw_clflush_disable == -1)
 + if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
   cpu_feature = ~CPUID_CLFSH;
   /*
* Allow to disable CLFLUSH feature manually by
 -  * hw.clflush_disable tunable.  This may help Xen guest on some AMD
 -  * CPUs.
 +  * hw.clflush_disable tunable.
*/
   if (hw_clflush_disable == 1)
   cpu_feature = ~CPUID_CLFSH;
 Index: i386/i386/initcpu.c
 ===
 --- i386/i386/initcpu.c   (revision 203430)
 +++ i386/i386/initcpu.c   (working copy)
 @@ -724,17 +724,16 @@
   if ((cpu_feature  CPUID_CLFSH) != 0)
   cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
   /*
 -  * XXXKIB: (temporary) hack to work around traps generated when
 -  * CLFLUSHing APIC registers window.
 +  * XXXKIB: (temporary) hack to work around traps generated
 +  * when CLFLUSHing APIC registers window under virtualization
 +  * environments.
*/
   TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
 - if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
 - hw_clflush_disable == -1)
 + if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
   cpu_feature = ~CPUID_CLFSH;
   /*
* Allow to disable CLFLUSH feature manually by
 -  * hw.clflush_disable tunable.  This may help Xen guest on some AMD
 -  * CPUs.
 +  * hw.clflush_disable tunable.
*/
   if (hw_clflush_disable == 1)
   cpu_feature = ~CPUID_CLFSH;
 
 -- 
 John Baldwin
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
 

-- 
John Baldwin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Andre Wensing



Freddie Cash wrote:

On Tue, Feb 9, 2010 at 3:37 AM, Dan Langille d...@langille.org wrote:


Charles Sprickman wrote:


On Mon, 8 Feb 2010, Dan Langille wrote:


Also, it seems like

people who use zfs (or gmirror + gstripe) generally end up buying pricey
hardware raid cards for compatibility reasons.  There seem to be no decent
add-on SATA cards that play nice with FreeBSD other than that weird
supermicro card that has to be physically hacked about to fit.


They use software RAID and hardware RAID at the same time?  I'm not sure
what you mean by this.  Compatibility with FreeBSD?

Add-on (PCI-X/PCIe) RAID controllers tend to have solid drivers in FreeBSD.

  Add-on SATA controllers not so much.  The RAID controllers also tend to
support more SATA features like NCQ, hot-swap, monitoring, etc.  They also
enable you to use the same hardware across OSes (FreeBSD, Linux, etc).

For example, we use 3Ware controllers in all our servers, as they have good,
solid support under FreeBSD and Linux.  On the Linux servers, we use
hardware RAID.  On the FreeBSD servers, we use them as SATA controllers
(Single Disk arrays, not JBOD).  Either way, the management is the same, the
drivers are the same, the support is the same.

It's hard to find good, non-RAID, SATA controllers with solid FreeBSD
support, and good throughput, with any kind of management/monitoring
features.



And I thought I found one in the Adaptec 1405 Integrated SAS/SATA 
controller, because it's marketed as an inexpensive SAS/SATA non-RAID 
addon-card. On top of that, they advertise it as having FreeBSD6 and 
FreeBSD7-support and drivers. So I ordered it for my storage-box 
(FreeNAS) with great expectations. Sadly, they don't have support nor 
drivers for FreeBSD (drivers will be released Q4 2009) at all, so I'm 
thinking of leaving FreeNAS and trying some linux-flavor that does 
support this card...

But Adaptec doesn't have a great track-record for FreeBSD-support, does it?

André Wensing
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Peter C. Lai
On 2010-02-09 07:52:05PM +0100, Andre Wensing wrote:
 
 
 Freddie Cash wrote:
 On Tue, Feb 9, 2010 at 3:37 AM, Dan Langille d...@langille.org wrote:
 
 Charles Sprickman wrote:
 
 On Mon, 8 Feb 2010, Dan Langille wrote:
 
 Also, it seems like
 people who use zfs (or gmirror + gstripe) generally end up buying pricey
 hardware raid cards for compatibility reasons.  There seem to be no decent
 add-on SATA cards that play nice with FreeBSD other than that weird
 supermicro card that has to be physically hacked about to fit.
 
 They use software RAID and hardware RAID at the same time?  I'm not sure
 what you mean by this.  Compatibility with FreeBSD?
 
 Add-on (PCI-X/PCIe) RAID controllers tend to have solid drivers in FreeBSD.
   Add-on SATA controllers not so much.  The RAID controllers also tend to
 support more SATA features like NCQ, hot-swap, monitoring, etc.  They also
 enable you to use the same hardware across OSes (FreeBSD, Linux, etc).
 
 For example, we use 3Ware controllers in all our servers, as they have good,
 solid support under FreeBSD and Linux.  On the Linux servers, we use
 hardware RAID.  On the FreeBSD servers, we use them as SATA controllers
 (Single Disk arrays, not JBOD).  Either way, the management is the same, the
 drivers are the same, the support is the same.
 
 It's hard to find good, non-RAID, SATA controllers with solid FreeBSD
 support, and good throughput, with any kind of management/monitoring
 features.
 
 
 And I thought I found one in the Adaptec 1405 Integrated SAS/SATA 
 controller, because it's marketed as an inexpensive SAS/SATA non-RAID 
 addon-card. On top of that, they advertise it as having FreeBSD6 and 
 FreeBSD7-support and drivers. So I ordered it for my storage-box (FreeNAS) 
 with great expectations. Sadly, they don't have support nor drivers for 
 FreeBSD (drivers will be released Q4 2009) at all, so I'm thinking of 
 leaving FreeNAS and trying some linux-flavor that does support this card...
 But Adaptec doesn't have a great track-record for FreeBSD-support, does it?
 

Everything is a repackage of some OEM these days (basically gone are the
days of Adaptec==LSI==mpt(4) and all). Find the actual chipset make and
 model if you can, then you can look at what is supported, as the drivers 
deal with the actual chipset and could care less about the brand of some
vertically-integrated fpga package.

Probably will want to give a shout-out on -hardware i.e.
http://markmail.org/message/b5imismi5s3iafc5#query:+page:1+mid:5htpj5fw7uijtzqp+state:results

-- 
===
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator| 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Unresponsive keyboard after a few boots

2010-02-09 Thread Chris Rees
On 8 February 2010 11:47, Jeremy Chadwick free...@jdc.parodius.com wrote:
 On Mon, Feb 08, 2010 at 02:19:06PM +0530, Rohit Grover wrote:
 I am using a very recent Freebsd 8.0 STABLE on a Macbook. I updated my
 sources and rebuilt a kernel about 3 days ago. I was able to use the
 machine fine once or twice after that. But now the keyboard has
 stopped working. The boot program is able to use the keyboard, but the
 kernel isn't, and I am unable to do anything useful with the machine
 from the login screen.

 I had rebuilt the kernel twice with slightly varying settings, so I
 don't have a copy of the previously working kernel in
 /boot/kernel.old.

 It may not be easy for me to download a ISO image. Can someone please help?

 Is the keyboard USB?


No Mac since late generation Powerbooks and iBooks has used ADB, so
yes, the Macbook
keyboard is USB.

HTH,

Chris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Matthew Dillon
The Silicon Image 3124A chipsets (the PCI-e version of the 3124.  The
original 3124 was PCI-x).  The 3124A's are starting to make their way
into distribution channels.  This is probably the best 'cheap' solution
which offers fully concurrent multi-target NCQ operation through a port
multiplier enclosure with more than the PCIe 1x bus the ultra-cheap
3132 offers.  I think the 3124A uses an 8x bus (not quite sure, but it
is more than 1x).

AHCI on-motherboard with equivalent capabilities do not appear to be
in wide distribution yet.  Most AHCI chips can do NCQ to a single
target (even a single target behind a PM), but not concurrently to
multiple targets behind a port multiplier.  Even though SATA bandwidth
constraints might seem to make this a reasonable alternative it
actually isn't because any seek heavy activity to multiple drives
will be serialized and perform EXTREMELY poorly.  Linear performance
will be fine.  Random performance will be horrible.

It should be noted that while hotswap is supported with silicon image
chipsets and port multiplier enclosures (which also use Sili chips in
the enclosure), the hot-swap capability is not anywhere near as robust
as you would find with a more costly commercial SAS setup.  SI chips
are very poorly made (this is the same company that went bust under
another name a few years back due to shoddy chipsets), and have a lot
of on-chip hardware bugs, but fortunately OSS driver writers (linux
guys) have been able to work around most of them.  So even though the
chipset is a bit shoddy actual operation is quite good.  However,
this does mean you generally want to idle all activity on the enclosure
to safely hot swap anything, not just the drive you are pulling out.
I've done a lot of testing and hot-swapping an idle disk while other
drives in the same enclosure are hot is not reliable (for a cheap port
multiplier enclosure using a Sili chip inside, which nearly all do).

Also, a disk failure within the enclosure can create major command
sequencing issues for other targets in the enclosure because error
processing has to be serialized.  Fine for home use but don't expect
miracles if you have a drive failure.

The Sili chips and port multiplier enclosures are definitely the
cheapest multi-disk solution.  You lose on aggregate bandwidth and
you lose on some robustness but you get the hot-swap basically for free.

--

Multi-HD setups for home use are usually a lose.  I've found over
the years that it is better to just buy a big whopping drive and
then another one or two for backups and not try to gang them together
in a RAID.  And yes, at one time in the past I was running three
separate RAID-5 using 3ware controllers.  I don't anymore and I'm
a lot happier.

If you have more than 2TB worth of critical data you don't have much
of a choice, but I'd go with as few physical drives as possible
regardless.  The 2TB Maxtor green or black drives are nice.  I
strongly recommend getting the highest-capacity drives you can
afford if you don't want your power bill to blow out your budget.

The bigger problem is always having an independent backup of the data.
Depending on a single-instanced filesystem, even one like ZFS, for a
lifetime's worth of data is not a good idea.  Fire, theft... there are
a lot of ways the data can be lost.  So when designing the main
system you have to take care to also design the backup regimen
including something off-site (or swapping the physical drive once
a month, etc). i.e. multiple backup regimens.

If single-drive throughput is an issue then using ZFS's caching
solution with a small SSD is the way to go (and yes, DFly has a SSD
caching solution now too but that's not pertainant to this thread).
The Intel SSDs are really nice, but I am singularly unimpressed with
the OCZ Colossus's which don't even negotiate NCQ.  I don't know much
re: other vendors.

A little $100 Intel 40G SSD has around a 40TB write endurance and can
last 10 years as a disk meta-data caching environment with a little care,
particularly if you only cache meta-data.  A very small incremental
cost gives you 120-200MB/sec of seek-agnostic bandwidth which is
perfect for network serving, backup, remote filesystems, etc.  Unless
the box has 10GigE or multiple 1xGigE network links there's no real
need to try to push HD throughput beyond what the network can do
so it really comes down to avoiding thrashing the HDs with random seeks.
That is what the small SSD cache gives you.  It can be like night and
day.

-Matt

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To 

Re: zpool vdev vs. glabel

2010-02-09 Thread Elliot Finley
I ran into this same problem.  you need to clean the beginning and end of
your disk off before glabeling and adding it to your pool.  clean with dd
if=/dev/zero...

2010/2/9 Gerrit Kühn ger...@pmp.uni-hannover.de

 Hi,

 I have created a raidz2 with disk I labeled with glabel before. Right
 after creation this pool looked fine, using devices label/tank[1-6].

 I did some tests with replacing/swapping disks and so on. After doing a

 zpool offline tank label/tank6
 remove disk
 camcontrol rescan all
 insert disk
 camcontrol rescan all
 zpool online tank label/tank6

 I got the disk back, but not under the requested label, but under the da
 device name:

  pool: tank
  state: ONLINE
  scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:56:37
 2010 config:

NAME STATE READ WRITE CKSUM
tank ONLINE   0 0 0
  raidz2 ONLINE   0 0 0
label/tank1  ONLINE   0 0 0  8.50K resilvered
label/tank2  ONLINE   0 0 0  7.50K resilvered
label/tank3  ONLINE   0 0 0  8.50K resilvered
label/tank4  ONLINE   0 0 0  7.50K resilvered
label/tank5  ONLINE   0 0 0  9K resilvered
da6  ONLINE   0 0 0  13.5K resilvered

 errors: No known data errors



 Why does this happen? Is there any way to get zfs to use the label again?
 After the device is in use, the label in /dev/label disappears. When
 taking the device offline again, the label is there, but cannot be used:

 pigpen# zpool offline tank da6
 pigpen# zpool status
  pool: system
  state: ONLINE
 status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are
 unaffected. action: Determine if the device needs to be replaced, and
 clear the errors using 'zpool clear' or replace the device with 'zpool
 replace'. see: http://www.sun.com/msg/ZFS-8000-9P
  scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:49:14
 2010 config:

NAME   STATE READ WRITE CKSUM
system ONLINE   0 0 0
  mirror   ONLINE   0 0 0
label/system1  ONLINE   3   617 0  126K resilvered
label/system2  ONLINE   0 0 0  41K resilvered

 errors: No known data errors

  pool: tank
  state: DEGRADED
 status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are
 unaffected. action: Determine if the device needs to be replaced, and
 clear the errors using 'zpool clear' or replace the device with 'zpool
 replace'. see: http://www.sun.com/msg/ZFS-8000-9P
  scrub: resilver completed after 0h0m with 0 errors on Tue Feb  9 14:56:37
 2010 config:

NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
  raidz2 DEGRADED 0 0 0
label/tank1  ONLINE   0 0 0  8.50K resilvered
label/tank2  ONLINE   0 0 0  7.50K resilvered
label/tank3  ONLINE   0 0 0  8.50K resilvered
label/tank4  ONLINE   0 0 0  7.50K resilvered
label/tank5  ONLINE   0 0 0  9K resilvered
da6  OFFLINE  038 0  13.5K resilvered

 errors: No known data errors
 pigpen# ll /dev/label/
 total 0
 crw-r-  1 root  operator0, 104 Feb  9 14:04 lisacrypt1
 crw-r-  1 root  operator0, 112 Feb  9 14:04 lisacrypt2
 crw-r-  1 root  operator0, 113 Feb  9 14:04 lisacrypt3
 crw-r-  1 root  operator0, 134 Feb  9 14:48 system1
 crw-r-  1 root  operator0, 115 Feb  9 14:04 system2
 crw-r-  1 root  operator0, 116 Feb  9 14:04 tank1
 crw-r-  1 root  operator0, 117 Feb  9 14:04 tank2
 crw-r-  1 root  operator0, 118 Feb  9 14:04 tank3
 crw-r-  1 root  operator0, 101 Feb  9 14:04 tank4
 crw-r-  1 root  operator0, 102 Feb  9 14:04 tank5
 crw-r-  1 root  operator0, 103 Feb  9 15:02 tank6

 pigpen# zpool online tank label/tank6
 cannot online label/tank6: no such device in pool

 In a different thread I found the hint to use zpool replace to get to the
 usage of labels, but this seems not possible, either:

 pigpen# zpool replace tank label/tank6
 invalid vdev specification
 use '-f' to override the following errors:
 /dev/label/tank6 is part of active pool 'tank'

 pigpen# zpool replace -f tank label/tank6
 invalid vdev specification
 the following errors must be manually repaired:
 /dev/label/tank6 is part of active pool 'tank'

 pigpen# zpool replace -f tank da6 label/tank6
 invalid vdev specification
 the following errors must be manually repaired:
 /dev/label/tank6 is part of active pool 'tank'


 I'm running out of ideas here...



 cu
   Gerrit
 

Re: 8-STABLE outgoing scp stalling frequently.

2010-02-09 Thread Olivier Cochard-Labbé
On Tue, Feb 2, 2010 at 8:36 PM, Jonathan Chen j...@chen.org.nz wrote:
 Hi,

 I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
 stalling very frequently.

I've got the same problem since I've upgraded from 7.2 to 8-stable (32bit).

My NIC is a vge(4), with txsum and rxsum disabled.
dmesg:
vge0: VIA Networking Gigabit Ethernet port 0xfc00-0xfcff mem
0xfdfff000-0xfdfff0ff irq 18 at device 14.0 on pci0

I can't SCP big file too because my transferts stall and abord.

Regards,

Olivier
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zpool vdev vs. glabel

2010-02-09 Thread Ronald Klop

On Tue, 09 Feb 2010 18:10:21 +0100, Freddie Cash fjwc...@gmail.com wrote:

On Tue, Feb 9, 2010 at 6:26 AM, Jeremy Chadwick  
free...@jdc.parodius.comwrote:



Also, I'm a little confused as to the use of glabel in this case.  In
what condition do your disk indices (e.g. X of daX) change?  Are you
yanking multiple disks out of a system at the same time and then shoving
them back into different drive bays?  Are you switching between storage
subsystem drivers (ahci(4) vs. ataahci(4), for example) regularly?

I've yet to be convinced glabel is worth bothering with, unless the
system adheres to one of the above situations (which are worthy of
strangulation anyway ;-) ).

Use multiple disk controllers in a server, and watch as kernel updates
and/or BIOS updates change the order that the controllers are probed,  
thus

changing the dev node for every disk in the system.

Use multiple disk controllers that use CAM, then move from an IDE-based
CompactFlash adapter to a SATA-based CompactFlash adapter for the /
filesystem, and watch the system renumber all your dev nodes.

Use a RAID controller configured for JBOD or Single Disk arrays, and
replace a drive while the server is running, which assigns the disk  
largest

da number +1, then renumbers everything when the server reboots.

After you run into those kinds of things a few times, you'll start to use
glabel(8) for everything.  Plus, it just makes things easier to  
understand.
 Instead of da0 through da25 which is a mix of SATA, RAID, and USB  
drives,

you have cfdisk0, cfdisk1, disk00 through disk24, and so on.

Personally, the greatest thing to ever happen to FreeBSD is the  
introduction

of GEOM, and the addition of the glabel class.  :)


Yeah. GEOM is very very very nice. It is a very elegant solution to a lot  
of problems. I always wonder why other OS'es didn't pick it up.


Ronald.


While ZFS does it's own disk labelling behind the scenes, using glabel  
just

makes things easier.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 8.0 i386 unable to boot...

2010-02-09 Thread Pierre-Luc Drouin

Daniel O'Connor wrote:

On Tue, 9 Feb 2010, Pierre-Luc Drouin wrote:
  

After doing some more research, it seems that I am having the same
problem than described by this person:
http://forums.freebsd.org/showthread.php?t=4502



So you get the same file system full message and then a panic about 
init?
  

yes exactly. I currently have 4 20GB partitions/slices on that drive
1: Win XP fat32
2: Old FreeBSD installation
3: FAT32
4: Empty UFS2
  

however I really don't understand why I would need to move partitions
around to allow the installer to even start? This machine has 2GB of
RAM which I guess should be plenty enough to start the installer
without swapping... The hard drive is a 80GB WD IDE drive. The
machine is not configured to use any RAID.



It is pretty odd, I've installed FreeBSD on a laptop with 60Gb 
partitions and FreeBSD was last yet it worked fine..


  
This is the first time I see that kind of warning as well although I 
have been using it for about 10 years...

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 8.0 i386 unable to boot...

2010-02-09 Thread Pierre-Luc Drouin

Chuck Swiger wrote:

Hi--

On Feb 8, 2010, at 6:01 PM, Pierre-Luc Drouin wrote:
  

Going nowhere without my init cpuid = 1

Does anyone know what can be causing this and how to solve it?



I don't suppose you built a custom kernel without the COMPAT_FREEBSD7 option?  
You need it until you get a new R8 userland and all ports recompiled...

  
No I am using an official image of FreeBSD 8: 
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.0/8.0-RELEASE-i386-disc1.iso

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-09 Thread Pyun YongHyeon
On Tue, Feb 09, 2010 at 09:31:54PM +0100, Olivier Cochard-Labb? wrote:
 On Tue, Feb 2, 2010 at 8:36 PM, Jonathan Chen j...@chen.org.nz wrote:
  Hi,
 
  I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
  stalling very frequently.
 
 I've got the same problem since I've upgraded from 7.2 to 8-stable (32bit).
 
 My NIC is a vge(4), with txsum and rxsum disabled.
 dmesg:
 vge0: VIA Networking Gigabit Ethernet port 0xfc00-0xfcff mem
 0xfdfff000-0xfdfff0ff irq 18 at device 14.0 on pci0
 
 I can't SCP big file too because my transferts stall and abord.
 

I guess I fixed all known vge(4) issues, how recent stable/8 you
use?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Christian Weisgerber
Matthew D. Fuller fulle...@over-yonder.net wrote:

  I have something similar (5x1Tb) - I have a Gigabyte GA-MA785GM-US2H
  with an Athlon X2 and 4Gb of RAM (only half filled - 2x2Gb)
 
  Note that it doesn't support ECC, I don't know if that is a problem.
 
 How's that?  Is the BIOS just stupid, or is the board physically
 missing traces?

Doesn't matter really, does it?

I have a GA-MA78G-DS3H.  According to the specs, it supports ECC
memory.  And that is all the mention of ECC you will find anywhere.
There is nothing in the BIOS.  My best guess is that they quite
literally mean that you can plug ECC memory into the board and it
will work, but that there are no provisions to actually use ECC.

That said, I also have an Asus M2N-SLI Deluxe.  If I enable ECC in
the BIOS, the board locks up sooner or later, even when just sitting
in the BIOS.  memtest86 dies a screaming death immediately.  When
I disable ECC, the board is solid, both in actual use and with
memtest.

I thought if I built a PC from components, I'd be already a step
above the lowest dregs of the consumer market, but apparently not.

-- 
Christian naddy Weisgerber  na...@mips.inka.de

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Recent MFC to 7 causes crash on VMware ESXi

2010-02-09 Thread Tom McLaughlin
John Baldwin wrote, On 02/09/2010 01:52 PM:
 On Monday 08 February 2010 9:49:00 am John Baldwin wrote:
 On Saturday 06 February 2010 4:47:16 pm Tom McLaughlin wrote:
 John Baldwin wrote, On 02/05/2010 08:27 AM:
 On Thursday 04 February 2010 10:00:55 pm Tom McLaughlin wrote:
 Hi all, a recent MFC to 7-STABLE has started to cause issues for my VMs
 on VMware ESXi 3.5u4.  After loading the mpt driver for the LSI disk
 controller the VM just shuts off.  The workaround is to change the disk
 controller to the BusLogic type.  Still, it used to work up until last
 week.  The change was made around January 26th and based on the commits
 that day I'm guessing it's either r203047 or r203073

 I have the same issue with both amd64 and i386 VMs.  This affects HEAD
 and 8-STABLE as well and first affected HEAD over the summer.  (I just
 worked around it and went about my business at the time. :-/)  I've
 attached a dmesg from a kernel before the problem and one from after it
 started.

 What if you set 'hw.clfush_disable=1' from the loader?


 Yes, that corrected it on all my VMs.  I've talked to people on ESXi 4
 and they do not see the problem.  I have yet to try 3.5u5 to see if this
 is a non-issue.  3.5 will be supported for awhile longer from VMware.
 I'm going to try upgrading the box during the week.

 I believe folks had to do this on HEAD/8.x as well.  Perhaps we can 
 automatically disable clflush if we are executing under VMware or Xen:
 
 Tom, were you able to verify that this patch fixes the problem for you
 without requiring you to set the hw.clflush_disable tunable?
 

John, I'm getting the following build error on all branches:

/usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpucache':
/usr/src/sys/amd64/amd64/initcpu.c:184: error: 'vm_guest' undeclared
(first use in this function)
/usr/src/sys/amd64/amd64/initcpu.c:184: error: (Each undeclared
identifier is reported only once
/usr/src/sys/amd64/amd64/initcpu.c:184: error: for each function it
appears in.)
*** Error code 1


tom

 Index: amd64/amd64/initcpu.c
 ===
 --- amd64/amd64/initcpu.c(revision 203430)
 +++ amd64/amd64/initcpu.c(working copy)
 @@ -177,17 +177,16 @@
  if ((cpu_feature  CPUID_CLFSH) != 0)
  cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
  /*
 - * XXXKIB: (temporary) hack to work around traps generated when
 - * CLFLUSHing APIC registers window.
 + * XXXKIB: (temporary) hack to work around traps generated
 + * when CLFLUSHing APIC registers window under virtualization
 + * environments.
   */
  TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
 -if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
 -hw_clflush_disable == -1)
 +if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
  cpu_feature = ~CPUID_CLFSH;
  /*
   * Allow to disable CLFLUSH feature manually by
 - * hw.clflush_disable tunable.  This may help Xen guest on some AMD
 - * CPUs.
 + * hw.clflush_disable tunable.
   */
  if (hw_clflush_disable == 1)
  cpu_feature = ~CPUID_CLFSH;
 Index: i386/i386/initcpu.c
 ===
 --- i386/i386/initcpu.c  (revision 203430)
 +++ i386/i386/initcpu.c  (working copy)
 @@ -724,17 +724,16 @@
  if ((cpu_feature  CPUID_CLFSH) != 0)
  cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
  /*
 - * XXXKIB: (temporary) hack to work around traps generated when
 - * CLFLUSHing APIC registers window.
 + * XXXKIB: (temporary) hack to work around traps generated
 + * when CLFLUSHing APIC registers window under virtualization
 + * environments.
   */
  TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
 -if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
 -hw_clflush_disable == -1)
 +if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
  cpu_feature = ~CPUID_CLFSH;
  /*
   * Allow to disable CLFLUSH feature manually by
 - * hw.clflush_disable tunable.  This may help Xen guest on some AMD
 - * CPUs.
 + * hw.clflush_disable tunable.
   */
  if (hw_clflush_disable == 1)
  cpu_feature = ~CPUID_CLFSH;

 -- 
 John Baldwin
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

 


-- 
| tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org |
| FreeBSD   http://www.FreeBSD.org |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Charles Sprickman

On Tue, 9 Feb 2010, Dan Langille wrote:


Charles Sprickman wrote:

On Mon, 8 Feb 2010, Dan Langille wrote:

Also, it seems like
people who use zfs (or gmirror + gstripe) generally end up buying pricey 
hardware raid cards for compatibility reasons.  There seem to be no decent 
add-on SATA cards that play nice with FreeBSD other than that weird 
supermicro card that has to be physically hacked about to fit.


They use software RAID and hardware RAID at the same time?  I'm not sure what 
you mean by this.  Compatibility with FreeBSD?


From what I've seen on this list, people buy a nice Areca or 3Ware card 
and put it in JBOD mode and run ZFS on top of the drives.  The card is 
just being used to get lots of sata ports with a stable driver and known 
good hardware.  I've asked here a few times in the last few years for 
recommendations on a cheap SATA card and it seems like such a thing does 
not exist.  This might be a bit dated at this point, but you're playing it 
safe if you go with a 3ware/Areca/LSI card.


I don't recall all the details, but there were issues with siil, 
highpoint, etc.  IIRC it was not really FBSD's issue, but bugginess in 
those cards.  The intel ICH9 chipset works well, but there are no add-on 
PCIe cards that have an intel chip on them...


I'm sure someone will correct me if my info is now outdated or flat-out 
wrong. :)


Charles

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Recent MFC to 7 causes crash on VMware ESXi

2010-02-09 Thread John Baldwin
On Tuesday 09 February 2010 5:17:32 pm Tom McLaughlin wrote:
 John Baldwin wrote, On 02/09/2010 01:52 PM:
  On Monday 08 February 2010 9:49:00 am John Baldwin wrote:
  On Saturday 06 February 2010 4:47:16 pm Tom McLaughlin wrote:
  John Baldwin wrote, On 02/05/2010 08:27 AM:
  On Thursday 04 February 2010 10:00:55 pm Tom McLaughlin wrote:
  Hi all, a recent MFC to 7-STABLE has started to cause issues for my 
VMs
  on VMware ESXi 3.5u4.  After loading the mpt driver for the LSI disk
  controller the VM just shuts off.  The workaround is to change the 
disk
  controller to the BusLogic type.  Still, it used to work up until last
  week.  The change was made around January 26th and based on the 
commits
  that day I'm guessing it's either r203047 or r203073
 
  I have the same issue with both amd64 and i386 VMs.  This affects HEAD
  and 8-STABLE as well and first affected HEAD over the summer.  (I just
  worked around it and went about my business at the time. :-/)  I've
  attached a dmesg from a kernel before the problem and one from after 
it
  started.
 
  What if you set 'hw.clfush_disable=1' from the loader?
 
 
  Yes, that corrected it on all my VMs.  I've talked to people on ESXi 4
  and they do not see the problem.  I have yet to try 3.5u5 to see if this
  is a non-issue.  3.5 will be supported for awhile longer from VMware.
  I'm going to try upgrading the box during the week.
 
  I believe folks had to do this on HEAD/8.x as well.  Perhaps we can 
  automatically disable clflush if we are executing under VMware or Xen:
  
  Tom, were you able to verify that this patch fixes the problem for you
  without requiring you to set the hw.clflush_disable tunable?
  
 
 John, I'm getting the following build error on all branches:
 
 /usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpucache':
 /usr/src/sys/amd64/amd64/initcpu.c:184: error: 'vm_guest' undeclared
 (first use in this function)
 /usr/src/sys/amd64/amd64/initcpu.c:184: error: (Each undeclared
 identifier is reported only once
 /usr/src/sys/amd64/amd64/initcpu.c:184: error: for each function it
 appears in.)

Oh foo.  Can you add 'extern int vm_guest;' to that file near the top?

 *** Error code 1
 
 
 tom
 
  Index: amd64/amd64/initcpu.c
  ===
  --- amd64/amd64/initcpu.c  (revision 203430)
  +++ amd64/amd64/initcpu.c  (working copy)
  @@ -177,17 +177,16 @@
 if ((cpu_feature  CPUID_CLFSH) != 0)
 cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
 /*
  -   * XXXKIB: (temporary) hack to work around traps generated when
  -   * CLFLUSHing APIC registers window.
  +   * XXXKIB: (temporary) hack to work around traps generated
  +   * when CLFLUSHing APIC registers window under virtualization
  +   * environments.
  */
 TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
  -  if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
  -  hw_clflush_disable == -1)
  +  if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
 cpu_feature = ~CPUID_CLFSH;
 /*
  * Allow to disable CLFLUSH feature manually by
  -   * hw.clflush_disable tunable.  This may help Xen guest on some AMD
  -   * CPUs.
  +   * hw.clflush_disable tunable.
  */
 if (hw_clflush_disable == 1)
 cpu_feature = ~CPUID_CLFSH;
  Index: i386/i386/initcpu.c
  ===
  --- i386/i386/initcpu.c(revision 203430)
  +++ i386/i386/initcpu.c(working copy)
  @@ -724,17 +724,16 @@
 if ((cpu_feature  CPUID_CLFSH) != 0)
 cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
 /*
  -   * XXXKIB: (temporary) hack to work around traps generated when
  -   * CLFLUSHing APIC registers window.
  +   * XXXKIB: (temporary) hack to work around traps generated
  +   * when CLFLUSHing APIC registers window under virtualization
  +   * environments.
  */
 TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
  -  if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
  -  hw_clflush_disable == -1)
  +  if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
 cpu_feature = ~CPUID_CLFSH;
 /*
  * Allow to disable CLFLUSH feature manually by
  -   * hw.clflush_disable tunable.  This may help Xen guest on some AMD
  -   * CPUs.
  +   * hw.clflush_disable tunable.
  */
 if (hw_clflush_disable == 1)
 cpu_feature = ~CPUID_CLFSH;
 
  -- 
  John Baldwin
  ___
  freebsd-stable@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
 
  
 
 
 -- 
 | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org |
 | FreeBSD   http://www.FreeBSD.org |
 
 

-- 
John Baldwin
___

Re: hardware for home use large storage

2010-02-09 Thread Charles Sprickman

On Tue, 9 Feb 2010, Jeremy Chadwick wrote:


On Tue, Feb 09, 2010 at 06:53:26AM -0600, Karl Denninger wrote:

Jeremy Chadwick wrote:

On Tue, Feb 09, 2010 at 05:21:32PM +1100, Andrew Snow wrote:


http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H

Supermicro just released a new Mini-ITX fanless Atom server board
with 6xSATA ports (based on Intel ICH9) and a PCIe 16x slot.  It
takes up to 4GB of RAM, and there's even a version with KVM-over-LAN
for headless operation and remote management.



Neat hardware.  But with regards to the KVM-over-LAN stuff: it's IPMI,
and Supermicro has a very, *very* long history of having shoddy IPMI
support.  I've been told the latter by too many different individuals in
the industry (some co-workers, some work at Yahoo, some at Rackable,
etc.) for me to rely on it.  If you *have* to go this route, make sure
you get the IPMI module which has its own dedicated LAN port on the
module and ***does not*** piggyback on top of an existing LAN port on
the mainboard.


What's wrong with the Supermicro IPMI implementations?  I have several -
all have a SEPARATE LAN port on the main board for the IPMI KVM
(separate and distinct from the board's primary LAN ports), and I've not
had any trouble with any of them.


http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-01/msg01206.html
http://forums.freebsd.org/showthread.php?t=7750
http://www.beowulf.org/archive/2007-November/019925.html
http://bivald.com/lessons-learned/2009/06/supermicro_ipmi_problems_web_i.html
http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044248.html
http://lists.freebsd.org/pipermail/freebsd-stable/2008-August/044237.html

(Last thread piece does mention that the user was able to get keyboard
working by disabling umass(4) of all things)


I have a box down at Softlayer (one of the few major server rental outfits 
that officially supports FreeBSD), and one of the reasons I went with them 
is that they advertised IP-KVM support.  Turns out they run Supermicro 
boxes with the IPMI card.  It mostly works, but it is very quirky and you 
have to use a very wonky Java client app to get the remote console.  You 
have to build a kernel that omits certain USB devices to make the keyboard 
work over the KVM connection (and their stock FBSD install has it 
disabled).


I can usually get in, but sometimes I have to open a ticket with them and 
a tech does some kind of reset on the card.  I don't know if they a 
hitting a button on the card/chassis or if they have some way to do this 
remotely.  After they do that, I'll see something like this in dmesg:


umass0: Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2 on 
uhub4
ums0: Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2 on 
uhub4

ums0: 3 buttons and Z dir.
ukbd0: Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2 on 
uhub4

kbd2 at ukbd0

The umass device is to support the virtual media feature that simply 
does not work.  It's supposed to allow you to point the ipmi card at an 
iso or disk image on an SMB server and boot your server off of it.  I had 
no luck with this.


All the IPMI power on/off, reset, and hw monitoring functions do work well 
though.



It gets worse when you use one of the IPMI modules that piggybacks on an
existing Ethernet port -- the NIC driver for the OS, from the ground up,
has to be fully aware of ASF and any quirks/oddities involved.  For
example, on bge(4) and bce(4), you'll find this (bge mentioned below):

 hw.bge.allow_asf
   Allow the ASF feature for cooperating with IPMI.  Can cause sys-
   tem lockup problems on a small number of systems.  Disabled by
   default.

So unless the administrator intentionally sets the loader tunable prior
to booting the OS installation, they'll find all kinds of MAC problems
as a result of the IPMI piggybacking.  Why isn't this enabled by
default?  I believe because there were reports of failures/problems on
people's systems who *did not* have IPMI cards.  Lose-lose situation.


I don't think they have this setup, or if they do, they are using it on 
the internal LAN, so I don't notice any weirdness.



If you really want me to dig up people at Yahoo who have dealt with IPMI
on thousands of Supermicro servers and the insanity involved (due to
bugs, quirks, or implementation differences between the IPMI firmwares
and which revision/model of module used), I can do so.  Most of the
complaints I've heard of stem from serial-over-IPMI.  I don't think
it'd be a very positive/supportive thread, however.  :-)

One similar product that does seem to work well is iLO, available on
HP/Compaq hardware.


I've heard great things about that.  It seems like a much better design - 
it's essentially a small server that is independent from the main host. 
Has it's own LAN and serial ports as well.


Charles


--
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   

7.3-P r203700: what can I do about psm0: the aux device is gone!

2010-02-09 Thread David Wolfskill
I normally run X11 (via xdm) on my laptop.

Today, running FreeBSD 7.3-PRERELEASE as of r203700, the mouse stopped
moving.

Logging in from a pty  checking the last bit of /var/log/messages
showed:

Feb  9 14:30:27 localhost kernel: kbdc: TEST_AUX_PORT status:
Feb  9 14:30:27 localhost kernel: kbdc: RESET_AUX return code:00fa
Feb  9 14:30:27 localhost kernel: kbdc: RESET_AUX status:
Feb  9 14:30:27 localhost kernel: kbdc: DIAGNOSE status:0055
Feb  9 14:30:27 localhost kernel: kbdc: TEST_KBD_PORT status:
Feb  9 14:30:27 localhost kernel: psm0: failed to reset the aux device.
Feb  9 14:30:27 localhost kernel: psm0: the aux device has gone! (reinitialize).


uname output:

FreeBSD localhost 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #56 r203700: Tue Feb  9 
05:31:36 PST 2010 
r...@g1-136.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY  i386

So far, the least disruptive form of evasive action I've found is a
reboot, which is quite a bit more disruptive than I'd prefer.

Help?

Thanks!

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpCZIaDj5juP.pgp
Description: PGP signature


Re: hardware for home use large storage

2010-02-09 Thread Peter C. Lai
On 2010-02-09 05:32:02PM -0500, Charles Sprickman wrote:
 On Tue, 9 Feb 2010, Jeremy Chadwick wrote:
 One similar product that does seem to work well is iLO, available on
 HP/Compaq hardware.
 
 I've heard great things about that.  It seems like a much better design - 
 it's essentially a small server that is independent from the main host. Has 
 it's own LAN and serial ports as well.
 
 Charles

Dell PowerEdge Remote Access (DRAC) cards also provided this as well,
and for a while there, you could actually VNC into them. But HP offers iLO
for no extra charge or discount upon removal (DRACs are worth about $250) 
and has become such a prominent must-have datacenter feature that the 
iLO term is beginning to become genericized for web-accessible and virtual 
disc-capable onboard out-of-band IP-console management.

-- 
===
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator| 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: www/firefox: Firefox 3.6 crashes, Firefox 3.5.7 not

2010-02-09 Thread O. Hartmann

On 02/09/10 13:54, Gary Jennejohn wrote:

On Tue, 09 Feb 2010 09:41:34 +
O. Hartmannohart...@zedat.fu-berlin.de  wrote:

[snip maybe too much]

On 02/08/10 21:42, Eitan Adler wrote:

you need to load the sem module (kldload sem).


SysV smaphore (or sem?) are built into my kernel by default. The
error/system message when crashing is

socket(): Protocol not supported
Illegal instruction (core dumped)

and a core is dumped.



So, have you looked at the core dump with gdb to see where it appears
to be crashing?


No, I regret, I haven't, but I will after my return to my desk at the lab.



Could it be IPv6 related?  Do you have IPv6 in the kernel and enabled?
I do.


No, on all machines, those running firefox 3.6 cleanly and those which 
are unwilling IPv6 is not enabled.


On the box in question, een thundebird 3.0.1 is crashing spontanously, 
while it isn't on those boxes which also run Firefox 3.6 cleanly. This 
puzzles me and I suspect either SMP (could it be threaded perl/python?) 
or a faulty library of X, which isn't built when performing 'portmaster 
-f firefox'.




You could try adding these options to MOZ_OPTIONS in the Makefile
   --enable-debug[=DBG]Enable building with developer debug info
   --enable-debug-modules  Enable/disable debug info for specific modules
   --enable-debugger-info-modules
   Enable/disable debugger info for specific modules

---
Gary Jennejohn



Oliver
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


freebsd7, radeon, xorg-server - deadlock or so

2010-02-09 Thread Oliver Pinter
Hi all!

After updated the xorg* and dri* and dependency, the system going to
deadlock at second start of xserver. I think it is not an uniqe issue,
as others wrote them at freebsd-x11:
http://lists.freebsd.org/pipermail/freebsd-x11/2010-February/009370.html

The symptoms:
* independent from enabled or disabled DRI or GLX, first I think, this
is the error, but not
* the system going to deadlock state
* no coredumps of xorgs
* no panic, but the system is unusuable
* independent from the driver: probed the radeon and radeonhd driver
* independent from the WITHOUT_NOUVEAU or WITH_NOUVEAU compile options
(make.conf)
* the system is: FreeBSD peonia.teteny.bme.hu 7.3-PRERELEASE FreeBSD
7.3-PRERELEASE #29 r203612+fa83fdf: Mon Feb  8 02:11:08 CET 2010
r...@peonia.teteny.bme.hu:/usr/obj/usr/src/sys/stable  amd64
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: su password prompt to stdout instead of /dev/tty

2010-02-09 Thread Cyrille Lefevre


Jeremy Chadwick a écrit :


OpenPAM is des@'s responsibility.  Has anyone brought this up to him?



still no answer from des@ ! any idea ?

Regards,

Cyrille Lefevre
--
mailto:cyrille.lefevre-li...@laposte.net


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Daniel O'Connor
On Wed, 10 Feb 2010, Christian Weisgerber wrote:
 Matthew D. Fuller fulle...@over-yonder.net wrote:
   I have something similar (5x1Tb) - I have a Gigabyte
   GA-MA785GM-US2H with an Athlon X2 and 4Gb of RAM (only half
   filled - 2x2Gb)
  
   Note that it doesn't support ECC, I don't know if that is a
   problem.
 
  How's that?  Is the BIOS just stupid, or is the board physically
  missing traces?

 Doesn't matter really, does it?

 I have a GA-MA78G-DS3H.  According to the specs, it supports ECC
 memory.  And that is all the mention of ECC you will find anywhere.
 There is nothing in the BIOS.  My best guess is that they quite
 literally mean that you can plug ECC memory into the board and it
 will work, but that there are no provisions to actually use ECC.

FWIW I can't see ECC support listed for that board on Gigabyte's 
website.. (vs the GA-MA770T-UD3P which does list ECC as supported - 
DDR3 board though)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: one more load-cycle-count problem

2010-02-09 Thread Daniel O'Connor
On Wed, 10 Feb 2010, Freddie Cash wrote:
  /d sets it (for me) to 6300 milliseconds (6.3 seconds). I took this
  as a special value that disabled it entirely (no idea why they
  didn't use 0 or 255..)
 
  I've seen reports of the same on various hardware forums.  Not sure
  if it's

 due to different firmware, or different drive models.

 You should still be able to list the timeout value explicitly
 (instead of using /d).  According to the help output, you can use
 either 25.5 seconds or 3000-something seconds as the max value
 (depends on the drive).

Yes I know, I used /d and haven't had any issues since.

As the original timeout was 8 seconds I am pretty confident it treats 63 
as special otherwise the problem would still be happening for me.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc
Description: This is a digitally signed message part.


Re: Recent MFC to 7 causes crash on VMware ESXi

2010-02-09 Thread Tom McLaughlin
John Baldwin wrote, On 02/09/2010 05:23 PM:
 On Tuesday 09 February 2010 5:17:32 pm Tom McLaughlin wrote:
 John Baldwin wrote, On 02/09/2010 01:52 PM:
 On Monday 08 February 2010 9:49:00 am John Baldwin wrote:
 On Saturday 06 February 2010 4:47:16 pm Tom McLaughlin wrote:
 John Baldwin wrote, On 02/05/2010 08:27 AM:
 On Thursday 04 February 2010 10:00:55 pm Tom McLaughlin wrote:
 Hi all, a recent MFC to 7-STABLE has started to cause issues for my 
 VMs
 on VMware ESXi 3.5u4.  After loading the mpt driver for the LSI disk
 controller the VM just shuts off.  The workaround is to change the 
 disk
 controller to the BusLogic type.  Still, it used to work up until last
 week.  The change was made around January 26th and based on the 
 commits
 that day I'm guessing it's either r203047 or r203073

 I have the same issue with both amd64 and i386 VMs.  This affects HEAD
 and 8-STABLE as well and first affected HEAD over the summer.  (I just
 worked around it and went about my business at the time. :-/)  I've
 attached a dmesg from a kernel before the problem and one from after 
 it
 started.

 What if you set 'hw.clfush_disable=1' from the loader?


 Yes, that corrected it on all my VMs.  I've talked to people on ESXi 4
 and they do not see the problem.  I have yet to try 3.5u5 to see if this
 is a non-issue.  3.5 will be supported for awhile longer from VMware.
 I'm going to try upgrading the box during the week.

 I believe folks had to do this on HEAD/8.x as well.  Perhaps we can 
 automatically disable clflush if we are executing under VMware or Xen:

 Tom, were you able to verify that this patch fixes the problem for you
 without requiring you to set the hw.clflush_disable tunable?


 John, I'm getting the following build error on all branches:

 /usr/src/sys/amd64/amd64/initcpu.c: In function 'initializecpucache':
 /usr/src/sys/amd64/amd64/initcpu.c:184: error: 'vm_guest' undeclared
 (first use in this function)
 /usr/src/sys/amd64/amd64/initcpu.c:184: error: (Each undeclared
 identifier is reported only once
 /usr/src/sys/amd64/amd64/initcpu.c:184: error: for each function it
 appears in.)
 
 Oh foo.  Can you add 'extern int vm_guest;' to that file near the top?

Adding that to the top fixed the build on 8.x and HEAD.  Both of those
are also now working just fine.  However, 7.x still does not build.

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
-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
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Werror  vers.c
linking kernel.debug
initcpu.o(.text+0x272): In function `initializecpucache':
/usr/src/sys/amd64/amd64/initcpu.c:186: undefined reference to `vm_guest'
*** Error code 1


 
 *** Error code 1


 tom

 Index: amd64/amd64/initcpu.c
 ===
 --- amd64/amd64/initcpu.c  (revision 203430)
 +++ amd64/amd64/initcpu.c  (working copy)
 @@ -177,17 +177,16 @@
if ((cpu_feature  CPUID_CLFSH) != 0)
cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
/*
 -   * XXXKIB: (temporary) hack to work around traps generated when
 -   * CLFLUSHing APIC registers window.
 +   * XXXKIB: (temporary) hack to work around traps generated
 +   * when CLFLUSHing APIC registers window under virtualization
 +   * environments.
 */
TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
 -  if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  CPUID_SS) 
 -  hw_clflush_disable == -1)
 +  if (vm_guest != 0 /* VM_GUEST_NO */  hw_clflush_disable == -1)
cpu_feature = ~CPUID_CLFSH;
/*
 * Allow to disable CLFLUSH feature manually by
 -   * hw.clflush_disable tunable.  This may help Xen guest on some AMD
 -   * CPUs.
 +   * hw.clflush_disable tunable.
 */
if (hw_clflush_disable == 1)
cpu_feature = ~CPUID_CLFSH;
 Index: i386/i386/initcpu.c
 ===
 --- i386/i386/initcpu.c(revision 203430)
 +++ i386/i386/initcpu.c(working copy)
 @@ -724,17 +724,16 @@
if ((cpu_feature  CPUID_CLFSH) != 0)
cpu_clflush_line_size = ((cpu_procinfo  8)  0xff) * 8;
/*
 -   * XXXKIB: (temporary) hack to work around traps generated when
 -   * CLFLUSHing APIC registers window.
 +   * XXXKIB: (temporary) hack to work around traps generated
 +   * when CLFLUSHing APIC registers window under virtualization
 +   * environments.
 */
TUNABLE_INT_FETCH(hw.clflush_disable, hw_clflush_disable);
 -  if (cpu_vendor_id == CPU_VENDOR_INTEL  !(cpu_feature  

Re: freebsd7, radeon, xorg-server - deadlock or so

2010-02-09 Thread O. Hartmann

On 02/10/10 00:24, Oliver Pinter wrote:

Hi all!

After updated the xorg* and dri* and dependency, the system going to
deadlock at second start of xserver. I think it is not an uniqe issue,
as others wrote them at freebsd-x11:
http://lists.freebsd.org/pipermail/freebsd-x11/2010-February/009370.html

The symptoms:
* independent from enabled or disabled DRI or GLX, first I think, this
is the error, but not
* the system going to deadlock state
* no coredumps of xorgs
* no panic, but the system is unusuable
* independent from the driver: probed the radeon and radeonhd driver
* independent from the WITHOUT_NOUVEAU or WITH_NOUVEAU compile options
(make.conf)
* the system is: FreeBSD peonia.teteny.bme.hu 7.3-PRERELEASE FreeBSD
7.3-PRERELEASE #29 r203612+fa83fdf: Mon Feb  8 02:11:08 CET 2010
r...@peonia.teteny.bme.hu:/usr/obj/usr/src/sys/stable  amd64
___
freebsd-stable@freebsd.org mailing list,
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


I had a similar freezing on several FreeBSD 8.0 boxes with either 
'radeon' or 'radeonhd/radeonhd-devel' with recent ports. With more 
expensive graphics cards, like HD4830, HD4850 we never had the issue, 
but with smaller cards, like HD4670. HD4670 never worked. HD4770 cards 
work with explicit set


option DRI OFF

As far as I know,  WITHOUT_NOUVEAU does have no effect on the current 
ports, since it is reported in ports/UPDATING, it prevents building 
nouveau driver which is broken when using newer libdrm/dri and libGLUT, 
but those new ports do not seem to be merged into the tree.


The situation is heavily unsatisfying, since one need an expensive 
AMD/ATi Radeon card to gain non-3D poor functionality, where a cheaper 
one should be do the same - but the cheaper ones don't work. Even if one 
uses AMD64, the situattion is worse and I have no reason using 
Linux-driver on a FreeBSD box. Hope the situation gets cleared in the 
nearest future. It's a kind of deadlock. As I said, either spenig a lot 
of money for a working RV770 based AMD graphics card with poor 
functionality or nothing so far, since most smaller RV730 chips aren't 
supported properly by the most recent drivers.


Regards,
Oliver
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Emil Mikulic
On Tue, Feb 09, 2010 at 11:31:55AM -0500, Peter C. Lai wrote:
 Also does anybody know if benching dd if=/dev/zero onto a zfs volume that
 has compression turned on might affect what dd (which is getting what it
 knows from vfs/vmm) might report?

Absolutely!

Compression on:
4294967296 bytes transferred in 16.251397 secs (264282961 bytes/sec)
4294967296 bytes transferred in 16.578707 secs (259065276 bytes/sec)
4294967296 bytes transferred in 16.178586 secs (265472353 bytes/sec)
4294967296 bytes transferred in 16.069003 secs (267282747 bytes/sec)

Compression off:
4294967296 bytes transferred in 58.248351 secs (73735432 bytes/sec)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: freebsd7, radeon, xorg-server - deadlock or so

2010-02-09 Thread Christof Schulze
 The situation is heavily unsatisfying, since one need an expensive
 AMD/ATi Radeon card to gain non-3D poor functionality, where a cheaper
 one should be do the same - but the cheaper ones don't work. Even if one
 uses AMD64, the situattion is worse and I have no reason using
 Linux-driver on a FreeBSD box. Hope the situation gets cleared in the
 nearest future. It's a kind of deadlock. As I said, either spenig a lot
 of money for a working RV770 based AMD graphics card with poor
 functionality or nothing so far, since most smaller RV730 chips aren't
 supported properly by the most recent drivers.
To be fair - my ATI X300 has always worked. It is a cheap card with low-end 
performance but it is perfectly fine for regular desktop-use.

Christof

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


signature.asc
Description: This is a digitally signed message part.


Re: freebsd7, radeon, xorg-server - deadlock or so

2010-02-09 Thread Robert Noland
On Wed, 2010-02-10 at 01:36 +0100, O. Hartmann wrote:
 On 02/10/10 00:24, Oliver Pinter wrote:
  Hi all!
 
  After updated the xorg* and dri* and dependency, the system going to
  deadlock at second start of xserver. I think it is not an uniqe issue,
  as others wrote them at freebsd-x11:
  http://lists.freebsd.org/pipermail/freebsd-x11/2010-February/009370.html
 
  The symptoms:
  * independent from enabled or disabled DRI or GLX, first I think, this
  is the error, but not
  * the system going to deadlock state
  * no coredumps of xorgs
  * no panic, but the system is unusuable
  * independent from the driver: probed the radeon and radeonhd driver
  * independent from the WITHOUT_NOUVEAU or WITH_NOUVEAU compile options
  (make.conf)
  * the system is: FreeBSD peonia.teteny.bme.hu 7.3-PRERELEASE FreeBSD
  7.3-PRERELEASE #29 r203612+fa83fdf: Mon Feb  8 02:11:08 CET 2010
  r...@peonia.teteny.bme.hu:/usr/obj/usr/src/sys/stable  amd64
  ___
  freebsd-stable@freebsd.org mailing list,
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
 
 I had a similar freezing on several FreeBSD 8.0 boxes with either 
 'radeon' or 'radeonhd/radeonhd-devel' with recent ports. With more 
 expensive graphics cards, like HD4830, HD4850 we never had the issue, 
 but with smaller cards, like HD4670. HD4670 never worked. HD4770 cards 
 work with explicit set
 
 option DRI OFF
 
 As far as I know,  WITHOUT_NOUVEAU does have no effect on the current 
 ports, since it is reported in ports/UPDATING, it prevents building 
 nouveau driver which is broken when using newer libdrm/dri and libGLUT, 
 but those new ports do not seem to be merged into the tree.
 
 The situation is heavily unsatisfying, since one need an expensive 
 AMD/ATi Radeon card to gain non-3D poor functionality, where a cheaper 
 one should be do the same - but the cheaper ones don't work. Even if one 
 uses AMD64, the situattion is worse and I have no reason using 
 Linux-driver on a FreeBSD box. Hope the situation gets cleared in the 
 nearest future. It's a kind of deadlock. As I said, either spenig a lot 
 of money for a working RV770 based AMD graphics card with poor 
 functionality or nothing so far, since most smaller RV730 chips aren't 
 supported properly by the most recent drivers.

I'm only aware of one issue which leads to corruption.  I have patches
that resolve that issue which are not yet committed.  If your are
experiencing lockups with DRI disabled, then something very strange is
going on and you will need to provide more details.  I don't remember
exactly what drm code I have committed to 7 right now, but it should be
fairly current as I don't think I have much in the way of outstanding
MFCs.  The current drm and radeon drivers work on every card that I
have, which in the r600 class are HD 3650,3850,4650.

robert.

 Regards,
 Oliver
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Unresponsive keyboard after a few boots

2010-02-09 Thread Rohit Grover
Yes, this is a USB keyboard. If I plug in an external USB keyboard I
get the same behaviour.

In the mean time, I have discovered that if I boot the machine with
MacOSX and then reboot into FreeBSD, it is very likely that FreeBSD
will have no problems with using the keyboard.

I am sure that this behaviour is new in 8.0/stable.
Now that I have this method, I am willing to dig deeper into this
problem and collect more information for debugging. Any ideas on how
to proceed?

regards,

On Wed, Feb 10, 2010 at 1:16 AM, Chris Rees utis...@googlemail.com wrote:
 On 8 February 2010 11:47, Jeremy Chadwick free...@jdc.parodius.com wrote:
 On Mon, Feb 08, 2010 at 02:19:06PM +0530, Rohit Grover wrote:
 I am using a very recent Freebsd 8.0 STABLE on a Macbook. I updated my
 sources and rebuilt a kernel about 3 days ago. I was able to use the
 machine fine once or twice after that. But now the keyboard has
 stopped working. The boot program is able to use the keyboard, but the
 kernel isn't, and I am unable to do anything useful with the machine
 from the login screen.

 I had rebuilt the kernel twice with slightly varying settings, so I
 don't have a copy of the previously working kernel in
 /boot/kernel.old.

 It may not be easy for me to download a ISO image. Can someone please help?

 Is the keyboard USB?


 No Mac since late generation Powerbooks and iBooks has used ADB, so
 yes, the Macbook
 keyboard is USB.

 HTH,

 Chris
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: freebsd7, radeon, xorg-server - deadlock or so

2010-02-09 Thread Warren Block

On Wed, 10 Feb 2010, Christof Schulze wrote:


The situation is heavily unsatisfying, since one need an expensive
AMD/ATi Radeon card to gain non-3D poor functionality, where a cheaper
one should be do the same - but the cheaper ones don't work. Even if one
uses AMD64, the situattion is worse and I have no reason using
Linux-driver on a FreeBSD box. Hope the situation gets cleared in the
nearest future. It's a kind of deadlock. As I said, either spenig a lot
of money for a working RV770 based AMD graphics card with poor
functionality or nothing so far, since most smaller RV730 chips aren't
supported properly by the most recent drivers.

To be fair - my ATI X300 has always worked. It is a cheap card with low-end
performance but it is perfectly fine for regular desktop-use.


The older chipsets are better supported because the newer ones are, 
well, newer.  If you haven't bought a video card yet, look at the 
radeon(4x) man page first.


Unfortunately, that doesn't help if you already have a newer card, or a 
notebook.


The other choices are Intel, where they don't have standalone video 
cards, or nVidia, which has a full-featured blob and a really bare-bones 
open driver.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 8.0 i386 unable to boot...

2010-02-09 Thread Pierre-Luc Drouin
About this problem, I have seen that in the past there have been problem 
with libdisk when a WinXP partition had an invalid name. Could it be 
something like that that could be causing this error? I guess the 
problem occurs somewhere in the Open_Disk function of libdisk, right? 
Should I be able to get around this problem by installing through a 
PC-BSD CD instead? I have never tried PC-BSD. Does their installer rely 
on libdisk at all?


Thanks!

Pierre-Luc Drouin wrote:

Daniel O'Connor wrote:

On Tue, 9 Feb 2010, Pierre-Luc Drouin wrote:
 

After doing some more research, it seems that I am having the same
problem than described by this person:
http://forums.freebsd.org/showthread.php?t=4502



So you get the same file system full message and then a panic about 
init?
  

yes exactly. I currently have 4 20GB partitions/slices on that drive
1: Win XP fat32
2: Old FreeBSD installation
3: FAT32
4: Empty UFS2
 

however I really don't understand why I would need to move partitions
around to allow the installer to even start? This machine has 2GB of
RAM which I guess should be plenty enough to start the installer
without swapping... The hard drive is a 80GB WD IDE drive. The
machine is not configured to use any RAID.



It is pretty odd, I've installed FreeBSD on a laptop with 60Gb 
partitions and FreeBSD was last yet it worked fine..


  
This is the first time I see that kind of warning as well although I 
have been using it for about 10 years...




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Dan Langille

Boris Kochergin wrote:

Peter C. Lai wrote:

On 2010-02-09 06:37:47AM -0500, Dan Langille wrote:
 

Charles Sprickman wrote:
   

On Mon, 8 Feb 2010, Dan Langille wrote:
Also, it seems like
people who use zfs (or gmirror + gstripe) generally end up buying 
pricey hardware raid cards for compatibility reasons.  There seem to 
be no decent add-on SATA cards that play nice with FreeBSD other 
than that weird supermicro card that has to be physically hacked 
about to fit.
  


Mostly only because certain cards have issues w/shoddy JBOD 
implementation. Some cards (most notably ones like Adaptec 2610A which 
was rebranded by Dell as the CERC SATA 1.5/6ch back in the day) 
won't let you run the drives in passthrough mode and seem to all want 
to stick their grubby little RAID paws into your JBOD setup (i.e. the 
only way to have minimal
participation from the hardware RAID is to set each disk as its own 
RAID-0/volume in the controller BIOS) which then cascades into issues 
with SMART, AHCI, triple caching/write reordering, etc on the 
FreeBSD side (the controller's own craptastic cache, ZFS vdev cache, 
vmm/app cache, oh my!). So *some* people go with something 
tried-and-true (basically bordering on server-level cards that let you 
ditch any BIOS type of RAID config and present the raw disk devices to 
the kernel)
As someone else has mentioned, recent SiL stuff works well. I have 
multiple http://www.newegg.com/Product/Product.aspx?Item=N82E16816132008 
cards servicing RAID-Z2 and GEOM_RAID3 arrays on 8.0-RELEASE and 
8.0-STABLE machines using both the old ata(4) driver and ATA_CAM. Don't 
let the RAID label scare you--that stuff is off by default and the 
controller just presents the disks to the operating system. Hot swap 
works. I haven't had the time to try the siis(4) driver for them, which 
would result in better performance.


That's a really good price. :)

If needed, I could host all eight SATA drives for $160, much cheaper 
than any of the other RAID cards I've seen.


The issue then is finding a motherboard which has 4x PCI Express slots.  ;)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Dan Langille

Trying to make sense of stuff I don't know about...

Matthew Dillon wrote:


AHCI on-motherboard with equivalent capabilities do not appear to be
in wide distribution yet.  Most AHCI chips can do NCQ to a single
target (even a single target behind a PM), but not concurrently to
multiple targets behind a port multiplier.  Even though SATA bandwidth
constraints might seem to make this a reasonable alternative it
actually isn't because any seek heavy activity to multiple drives
will be serialized and perform EXTREMELY poorly.  Linear performance
will be fine.  Random performance will be horrible.


Don't use a port multiplier and this goes away.  I was hoping to avoid a 
PM and using something like the Syba PCI Express SATA II 4 x Ports RAID 
Controller seems to be the best solution so far.


http://www.amazon.com/Syba-Express-Ports-Controller-SY-PEX40008/dp/B002R0DZWQ/ref=sr_1_22?ie=UTF8s=electronicsqid=1258452902sr=1-22



It should be noted that while hotswap is supported with silicon image
chipsets and port multiplier enclosures (which also use Sili chips in
the enclosure), the hot-swap capability is not anywhere near as robust
as you would find with a more costly commercial SAS setup.  SI chips
are very poorly made (this is the same company that went bust under
another name a few years back due to shoddy chipsets), and have a lot
of on-chip hardware bugs, but fortunately OSS driver writers (linux
guys) have been able to work around most of them.  So even though the
chipset is a bit shoddy actual operation is quite good.  However,
this does mean you generally want to idle all activity on the enclosure
to safely hot swap anything, not just the drive you are pulling out.
I've done a lot of testing and hot-swapping an idle disk while other
drives in the same enclosure are hot is not reliable (for a cheap port
multiplier enclosure using a Sili chip inside, which nearly all do).


What I'm planning to use is an SATA enclosure but I'm pretty sure a port 
multiplier is not involved:


http://www.athenapower.us/web_backplane_zoom/bp_sata3141b.html


Also, a disk failure within the enclosure can create major command
sequencing issues for other targets in the enclosure because error
processing has to be serialized.  Fine for home use but don't expect
miracles if you have a drive failure.


Another reason to avoid port multipliers.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: hardware for home use large storage

2010-02-09 Thread Niki Denev
On Wed, Feb 10, 2010 at 12:56 AM, Peter C. Lai pe...@simons-rock.edu wrote:
 On 2010-02-09 05:32:02PM -0500, Charles Sprickman wrote:
 On Tue, 9 Feb 2010, Jeremy Chadwick wrote:
 One similar product that does seem to work well is iLO, available on
 HP/Compaq hardware.

 I've heard great things about that.  It seems like a much better design -
 it's essentially a small server that is independent from the main host. Has
 it's own LAN and serial ports as well.

 Charles

 Dell PowerEdge Remote Access (DRAC) cards also provided this as well,
 and for a while there, you could actually VNC into them. But HP offers iLO
 for no extra charge or discount upon removal (DRACs are worth about $250)
 and has become such a prominent must-have datacenter feature that the
 iLO term is beginning to become genericized for web-accessible and virtual
 disc-capable onboard out-of-band IP-console management.

 --
 ===
 Peter C. Lai                 | Bard College at Simon's Rock
 Systems Administrator        | 84 Alford Rd.
 Information Technology Svcs. | Gt. Barrington, MA 01230 USA
 peter AT simons-rock.edu     | (413) 528-7428
 ===


I thought that their VNC implementation is non-standard, and
I wasn't able to VPN into them, at least on the latest Core i7 models.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8-STABLE outgoing scp stalling frequently.

2010-02-09 Thread Olivier Cochard-Labbé
On Tue, Feb 9, 2010 at 10:51 PM, Pyun YongHyeon pyu...@gmail.com wrote:

 I guess I fixed all known vge(4) issues, how recent stable/8 you
 use?


Hi,

my mistake, it's a release and not a stable version that I'm using:

uname -a

FreeBSD dev.bsdrp.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue
Jan  5 16:02:27 UTC 2010
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Regards,

Olivier
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Unresponsive keyboard after a few boots

2010-02-09 Thread Mehmet Erol Sanliturk
On Tue, Feb 9, 2010 at 8:52 PM, Rohit Grover rgrov...@gmail.com wrote:

 Yes, this is a USB keyboard. If I plug in an external USB keyboard I
 get the same behaviour.

 In the mean time, I have discovered that if I boot the machine with
 MacOSX and then reboot into FreeBSD, it is very likely that FreeBSD
 will have no problems with using the keyboard.

 I am sure that this behaviour is new in 8.0/stable.
 Now that I have this method, I am willing to dig deeper into this
 problem and collect more information for debugging. Any ideas on how
 to proceed?

 regards,



My opinion is that MacOSX is initializing some circuit areas but FreeBSD 8.0
is NOT touching in those areas . Therefore , initialization values from
MacOSX are remaining in place and FreeBSD 8.0 is using those values without
changing them .

This idea is a pure guess , but
 when FreeBSD 8.0 starts initially and USB key board does not work , there
seems that this is most likely possibility .

If it is possible the following steps may be useful :

Initially start MacOSX , dump all of the related circuit register values .

Start FreeBSD 8.0 , repeat the dumping of the related circuit register
values .

This will give differences between two boots .

Initially start FreeBSD and dump all of the related circuit register values
. This may require a key board . Problem is to override this requirement .
If in the system there is also a PS/2 key board slot , a PS/2 keyboard may
be utilized . Another way may be a shell script or program starting on boot
automatically to dump the required values . In that case , a key board may
not be required .

This will show uninitialized values . Related sources may also be studied to
understand which areas are left without initializations .

Successive boots may clear properly stored circuit register values and they
do not initialize them properly .


Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org