Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Albert Shih
 Le 31/05/2012 ? 11:32:33-0400, Oscar Hodgson a écrit

> The subject is pretty much the question.  Perhaps there's a better
> place to be asking this question ...
> 
> We have (very briefly) discussed the possibility of using FreeBSD
> pizza boxes as a storage heads direct attached to external JBOD arrays
> with ZFS.  In perusing the list, I haven't stumbled across indications
> of people actually doing this.  External JBODs would be running 24 to
> 48TB each, roughly.  There would be a couple of units.  The pizza
> boxes would be used for computational tasks, and nominally would have
> 8 cores and 96G+ RAM.
> 
I've Dell R610 + 48 Go Ram, 2x 6 core + 4 * MD1200 (36*3T + 12*2T)

[root@filer ~]# zpool list
NAME SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
filer119T  35,4T  83,9T29%  1.00x  ONLINE  -
[root@filer ~]# 

Work very fine (I can't say I've long experience because the server is up
since just 4 months). 

The ZFS is very good, easy to manage, very fast.

They're two default IMHO : 

Eat lot of Ram

cannot synchronize two zpool automaticaly like HammerFS

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
ven 1 jui 2012 07:17:47 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: editors/libreoffice:internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj

2012-05-31 Thread Leslie Jensen



2012-05-31 19:35, Jens Jahnke skrev:

Hi,

On Fri, 04 May 2012 14:12:17 +0200
"Hartmann, O."  wrote:

HO>  I found myself incapable of rebuilding/updating editors/libreoffice
HO>  on ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms
HO>  with the very same error message as shown below.

I ran into the same issue on my 9-STABLE box at home today.
If I follow the steps provides in the error message it compiles a bit
further and gives the exact same error message some modules later.
Anyhow I stepped through them and finally got another error message:

<---snip--->
[ build CUT ] lotuswordpro_test_lotuswordpro
R=/usr/ports/editors/libreoffice/work&&  S=$R/libreoffice-core-3.5.2.2
&&  O=$S/solver/unxfbsd.pro&&  W=$S/workdir/unxfbsd.pro&&   mkdir -p
$W/CppunitTest/&&  (LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite
DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/
$O/bin/cppunit/cppunittester
$W/LinkTarget/CppunitTest/libtest_lotuswordpro_test_lotuswordpro.so
--headless --protector unoexceptionprotector.so unoexceptionprotector
"-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry"
"-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb"
"-env:UNO_SERVICES=file://$O/xml/ure/services.rdb
file://$O/xml/component/lotuswordpro/util/lwpfilter.component
file://$O/xml/configmgr.component  file://$O/xml/ucb1.component
file://$O/xml/ucpfile1.component"
-env:URE_INTERNAL_LIB_DIR=file://$O/lib  -env:LO_LIB_DIR=file://$O/lib

$W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log 2>&1 ||

(cat $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log&&  echo;
echo "Error: a unit test failed, please do one of:"; echo; echo "export
DEBUGCPPUNIT=TRUE# for exception catching"; echo "export
GDBCPPUNITTRACE=\"gdb --args\" # for interactive debugging"; echo
"export VALGRIND=memcheck# for memory checking" ; echo "and
retry."&&  false))

Abort trap (core dumped) File tested,Test
Result,Execution Time (ms)
file:///usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lotuswordpro/qa/cppunit/data/pass/A14.lwp,Signal
11 during cups initialization called, ignoring cups

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE# for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck# for memory checking
and retry.
gmake: ***
[/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/workdir/unxfbsd.pro/CppunitTest/lotuswordpro_test_lotuswordpro.test]
Error 1
<---snip--->

The mysterious thing is that I have a nearly identical box at the office
running 9-STABLE and there libreoffice compiles fine.
It only differs in two hardware components:
CPU is core2 at home and core5i at the office.
RAM is 4gb at home and 8gb at the office.

System on both is clean installed and updated 9-STABLE.

So maybe this is a memory/cpu issue?

Regards,

Jens




I have the same problem on a 8.2-RELEASE system.

I posted it on the ports list. I got an answer and a patch that can be used.

Take a look at the archives for the ports list.

/Leslie


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


Re: (no subject)

2012-05-31 Thread Eitan Adler
On 29 May 2012 20:06,   wrote:
>
>    Hello,
>   I am moving away from MS products due to security a nd stability
>   concerns.  Below are the machines I use and would like to know which
>   version of FreeBSD will work best with each.  The computer s are used
>   at home and away, for e-mail, preparing documents, databases, an d
>   spredsheets, as well as, web browsing and some begining programing
>   (Perl, C, HTML, and Assembely I think).
I don't know much about the specifics but for a desktop computer I
would go with either FreeBSD 9 or PC-BSD (perhaps with the intel kms
patch)


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


MK_CLANG_IS_CC mis-formed when compiling ports

2012-05-31 Thread Thomas D. Dean

I built FrfeeBSD 9 with
WITHOUT_CLANG="Yes"

When I try to build the net/bwn-firmware-kmod/

I get an error that MK_CLANG_IS_CC is mis-formed.

If I define this in make.conf, I get an error that the user may not set 
this.


If I use 'make MK_CLANG_IS_CC="no"' the port compiles.

How do I fix this?

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


Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Warren Block

On Thu, 31 May 2012, Jens Schweikhardt wrote:


so I decided to try two HW technology advancements in one go.
I have a brand new shiny 1TB USB3.0 external disk, that when plugged
to an USB2(two!) reports

   da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
   da5:  Fixed Direct Access SCSI-2 device
   da5: 40.000MB/s transfers
   da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

(The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
Strangely, I cannot mount it with
# ll /dev/da5*
crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
# mount -t ntfs -o ro /dev/da5s1  /mnt
mount_ntfs: /dev/da5s1: Invalid argument
)


It may not actually be an NTFS filesystem.  Try
# file -s /dev/da5s1

Much more likely to be a USB problem than something to do with block 
size.

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


Re: 9.0 on SSD

2012-05-31 Thread Warren Block

On Fri, 1 Jun 2012, Victor Sudakov wrote:


Warren Block wrote:


I have installed 9.0-RELEASE on a SSD drive with the following
tweaking so far:

1. tmpmfs="YES" (WRKDIRPREFIX etc will go there too).

2. mount -o noatime

3. tunefs -t enable

I have not done any tricky partition alignment, do I really need to? Is
anything else advisable?


If it's not aligned, there can be a pretty significant performance
drop.  Please show the output of 'gpart show' on that drive if it's GPT
(gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show
ada0 && gpart show ada0s1).


It was created by the "Auto" option of the new FreeBSD installer:

[sudakov@vas ~] gpart show ada0
=>   34  117231341  ada0  GPT  (55G)
34128 1  freebsd-boot  (64k)
   162  48928 2  freebsd-ufs  (53G)
 490905861376 3  freebsd-swap  (2.8G)
 117010466 220909- free -  (107M)


That is not aligned, either with 4K or 1M:
  (162*512)/4096 = 20.25

If the performance is good enough, leave it alone.  Use
# diskinfo -tv /dev/ada0p2
to get an optimistic version, or do some in-depth benchmarking with 
benchmarks/bonnie++.


To get it aligned, back up and repartition:

(Back up first!)
# gpart destroy -F ada0
# gpart create -s gpt ada0
# gpart add -t freebsd-boot -s 512k ada0
# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0
# gpart add -t freebsd-ufs -b 1m -s 53G ada0
# gpart add -t freebsd-swap ada0

That creates a 512k boot partition which allows for growth of the boot 
code.  Then the UFS partition starts at 1M, an even multiple of both 4k 
and 1M for alignment, and a common semi-standard.  Then swap fills out 
the drive; that could be reduced by giving a -s size if you want to 
leave that 107M at the end for something else.


(gpart's -a option is not used.  It isn't needed here, and overrides the 
-b option in earlier versions of gpart.)

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


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Dennis Glatting
On Thu, 2012-05-31 at 19:27 -0400, Daniel Staal wrote:
> --As of May 31, 2012 11:24:41 AM -0700, Dennis Glatting is alleged to have 
> said:
> 
> > 2) Under heavy I/O my systems freeze for a few seconds. I haven't looked
> > into why but they are completely unresponsive. Note I am also using
> > compressed volumes (gzip), which puts a substantual load on the kernel.
> 
> --As for the rest, it is mine.
> 
> I'm not using as huge a dataset, but I was seeing this behavior as well 
> when I first set my box up.  What was happening was that ZFS was caching 
> *lots* of writes, and then would dump them all to disk at once, during 
> which time the computer was completely occupied with the disk I/O.
> 
> The solution (suggested from ) for 
> me was:
> vfs.zfs.txg.timeout="5"
> 

Was already set:

mc# sysctl vfs.zfs.txg.timeout
vfs.zfs.txg.timeout: 5



> in loader.conf.  That only allows it to cache writes for 5 seconds, instead 
> of the default 30.  This appears to be the default in the latest versions 
> of FreeBSD, so if you are running an upgraded 9, ignore me.  ;)  (But check 
> the page linked above: There are other suggestions to try.)
> 
> Daniel T. Staal
> 
> ---
> This email copyright the author.  Unless otherwise noted, you
> are expressly allowed to retransmit, quote, or otherwise use
> the contents for non-commercial purposes.  This copyright will
> expire 5 years after the author's death, or in 30 years,
> whichever is longer, unless such a period is in excess of
> local copyright law.
> ---


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


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-05-31 Thread Thomas Mueller
> From Gary Aitken  :

> I've got an HP printer directly connected to the local network.

> hp-probe finds it:

> #hp-probe -bnet

> HP Linux Imaging and Printing System (ver. 3.12.2)
> Printer Discovery Utility ver. 4.1
> ...
>   Device URI   Model 
> Name
>   ---    
> 
>   hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd  Officejet_Pro_8500_A909g  
> HP4356E6

> Found 1 printer(s) on the 'net' bus.

> However, hp-setup and hp-uri refuse to use it:

> #hp-makeuri -ldebug aa.bb.cc.dd

> HP Linux Imaging and Printing System (ver. 3.12.2)
> Device URI Creation Utility ver. 5.0
> ...
> hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd
> hp-makeuri[63924]: debug: Not found.
> hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd
> hp-makeuri[63924]: debug: Probing bus: usb
> hp-makeuri[63924]: debug: Probing bus: par
> error: Device not found

> When the gui comes up, only the USB option is enabled.  There is no parallel 
> port active and no wireless on the box, but at least the network connection 
> should be available.

> The probe which succeeds takes several seconds, but the hp-setup gui and 
> makeuri fail immediately, and the missing ability to set the network 
> discovery option in the gui lead me to believe it's not even trying the ip 
> addr.

> Anyone with experience setting these guys up have any advice?

> Alternately, is there anything other than a special lp filter really needed, 
> and if not, any suggestions on the best one to use?  I looked at apsfilter 
> but the installation SETUP driver options didn't seem to include this printer.
> Thanks

I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the 
printer all right when connected by Ethernet, but then fails on installing the 
required binary plugin.  Printer is not detected at all when connected by USB.

NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't find 
the printer on Ethernet, next step is to login to wireless router, and/or check 
the dmesg.boot, and then use the IP address found therefrom.

pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/
pkgsrc URL: http://www.netbsd.org/docs/software/packages.html

I wonder if I should have bought a printer, non-HP, with wireless, as long as 
it also had USB and Ethernet capability.

Seeing security advisories for FreeBSD, my next move might be to update the 
source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and build 
for i386 as well.  Then I would have the possibility of building wine from the 
ports, and I could try the MS-Windows software.  I also need to update the 
other ports, including but not limited to hplip and dependencies.

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


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Daniel Staal
--As of May 31, 2012 11:24:41 AM -0700, Dennis Glatting is alleged to have 
said:



2) Under heavy I/O my systems freeze for a few seconds. I haven't looked
into why but they are completely unresponsive. Note I am also using
compressed volumes (gzip), which puts a substantual load on the kernel.


--As for the rest, it is mine.

I'm not using as huge a dataset, but I was seeing this behavior as well 
when I first set my box up.  What was happening was that ZFS was caching 
*lots* of writes, and then would dump them all to disk at once, during 
which time the computer was completely occupied with the disk I/O.


The solution (suggested from ) for 
me was:

vfs.zfs.txg.timeout="5"

in loader.conf.  That only allows it to cache writes for 5 seconds, instead 
of the default 30.  This appears to be the default in the latest versions 
of FreeBSD, so if you are running an upgraded 9, ignore me.  ;)  (But check 
the page linked above: There are other suggestions to try.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Corrections to: unable to upgrade to mysql55-server

2012-05-31 Thread Gene
On Wed, 30 May 2012 18:18:25 +0100, Matthew Seaman wrote
> On 30/05/2012 17:57, Gene wrote:
> >  I've been trying to install the port databases/mysql55-server, updating 
from 
> > the older  5.4 version. mysql55-client installed just fine. However, when 
I 
> > "make" the '-server' port I get the errors shown in the first listing 
below. 
> > So I tried 
> >  "portmanager databases/mysql55-server -l -u"  
> > (latest version of portmanager - 0.4.1_9).
> 
> Did you update to databases/mysql55-client before trying this?
> mysqlXX-server depends on mysqlXX-client for the libmysql shared library
> and related header files.
> 
> Generally to switch from mysql 5.4 to mysql 5.5 you'ld do something like
> this:
> 
>0) Backups, fasting, ritual cleansing, sacrifice of black 
> cockerel,  you know the drill.
> 
>1) Stop MySQL -- plus any web servers or whatever that access mysql.
> 
>   # /usr/local/etc/rc.d/mysql-server stop
>   # ...
> 
>2) If there is any mention of MYSQL related variables in
>   /etc/make.conf, particularly those referring to version 
> numbers,  comment them out.
> 
>3) Upgrade mysql-client:
> 
> # portmaster -o databases/mysql55-client 'mysql-client-5.4.*'
> 
>4) Upgrade mysql-server:
> 
> # portmaster -o databases/mysql55-server 'mysql-server-5.4.*'
> 
>5) If you've got them installed, upgrade mysql-scripts:
> 
> # portmaster -o databases/mysql55-scripts 'mysql-scripts-5.4.*'
> 
>6) Upgrade anything that links against libmysql.so -- you can use
>   sysutils/bsdadminscripts which contains a handy script to tell
>   you what applications on your system are affected.  Or, for the
>   lazy and those with excess spare time:
> 
> # portmaster -r databases/mysql55-client
> 
>   (but this will do far more work than necessary)
> 
>7) Restart mysql and run the supplied program to update schemas etc.
> 
> # /usr/local/etc/rc.d/mysql-server start
> # mysql_upgrade
> 
>8) Restart any applications that use mysql.
> 
>9) Test.
> 
>   Cheers,
> 
>   Matthew
> 
Actually, I did just as above except using portmanager.. Tried deleting the 
two packages & tried again with portmaster. Still no luck. So I deleted them 
again and installed from packages. mysql-client-5.4.. installed lib/mysql/
libmysqlclient.so.18, but mysql-server-5.4... wanted lib/mysql/
libmysqlclient.so.16. Finally, after giving ritual sacrifice to the backup 
gods, I went to the ZFS snapshots and just restored directories wholesale and 
everything is working again albeit with previous versions of mysql (and 
postfix which also gave me fits) but with the package database entries now 
missing (for some strange reason, I hadn't been backing up that directory. 
You'd think I'd learn - if it ain't broke, don't fix it. 

Still wonder what went wrong though Seems every time I try to update any 
ports, things get broken, ports don't compile, etc., etc., ad infinitum, ad 
nauseum. I've got to be doing something wrong. Incidentally, portmaster, when 
updating mysql54-server reliably rebooted the system. Hmmm

Anyone know if there is a good memory test utility that can be run on FBSD 
AMD64?

Anyway - thanks for the assistance...
Gene

> -- 
> Dr Matthew J Seaman MA, D.Phil.
> PGP: http://www.infracaninophile.co.uk/pgpkey


--

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


HP networked printer -- hp-setup won't use, hp-probe finds

2012-05-31 Thread Gary Aitken
I've got an HP printer directly connected to the local network.

hp-probe finds it:

#hp-probe -bnet

HP Linux Imaging and Printing System (ver. 3.12.2)
Printer Discovery Utility ver. 4.1
...
  Device URI   Model 
Name
  ---    

  hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd  Officejet_Pro_8500_A909g  
HP4356E6

Found 1 printer(s) on the 'net' bus.

However, hp-setup and hp-uri refuse to use it:

#hp-makeuri -ldebug aa.bb.cc.dd

HP Linux Imaging and Printing System (ver. 3.12.2)
Device URI Creation Utility ver. 5.0
...
hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd
hp-makeuri[63924]: debug: Not found.
hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd
hp-makeuri[63924]: debug: Probing bus: usb
hp-makeuri[63924]: debug: Probing bus: par
error: Device not found

When the gui comes up, only the USB option is enabled.  There is no parallel 
port active and no wireless on the box, but at least the network connection 
should be available.

The probe which succeeds takes several seconds, but the hp-setup gui and 
makeuri fail immediately, and the missing ability to set the network discovery 
option in the gui lead me to believe it's not even trying the ip addr.

Anyone with experience setting these guys up have any advice?

Alternately, is there anything other than a special lp filter really needed, 
and if not, any suggestions on the best one to use?  I looked at apsfilter but 
the installation SETUP driver options didn't seem to include this printer.
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Audio CD issue -- most everything but noise ASUS M4A89TD mobo

2012-05-31 Thread Polytropon
On Thu, 31 May 2012 14:43:27 -0600, Gary Aitken wrote:
> On 05/31/12 12:56, Polytropon wrote:
> > Still, there _is_ a way of a workaround which is so ugly and
> > partially stupid that I fear to mention it.
> > 
> > You need a cable, 2 x 3.5mm stereo jack, which you connect
> > from the front connector of the CD drive to the line-in
> > connector on the back of your machine (the main baord's
> > line-in connector, typically colored light blue).
> > 
> > I didn't say anything! :-)
> 
> Quality sucks though.

Impedance and level mismatch would be the typical reason
for this. But basically, it's not _much_ worse than using
an internal analog connection.



> > Okay, this means the mixer doesn't even have a CD audio
> > mixer channel. If I remember correctly, this channel is
> > directly associated to the internal audio connector which
> > is _not_ present in your system.
> 
> You mean a cd mixer channel for digital audio only shows up
> if there is a physical analog audio input???

Oh god, I hope not!



> If that's the problem, is there any way to force it?

I really have no idea how digital audio output is actually
represented in the mixer. The "mixer" program will allow
you to manipulate the levels of channels that are reported
by the mixer driver (which in turn accesses the sound
hardware); if the "sound card" doesn't report to have
CD audio, the corresponding item won't be available.

Additionally, I'm not sure if "forcing" a CD audio
output (no idea how, maybe by changing the driver's
source code?) could affect digital CD audio because
even though they serve the same purpose, they are
not related "in wires".



> Otherwise, I'm doa without some kind of kernal patch?
> It's hard to imagine no-one else has had this problem...

As I said, that topic has been on this list before.
A possible way would be to use cdparanoia or something
like that to extract the data digitally, and then play
it; "then" also means "in a pipe". No real solution,
I admit.



> > The /dev/cd0 device is the "SCSI translated" device which does
> > perform the same purpose as /dev/acd0, except that it's not
> > using the ATAPI "command set", but the SCSI "command set".
> > 
> > See "man 4 cd" and "man 4 acd" for comparison.
> 
> No acd in 9.0.  But I see what you're saying.

Correct - the ATAPI subsystem has been merged into the
"new" system where /dev/cd0 is used. Still there seem
to be problems regarding cdcontrol (which accesses the
ATAPI "command set", if I remember correctly), as well
as the direct access to audio CD tracks, such as the
formerly present /dev/acd0t01 = track 1.



> > You can also check the content of /dev/sndstat..
> >   % cat /dev/sndstat 
>   FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
>   Installed devices:
>   pcm0:  (play/rec) default
>   pcm1:  (rec)
>   pcm2:  (play).
> 
> %cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0:  (play)
> pcm1:  (play/rec) default
> pcm2:  (play/rec)
> pcm3:  (play)
> pcm4:  (play)

Do you maybe also have multiple mixer devices associated?
Check
% ls /dev/mixer*

and you can see their individual states with 

% mixer -f /dev/mixer0
% mixer -f /dev/mixer1
% mixer -f /dev/mixer2

and so on.



> I presume the "...Analog> (rec)" on yours is the missing analog input.

There are in fact several analog input channels, such as the
microphone (3.5mm mono connector) and line in (3.5mm stereo
connector). Additionally there are connectors on the front
of the box. In other cases where I've seen such configurations,
they correspond to different mixer channels or even to
different mixers.

I'm _not_ sure I've seen an internal CD audio connector in
this particular machine, at least I'm not intendedly using one.

For comparison, I have 3 mixer devices with those entries:

% mixer -f /dev/mixer0
Mixer vol  is currently set to  95:95
Mixer pcm  is currently set to  50:50
Mixer line is currently set to   0:0
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to   0:0   <=== shoule be the one
Mixer rec  is currently set to   0:0
Mixer igainis currently set to   0:0
Mixer monitor  is currently set to   0:0
Recording source: mic

% mixer -f /dev/mixer1
Mixer rec  is currently set to  75:75
Mixer monitor  is currently set to  75:75
Recording source: monitor

% mixer -f /dev/mixer2
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75



> Hmmm.  Neither mine nor yours shows any "...Digital> (rec).
> Should I expect one if things were working properly?
> Probably not, if the inclusion of cd is just triggered by the analog input,
> and the card doesn't actually have a physical digital input.

The CD audio digital output should go "through" the (P)ATA
cable (40/80 pin flat wire) or

Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Thomas Mueller
On 05/31/12 09:57, Jens Schweikhardt wrote:

> so I decided to try two HW technology advancements in one go.
> I have a brand new shiny 1TB USB3.0 external disk, that when plugged
> to an USB2(two!) reports

>  da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
>  da5:  Fixed Direct Access SCSI-2 device
>  da5: 40.000MB/s transfers
>  da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

> and
> # diskinfo -v da5
> da5
>  4096# sectorsize
>  1000204886016   # mediasize in bytes (931G)
>  244190646   # mediasize in sectors
>  0   # stripesize
>  0   # stripeoffset
>  15200   # Cylinders according to firmware.
>  255 # Heads according to firmware.
>  63  # Sectors according to firmware.
>  00A123456789# Disk ident.


> (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
> Strangely, I cannot mount it with
> # ll /dev/da5*
> crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
> crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
> # mount -t ntfs -o ro /dev/da5s1  /mnt
> mount_ntfs: /dev/da5s1: Invalid argument
> )

> When I plug it to one of the two USB3.0 ports (using the xhci driver), I
> don't get device nodes in /dev created for it, but instead an ever
> growing list of

>  ugen4.2:  at usbus4
>  umass2:  
> on usbus4
>  ugen4.2:  at usbus4 (disconnected)
>  umass2: at uhub4, port 4, addr 1 (disconnected)
 
> The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
> can use the disk as well on the USB3.0 port, which makes me look for

> things I have missed. For example, my kernel config is stripped down
> quite a bit, so it might be that my custom kernel does not have all the
> necessary drivers built in or kldloaded. Do I need "device ada"? What is
> the magic needed to hook up 4k secotr drives via USB3.0?

Gary Aitken  responded:

> According to the handbook you need all of the following drivers:

>   scbus da pass uhci ohci ehci usb umass

> Don't know if this helps, but 512K sectorsize on usb 3 seems to work fine 
> here:

> %diskinfo -v da0
> da0
> 512 # sectorsize
> 1500301909504   # mediasize in bytes (1.4T)
> 2930277167  # mediasize in sectors
> 0   # stripesize
> 0   # stripeoffset
> 182401  # Cylinders according to firmware.
> 255 # Heads according to firmware.
> 63  # Sectors according to firmware.
> NA05EA2N# Disk ident.

> dmesg:

> ugen0.2:  at usbus0
> umass0:  on usbus0
> umass0:  SCSI over Bulk-Only; quirks = 0x4100
> umass0:8:0:-1: Attached to scbus8
> da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
> da0:  Fixed Direct Access SCSI-0 device
> da0: 400.000MB/s transfers
> da0: 1430799MB (2930277167 512 byte sectors: 255H 63S/T 182401C)

> Plugging it in adds only da0, da0s1, and ugen0.2 to /dev

> My disk is bigger than what you're dealing with but not the big sector size;
> can't say about that difference.

I think you also need xhci driver in kernel config.  xhci is for USB 3.0.

I have a Western Digital My Book Essentials 3 TB USB 3.0 hard drive, and that 
works with FreeBSD and Linux, but not NetBSD.

As far as I know, Linux and FreeBSD are the only open-source OSes that support 
USB 3.0.

But I don't think the motherboard supports directly booting from this USB 3.0.

This USB 3.0 hard drive is not recognized when plugged in to USB 2.0 port on 
the motherboard, but is recognized when plugged in to USB 2.0 port on a USB 
bracket connected to USB 2.0 headers on the motherboard.  This would be useful 
with NetBSD, and possibly for booting with GRUB2.

That Western Digital 3.0 TB USB 3.0 was partitioned with one MBR partition, 
formatted for NTFS.  

I needed the System Rescue CD (http://sysresccd.org/) to copy the software 
files from the CD, and to migrate MBR partition scheme to GPT.  Then I deleted 
the big NTFS partition and added my partitions.

FreeBSD sees these partitions as /dev/da0p1, /dev/da0p2 and so on.

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


Re: Audio CD issue -- most everything but noise ASUS M4A89TD mobo

2012-05-31 Thread Gary Aitken
On 05/31/12 12:56, Polytropon wrote:

> This functionality is not present on modern boards anymore.
> Also note it's not digital. It's analog. GND plus two
> channels. Audio transmission using the 40/80 pin (P)ATA
> cable would have been digital.

Thanks for the correction, I thought I knew that.  doh.

> Still, there _is_ a way of a workaround which is so ugly and
> partially stupid that I fear to mention it.
> 
> You need a cable, 2 x 3.5mm stereo jack, which you connect
> from the front connector of the CD drive to the line-in
> connector on the back of your machine (the main baord's
> line-in connector, typically colored light blue).
> 
> I didn't say anything! :-)

Quality sucks though.

> Okay, this means the mixer doesn't even have a CD audio
> mixer channel. If I remember correctly, this channel is
> directly associated to the internal audio connector which
> is _not_ present in your system.

You mean a cd mixer channel for digital audio only shows up if there is a 
physical analog audio input???

If that's the problem, is there any way to force it?
Otherwise, I'm doa without some kind of kernal patch?
It's hard to imagine no-one else has had this problem...

> The /dev/cd0 device is the "SCSI translated" device which does
> perform the same purpose as /dev/acd0, except that it's not
> using the ATAPI "command set", but the SCSI "command set".
> 
> See "man 4 cd" and "man 4 acd" for comparison.

No acd in 9.0.  But I see what you're saying.

> You can also check the content of /dev/sndstat..
>   % cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0:  (play/rec) default
pcm1:  (rec)
pcm2:  (play).

%cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:  (play)
pcm1:  (play/rec) default
pcm2:  (play/rec)
pcm3:  (play)
pcm4:  (play)

I presume the "...Analog> (rec)" on yours is the missing analog input.
Hmmm.  Neither mine nor yours shows any "...Digital> (rec).
Should I expect one if things were working properly?
Probably not, if the inclusion of cd is just triggered by the analog input,
and the card doesn't actually have a physical digital input.

>> (cd0:ata2:0:0:0): SCSI sense: ILLEGAL REQUEST asc:2c,0 (Command sequence 
>> error)
...
> They appear when trying to access the CD drive via "SCSI commands",
> i. e. using /dev/cd0.

ok, so user generated error by trying to use cd0 instead of cd someplace.

>> From the manpage: "The snd_atiixp bridge driver allows the
> generic audio driver, sound(4), to attach to ATI IXP audio
> devices." Not sure if that applies. Do you have an ATI IXP
> audio device?

Don't think so.  No "ixp" in dmesg
The two audio dmesg entries are

hdac0:  mem 0xfe9bc000-0xfe9bfff
hdac1:  mem 0xfe6f8000-0xfe6fbfff ir

I think the first one is the main one, and the second one is a secondary hd 
output.  

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


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Oscar Hodgson
The thought never crossed my mind.

On Thu, May 31, 2012 at 1:28 PM, Damien Fleuriot  wrote:
> As a side note and in case you were considering, I strongly advise against 
> Linux + fuse ZFS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Audio CD issue -- most everything but noise ASUS M4A89TD mobo

2012-05-31 Thread Polytropon
On Thu, 31 May 2012 12:26:21 -0600, Gary Aitken wrote:
> On 05/31/12 05:54, Polytropon wrote:
> > On Thu, 31 May 2012 00:38:46 -0600, Gary Aitken wrote:
> >> The cd mounts a regular file system ok and audio generally works
> >> ok -- playing from a file works.
> > 
> > You're sure it's a normal audio CD? How actually is one supposed
> > to mount audio CDs? They're _audio_ CD format, no ISO-9660 file
> > system on them...?
> 
> By "normal" I mean it plays fine in a regular sound system, and
> on a windoze box via media player with the same CD player and
> the direct audio wire not hooked up.

Okay, just wanted to make sure it's no "Un-CD". :-)



> >> Successive status requests look like it is progressing through
> >> the CD just fine.
> > 
> > Does the CD drive maybe have an earphone connector so you
> > can test if anything is output? I know most modern drives
> > don't come with this connector anymore.
> 
> I'm using the earphones, and they work with mp3 files from disk.
> Who said anything about "modern"?  
> I thought all CDs came from old junk machines. :-)
> Novel idea.  This cd has one, and I get audio from it.
> So cdcontrol seems to be controlling operation just fine,
> there's just no audio getting into the guts of the os.

Good, this is a good way through the disgnostic steps. It
proves that the device actually plays CD audio (which we
expected, but now we're sure). Problem remaining: That
sound doesn't make it to the sound card (resp. its
implementation in the board's chipset).



> >> The CD does not have any direct to mobo audio wire, only the ATA cable.
> >> I'm assuming fbsd gets the audio down the ata cable, correct?
> > 
> > As far as I remember... NO.
> > 
> > I've been using FreeBSD with working CD audio in the past,
> > but I always had the wire installed (in many different
> > constellations, such as with using SCSI drives, using an
> > individual sound card, or having multiple line-ins on
> > the main board). _This_ method did always work.
> 
> Ugh.  
> Mobo:
>   ASUS M4A89TD Pro/USB3
> doesn't even have a place to plug in the separate digital audio input cable.
> At least not that I can identify.

This functionality is not present on modern boards anymore.
Also note it's not digital. It's analog. GND plus two
channels. Audio transmission using the 40/80 pin (P)ATA
cable would have been digital.

Still, there _is_ a way of a workaround which is so ugly and
partially stupid that I fear to mention it.

You need a cable, 2 x 3.5mm stereo jack, which you connect
from the front connector of the CD drive to the line-in
connector on the back of your machine (the main baord's
line-in connector, typically colored light blue).

I didn't say anything! :-)



> > Just to make sure, check your mixer settings. Yes I know,
> > it's stupid to emphasize it, but _I_ have been fallen
> > into that trap already. :-)
> > 
> > Mixer vol  is currently set to  75:75
> > Mixer pcm  is currently set to  50:50
> > Mixer cd   is currently set to   0:0
> > 
> > In _such_ a situation, missing sound is nothing special.
> 
> How about missing cd?
> 
> Mixer vol  is currently set to 100:100
> Mixer pcm  is currently set to  75:75
> Mixer line is currently set to  75:75
> Mixer mic  is currently set to   0:0
> Mixer mix  is currently set to   0:0
> Mixer rec  is currently set to  75:75
> Mixer igainis currently set to 100:100
> Mixer ogainis currently set to  50:50
> Recording source: mic
> 
> I don't see any "cd".  Where does that come from? 

Okay, this means the mixer doesn't even have a CD audio
mixer channel. If I remember correctly, this channel is
directly associated to the internal audio connector which
is _not_ present in your system.



> There is a /dev/cd0:
> 
> ls -l /dev/cd0
> crw-r-  1 root  operator0, 115 May 30 09:29 /dev/cd0
> 
> If I try to add "cd" to the list of devices, it claims it's not valid:
> 
> #mixer +rec cd
> mixer: unknown recording device: cd
> usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ...
>mixer [-f device] [-s | -S] recsrc ...
>mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ...
>  devices: vol, pcm, line, mic, mix, rec, igain, ogain
>  rec devices: line, mic, mix

The /dev/cd0 device is the "SCSI translated" device which does
perform the same purpose as /dev/acd0, except that it's not
using the ATAPI "command set", but the SCSI "command set".

See "man 4 cd" and "man 4 acd" for comparison.



> What is the source for the "mix" device?
> I tried upping it to 50% but still no sound.

If I remember correctly, "mix" is the combined input of all
input channels.



> "man snd" shows a boatload of possible bridge drivers, but kldstat only shows 
> a few loaded:
> 
> %kldstat -v | grep "sound\|snd\|pcm"
> 252 uaudio/ua_pcm
> 250 sound
> 249 pci/snd_hda
> 248 hdac/snd_hda_pcm
> 247 pci/snd_via8233
>

Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Gary Aitken
On 05/31/12 09:57, Jens Schweikhardt wrote:

> so I decided to try two HW technology advancements in one go.
> I have a brand new shiny 1TB USB3.0 external disk, that when plugged
> to an USB2(two!) reports
> 
>  da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
>  da5:  Fixed Direct Access SCSI-2 device
>  da5: 40.000MB/s transfers
>  da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
> 
> and
> # diskinfo -v da5
> da5
>  4096# sectorsize
>  1000204886016   # mediasize in bytes (931G)
>  244190646   # mediasize in sectors
>  0   # stripesize
>  0   # stripeoffset
>  15200   # Cylinders according to firmware.
>  255 # Heads according to firmware.
>  63  # Sectors according to firmware.
>  00A123456789# Disk ident.
> 
> 
> (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
> Strangely, I cannot mount it with
> # ll /dev/da5*
> crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
> crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
> # mount -t ntfs -o ro /dev/da5s1  /mnt
> mount_ntfs: /dev/da5s1: Invalid argument
> )
> 
> When I plug it to one of the two USB3.0 ports (using the xhci driver), I
> don't get device nodes in /dev created for it, but instead an ever
> growing list of
> 
>  ugen4.2:  at usbus4
>  umass2:  
> on usbus4
>  ugen4.2:  at usbus4 (disconnected)
>  umass2: at uhub4, port 4, addr 1 (disconnected)
> 
> The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
> can use the disk as well on the USB3.0 port, which makes me look for
> things I have missed. For example, my kernel config is stripped down
> quite a bit, so it might be that my custom kernel does not have all the
> necessary drivers built in or kldloaded. Do I need "device ada"? What is
> the magic needed to hook up 4k secotr drives via USB3.0?

According to the handbook you need all of the following drivers:

  scbus da pass uhci ohci ehci usb umass

Don't know if this helps, but 512K sectorsize on usb 3 seems to work fine here:

%diskinfo -v da0
da0
512 # sectorsize
1500301909504   # mediasize in bytes (1.4T)
2930277167  # mediasize in sectors
0   # stripesize
0   # stripeoffset
182401  # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
NA05EA2N# Disk ident.

dmesg:

ugen0.2:  at usbus0
umass0:  on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:8:0:-1: Attached to scbus8
da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device 
da0: 400.000MB/s transfers
da0: 1430799MB (2930277167 512 byte sectors: 255H 63S/T 182401C)

Plugging it in adds only da0, da0s1, and ugen0.2 to /dev

My disk is bigger than what you're dealing with but not the big sector size; 
can't say about that difference.

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


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Dennis Glatting



On Thu, 31 May 2012, Kaya Saman wrote:


On Thu, May 31, 2012 at 5:05 PM, Oscar Hodgson  wrote:

That helps.  Thank you.

This is an academic departmental instructional / research environment.
 We had a great relationship with Sun, they provided great
opportunities to put Solaris in front of students.  Oracle, not so
much, and the Oracle single-tier support model simply isn't affordable
for this "business" (there's no ROI at the departmental level ).
Solaris is not a viable option.


We found Oracle to be the cheapest out of all the solutions we looked
at: Netapp, MSI, et el.



FreeBSD looks like the next best available option at the moment,
particularly considering the use of the storage heads as compute
machines.  OpenIndiana shows promise.  Nexenta has a great product,
but the user community expects more flexibility in software options.


FreeBSD is better then Linux in my opinion though lacking some
software and multimedia functionality that Linux has and not for the
Desktop as it's not as "bleeding edge" as say Fedora 16, however, if
FreeBSD offered Gnome3 and supported my wireless NIC I'd be all over
it like a "bad rash" :-)



Is there anything like a list of "supported" (known good) SAS HBA's?


LSI HBA's are really good!

For my DIY solution at home I used a SuperMicro system board with
non-RAID LSI HBA...



Similarly:

mc => Tyan S8812WGM3NR
iirc => Supermicro H8DGi
bd3 => Soon another Supermicro H8DGi

Others are consumer boards from Gigabyte (preferred).

I also have a small collection of Supermicro AOC-USAS2-L8i boards. 
Generally, I have had no trouble but ESXi 5.0 hated them.


For work I looked at two Supermicro 848A chassis with a H8QGL board and 20 
3TB disks for two different projects, but they lie in limbo.




It is a similar solution that we will use for our test NAS at work
though we already have a Dell R700 series server. For this setup
however I will need to use an LSI HBA with both internal and external
Mini-SAS ports.

Instead of Promise we will use NetStor JBOD solutions as they work
with 6Gbps drives and overall give better performance.



Oscar


Regards,


Kaya



On Thu, May 31, 2012 at 11:38 AM, Kaya Saman  wrote:

If this is any consellation I run a 36TB cluster using a self built
server with a Promise DAS (VessJBOD 1840) using ZFS at home! to
support my OpenSource projects and personal files.

As for OS take your pick: NexentaStor, FreeBSD, Solaris 11


All capable, of course Solaris has latest version of ZFS but still.


At work we're looking into getting a StorEdge appliance wich will
handle up to 140+ TB.


I am also in charge of redesigning one of our virtual SAN's to a
FreeBSD ZFS storage system which will run well how many JBOD's can
you fit on the system?? Probably round ~100TB or so.


Regards,


Kaya


On Thu, May 31, 2012 at 4:32 PM, Oscar Hodgson  wrote:

The subject is pretty much the question.  Perhaps there's a better
place to be asking this question ...

We have (very briefly) discussed the possibility of using FreeBSD
pizza boxes as a storage heads direct attached to external JBOD arrays
with ZFS.  In perusing the list, I haven't stumbled across indications
of people actually doing this.  External JBODs would be running 24 to
48TB each, roughly.  There would be a couple of units.  The pizza
boxes would be used for computational tasks, and nominally would have
8 cores and 96G+ RAM.

Obvious questions are hardware compatibility and stability.  I've set
up small FreeBSD 9 machines with ZFS roots and simple mirrors for
other tasks here, and those have been successful so far.

Observations would be appreciated.

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

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

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

Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Dennis Glatting



On Thu, 31 May 2012, Oscar Hodgson wrote:


That helps.  Thank you.

This is an academic departmental instructional / research environment.
We had a great relationship with Sun, they provided great
opportunities to put Solaris in front of students.  Oracle, not so
much, and the Oracle single-tier support model simply isn't affordable
for this "business" (there's no ROI at the departmental level ).
Solaris is not a viable option.

FreeBSD looks like the next best available option at the moment,
particularly considering the use of the storage heads as compute
machines.  OpenIndiana shows promise.  Nexenta has a great product,
but the user community expects more flexibility in software options.

Is there anything like a list of "supported" (known good) SAS HBA's?



Most of my HBAs are LSI controllers flashed T. I'm fond of the 9211.




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


Re: Audio CD issue -- most everything but noise ASUS M4A89TD mobo

2012-05-31 Thread Gary Aitken
On 05/31/12 05:54, Polytropon wrote:
> On Thu, 31 May 2012 00:38:46 -0600, Gary Aitken wrote:
>> The cd mounts a regular file system ok and audio generally works
>> ok -- playing from a file works.
> 
> You're sure it's a normal audio CD? How actually is one supposed
> to mount audio CDs? They're _audio_ CD format, no ISO-9660 file
> system on them...?

By "normal" I mean it plays fine in a regular sound system, and on a windoze 
box via media player with the same CD player and the direct audio wire not 
hooked up.

>> Successive status requests look like it is progressing through
>> the CD just fine.
> 
> Does the CD drive maybe have an earphone connector so you
> can test if anything is output? I know most modern drives
> don't come with this connector anymore.

I'm using the earphones, and they work with mp3 files from disk.
Who said anything about "modern"?  
I thought all CDs came from old junk machines. :-)
Novel idea.  This cd has one, and I get audio from it.
So cdcontrol seems to be controlling operation just fine,
there's just no audio getting into the guts of the os.

>> The CD does not have any direct to mobo audio wire, only the ATA cable.
>> I'm assuming fbsd gets the audio down the ata cable, correct?
> 
> As far as I remember... NO.
> 
> I've been using FreeBSD with working CD audio in the past,
> but I always had the wire installed (in many different
> constellations, such as with using SCSI drives, using an
> individual sound card, or having multiple line-ins on
> the main board). _This_ method did always work.

Ugh.  
Mobo:
  ASUS M4A89TD Pro/USB3
doesn't even have a place to plug in the separate digital audio input cable.
At least not that I can identify.

Is anyone using this mobo with a CD for audio input?

> Just to make sure, check your mixer settings. Yes I know,
> it's stupid to emphasize it, but _I_ have been fallen
> into that trap already. :-)
> 
>   Mixer vol  is currently set to  75:75
>   Mixer pcm  is currently set to  50:50
>   Mixer cd   is currently set to   0:0
> 
> In _such_ a situation, missing sound is nothing special.

How about missing cd?

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer mix  is currently set to   0:0
Mixer rec  is currently set to  75:75
Mixer igainis currently set to 100:100
Mixer ogainis currently set to  50:50
Recording source: mic

I don't see any "cd".  Where does that come from?  There is a /dev/cd0:

ls -l /dev/cd0
crw-r-  1 root  operator0, 115 May 30 09:29 /dev/cd0

If I try to add "cd" to the list of devices, it claims it's not valid:

#mixer +rec cd
mixer: unknown recording device: cd
usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ...
   mixer [-f device] [-s | -S] recsrc ...
   mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ...
 devices: vol, pcm, line, mic, mix, rec, igain, ogain
 rec devices: line, mic, mix

What is the source for the "mix" device?
I tried upping it to 50% but still no sound.

"man snd" shows a boatload of possible bridge drivers, but kldstat only shows a 
few loaded:

%kldstat -v | grep "sound\|snd\|pcm"
252 uaudio/ua_pcm
250 sound
249 pci/snd_hda
248 hdac/snd_hda_pcm
247 pci/snd_via8233
246 pci/snd_ich
245 pci/snd_es137x

This mobo has an ALC892 codec.
dmesg shows:

hdac0:  mem 
0xfe9bc000-0xfe9b irq 25 at device 0.1 on pci5

hdac1:  mem 0xfe6f8000-0xfe6fbfff 
irq 16 at device 20.2 on pci0

I also see the following at the end of dmesg:

(cd0:ata2:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0
(cd0:ata2:0:0:0): CAM status: SCSI Status Error
(cd0:ata2:0:0:0): SCSI status: Check Condition
(cd0:ata2:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,11 (Reserved ASC/ASCQ pair)
(cd0:ata2:0:0:0): cddone: got error 0x16 back
(cd0:ata2:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB size to 10 bytes
(cd0:ata2:0:0:0): PLAY AUDIO MSF. CDB: 47 0 0 0 0 0 43 36 0 0
(cd0:ata2:0:0:0): CAM status: SCSI Status Error
(cd0:ata2:0:0:0): SCSI status: Check Condition
(cd0:ata2:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address 
out of range)
(cd0:ata2:0:0:0): PLAY AUDIO MSF. CDB: 47 0 0 0 2 0 43 36 0 0
(cd0:ata2:0:0:0): CAM status: SCSI Status Error
(cd0:ata2:0:0:0): SCSI status: Check Condition
(cd0:ata2:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address 
out of range)

Those last four are repeated four five times total, and then:

(cd0:ata2:0:0:0): READ SUB-CHANNEL. CDB: 42 2 40 2 0 0 0 0 18 0
(cd0:ata2:0:0:0): CAM status: SCSI Status Error
(cd0:ata2:0:0:0): SCSI status: Check Condition
(cd0:ata2:0:0:0): SCSI sense: ILLEGAL REQUEST asc:2c,0 (Command sequence error)

repeated a number of times.  It's not clear to me when they showed up, as 
pausing, resuming, ejecting, loading, and playing a cd 

Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Damien Fleuriot

On 31 May 2012, at 17:57, Jens Schweikhardt  wrote:

> hello, world\n
> 
> so I decided to try two HW technology advancements in one go.
> I have a brand new shiny 1TB USB3.0 external disk, that when plugged
> to an USB2(two!) reports
> 
>da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
>da5:  Fixed Direct Access SCSI-2 device
>da5: 40.000MB/s transfers
>da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)
> 
> and
> # diskinfo -v da5
> da5
>4096# sectorsize
>1000204886016   # mediasize in bytes (931G)
>244190646   # mediasize in sectors
>0   # stripesize
>0   # stripeoffset
>15200   # Cylinders according to firmware.
>255 # Heads according to firmware.
>63  # Sectors according to firmware.
>00A123456789# Disk ident.
> 
> 
> (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
> Strangely, I cannot mount it with
> # ll /dev/da5*
> crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
> crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
> # mount -t ntfs -o ro /dev/da5s1  /mnt
> mount_ntfs: /dev/da5s1: Invalid argument
> )
> 
> When I plug it to one of the two USB3.0 ports (using the xhci driver), I
> don't get device nodes in /dev created for it, but instead an ever
> growing list of
> 
>ugen4.2:  at usbus4
>umass2:  
> on usbus4
>ugen4.2:  at usbus4 (disconnected)
>umass2: at uhub4, port 4, addr 1 (disconnected)
> 
> The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
> can use the disk as well on the USB3.0 port, which makes me look for
> things I have missed. For example, my kernel config is stripped down
> quite a bit, so it might be that my custom kernel does not have all the
> necessary drivers built in or kldloaded. Do I need "device ada"? What is
> the magic needed to hook up 4k secotr drives via USB3.0?
> 
> Regards,
> 
>Jens
> -- 
> Jens Schweikhardt http://www.schweikhardt.net/
> SIGSIG -- signature too long (core dumped)
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Logic dictates that you try with GENERIC, see if that works any better 
;)___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Dennis Glatting



On Thu, 31 May 2012, Oscar Hodgson wrote:


The subject is pretty much the question.  Perhaps there's a better
place to be asking this question ...

We have (very briefly) discussed the possibility of using FreeBSD
pizza boxes as a storage heads direct attached to external JBOD arrays
with ZFS.  In perusing the list, I haven't stumbled across indications
of people actually doing this.  External JBODs would be running 24 to
48TB each, roughly.  There would be a couple of units.  The pizza
boxes would be used for computational tasks, and nominally would have
8 cores and 96G+ RAM.

Obvious questions are hardware compatibility and stability.  I've set
up small FreeBSD 9 machines with ZFS roots and simple mirrors for
other tasks here, and those have been successful so far.

Observations would be appreciated.




mc:

real memory  = 120259084288 (114688 MB)
FreeBSD/SMP: Multiprocessor System Detected: 64 CPUs
FreeBSD/SMP: 4 package(s) x 16 core(s)

mc>  zpool list
NAME SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
disk-1  14.5T  4.95T  9.55T34%  1.00x  ONLINE  -
disk-2   270G   297M   270G 0%  1.00x  ONLINE  -

disk-1, RAIDz1, uses Hitachi 4TB drives.



iirc:

real memory  = 68719476736 (65536 MB)
FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs
FreeBSD/SMP: 2 package(s) x 16 core(s)

iirc> zpool list
NAME SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
disk-1  18.1T  6.70T  11.4T36%  1.00x  ONLINE  -
disk-2  5.44T  3.05G  5.43T 0%  1.00x  ONLINE  -

disk-1, RAIDz1, uses a bunch of 2TB drives


I have another storage server named bd3 that has a RAIDz2 array of 2.5T 
drives (11 of them, IIRC) but it is presently powered down for 
maintenance.



btw:

real memory  = 25769803776 (24576 MB)
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 SMT threads

btw> zpool list
NAME SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
disk-1  9.06T  97.3G  8.97T 1%  1.00x  ONLINE  -
disk-2  9.06T  5.13T  3.93T56%  1.00x  ONLINE  -

Those are smaller RAIDz1 arrays of 1TB and 2TB drives, IIRC.


I also have three other systems, over clocked to 4GHz with 16GB of RAM and 
presently powered off, each with 3 or 4 2TB disks RAIDz1.



None of these systems have external arrays. The storage systems use common 
technologies, such as NFS, to export their space but their primary mission 
is manipulating (sort-of) big data and crypto attacks, though one is being 
converted to a Hadoop node for experimentation.


I have only had four issues over the past year and a half:

1) It is important to keep your ZFS patches up to date and the firmware in 
you controllers up to date. Failure to do this results in a => :(


2) Under heavy I/O my systems freeze for a few seconds. I haven't looked 
into why but they are completely unresponsive. Note I am also using 
compressed volumes (gzip), which puts a substantual load on the kernel.


3) I have had a number of disk failures -- not too many and not too few. 
These are merely an annoyance with no loss of data.


4) In two systems I use OCZ Revo drives. After several months of operating 
they go Tango Uniform, requiring a system boot where they return from the 
dead. None of my other SSD technologies exhibit the same problem.







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


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Mark Felder
I'm doing this with HP heads, LSI SAS adapters, and  
http://www.dataonstorage.com/ JBODs.


Note: the DataOn JBODs are very, very hard to get right now because these  
are really rebadged LSI devices and LSI sold this division to NetApp, who  
promptly shut it down to prevent people like us from making these types of  
storage backends. I don't know of anyone else who has stepped up to build  
similar devices using LSI parts.


http://www.netapp.com/us/company/news/news-rel-20110509-263500.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: editors/libreoffice:internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj

2012-05-31 Thread Jens Jahnke
Hi,

On Fri, 04 May 2012 14:12:17 +0200
"Hartmann, O."  wrote:

HO> I found myself incapable of rebuilding/updating editors/libreoffice
HO> on ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms
HO> with the very same error message as shown below.

I ran into the same issue on my 9-STABLE box at home today.
If I follow the steps provides in the error message it compiles a bit
further and gives the exact same error message some modules later.
Anyhow I stepped through them and finally got another error message:

<---snip--->
[ build CUT ] lotuswordpro_test_lotuswordpro
R=/usr/ports/editors/libreoffice/work && S=$R/libreoffice-core-3.5.2.2
&& O=$S/solver/unxfbsd.pro && W=$S/workdir/unxfbsd.pro &&  mkdir -p
$W/CppunitTest/ && (LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite
DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/
$O/bin/cppunit/cppunittester
$W/LinkTarget/CppunitTest/libtest_lotuswordpro_test_lotuswordpro.so
--headless --protector unoexceptionprotector.so unoexceptionprotector
"-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry"
"-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb"
"-env:UNO_SERVICES=file://$O/xml/ure/services.rdb
file://$O/xml/component/lotuswordpro/util/lwpfilter.component
file://$O/xml/configmgr.component  file://$O/xml/ucb1.component
file://$O/xml/ucpfile1.component"
-env:URE_INTERNAL_LIB_DIR=file://$O/lib  -env:LO_LIB_DIR=file://$O/lib
> $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log 2>&1 || 
(cat $W/CppunitTest/lotuswordpro_test_lotuswordpro.test.log && echo;
echo "Error: a unit test failed, please do one of:"; echo; echo "export
DEBUGCPPUNIT=TRUE# for exception catching"; echo "export
GDBCPPUNITTRACE=\"gdb --args\" # for interactive debugging"; echo
"export VALGRIND=memcheck# for memory checking" ; echo "and
retry." && false))

Abort trap (core dumped) File tested,Test
Result,Execution Time (ms)
file:///usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lotuswordpro/qa/cppunit/data/pass/A14.lwp,Signal
11 during cups initialization called, ignoring cups

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE# for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck# for memory checking
and retry.
gmake: ***
[/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/workdir/unxfbsd.pro/CppunitTest/lotuswordpro_test_lotuswordpro.test]
Error 1
<---snip--->

The mysterious thing is that I have a nearly identical box at the office
running 9-STABLE and there libreoffice compiles fine.
It only differs in two hardware components:
CPU is core2 at home and core5i at the office.
RAM is 4gb at home and 8gb at the office.

System on both is clean installed and updated 9-STABLE.

So maybe this is a memory/cpu issue?

Regards,

Jens

-- 
31. Wonnemond 2012, 19:29
Homepage : http://www.jan0sch.de

I can resist anything but temptation.


pgpMlDoVbuRz9.pgp
Description: PGP signature


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Kaya Saman
On Thu, May 31, 2012 at 6:28 PM, Damien Fleuriot  wrote:
> As a side note and in case you were considering, I strongly advise against 
> Linux + fuse ZFS.
>

Yes I agree; as far as I understand ZFS in Linux is still in testing
and in any case not part of the Linux kernel which means dramatic
performance degredation, like trying to use Firewire (IEEE1394) on any
thing other then a Mac,


Regards,

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


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Damien Fleuriot
As a side note and in case you were considering, I strongly advise against 
Linux + fuse ZFS.


On 31 May 2012, at 18:05, Oscar Hodgson  wrote:

> That helps.  Thank you.
> 
> This is an academic departmental instructional / research environment.
> We had a great relationship with Sun, they provided great
> opportunities to put Solaris in front of students.  Oracle, not so
> much, and the Oracle single-tier support model simply isn't affordable
> for this "business" (there's no ROI at the departmental level ).
> Solaris is not a viable option.
> 
> FreeBSD looks like the next best available option at the moment,
> particularly considering the use of the storage heads as compute
> machines.  OpenIndiana shows promise.  Nexenta has a great product,
> but the user community expects more flexibility in software options.
> 
> Is there anything like a list of "supported" (known good) SAS HBA's?
> 
> Oscar
> 
> On Thu, May 31, 2012 at 11:38 AM, Kaya Saman  wrote:
>> If this is any consellation I run a 36TB cluster using a self built
>> server with a Promise DAS (VessJBOD 1840) using ZFS at home! to
>> support my OpenSource projects and personal files.
>> 
>> As for OS take your pick: NexentaStor, FreeBSD, Solaris 11
>> 
>> 
>> All capable, of course Solaris has latest version of ZFS but still.
>> 
>> 
>> At work we're looking into getting a StorEdge appliance wich will
>> handle up to 140+ TB.
>> 
>> 
>> I am also in charge of redesigning one of our virtual SAN's to a
>> FreeBSD ZFS storage system which will run well how many JBOD's can
>> you fit on the system?? Probably round ~100TB or so.
>> 
>> 
>> Regards,
>> 
>> 
>> Kaya
>> 
>> 
>> On Thu, May 31, 2012 at 4:32 PM, Oscar Hodgson  
>> wrote:
>>> The subject is pretty much the question.  Perhaps there's a better
>>> place to be asking this question ...
>>> 
>>> We have (very briefly) discussed the possibility of using FreeBSD
>>> pizza boxes as a storage heads direct attached to external JBOD arrays
>>> with ZFS.  In perusing the list, I haven't stumbled across indications
>>> of people actually doing this.  External JBODs would be running 24 to
>>> 48TB each, roughly.  There would be a couple of units.  The pizza
>>> boxes would be used for computational tasks, and nominally would have
>>> 8 cores and 96G+ RAM.
>>> 
>>> Obvious questions are hardware compatibility and stability.  I've set
>>> up small FreeBSD 9 machines with ZFS roots and simple mirrors for
>>> other tasks here, and those have been successful so far.
>>> 
>>> Observations would be appreciated.
>>> 
>>> Oscar.
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 9.0 on SSD

2012-05-31 Thread Victor Sudakov
Warren Block wrote:
> >
> > I have installed 9.0-RELEASE on a SSD drive with the following
> > tweaking so far:
> >
> > 1. tmpmfs="YES" (WRKDIRPREFIX etc will go there too).
> >
> > 2. mount -o noatime
> >
> > 3. tunefs -t enable
> >
> > I have not done any tricky partition alignment, do I really need to? Is
> > anything else advisable?
> 
> If it's not aligned, there can be a pretty significant performance 
> drop.  Please show the output of 'gpart show' on that drive if it's GPT 
> (gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show 
> ada0 && gpart show ada0s1).

It was created by the "Auto" option of the new FreeBSD installer:

[sudakov@vas ~] gpart show ada0
=>   34  117231341  ada0  GPT  (55G)
 34128 1  freebsd-boot  (64k)
162  48928 2  freebsd-ufs  (53G)
  490905861376 3  freebsd-swap  (2.8G)
  117010466 220909- free -  (107M)

[sudakov@vas ~]

> 
> > There is one thing that worries me, why is TRIM not shown as enabled in
> > camcontrol output?
> >
> > [root@vas ~] tunefs -p /dev/ada0p2 | & grep -i trim
> > tunefs: trim: (-t) enabled
> > [root@vas ~] camcontrol identify ada0 | egrep '^Fea|TRIM'
> > Feature  Support  Enabled   Value   Vendor
> > data set management (TRIM) yes
> > [root@vas ~]
> 
> I think that no value there means it cannot be enabled or disabled; it's 
> always on.

Oh. Thanks.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Kaya Saman
On Thu, May 31, 2012 at 5:05 PM, Oscar Hodgson  wrote:
> That helps.  Thank you.
>
> This is an academic departmental instructional / research environment.
>  We had a great relationship with Sun, they provided great
> opportunities to put Solaris in front of students.  Oracle, not so
> much, and the Oracle single-tier support model simply isn't affordable
> for this "business" (there's no ROI at the departmental level ).
> Solaris is not a viable option.

We found Oracle to be the cheapest out of all the solutions we looked
at: Netapp, MSI, et el.

>
> FreeBSD looks like the next best available option at the moment,
> particularly considering the use of the storage heads as compute
> machines.  OpenIndiana shows promise.  Nexenta has a great product,
> but the user community expects more flexibility in software options.

FreeBSD is better then Linux in my opinion though lacking some
software and multimedia functionality that Linux has and not for the
Desktop as it's not as "bleeding edge" as say Fedora 16, however, if
FreeBSD offered Gnome3 and supported my wireless NIC I'd be all over
it like a "bad rash" :-)

>
> Is there anything like a list of "supported" (known good) SAS HBA's?

LSI HBA's are really good!

For my DIY solution at home I used a SuperMicro system board with
non-RAID LSI HBA...

It is a similar solution that we will use for our test NAS at work
though we already have a Dell R700 series server. For this setup
however I will need to use an LSI HBA with both internal and external
Mini-SAS ports.

Instead of Promise we will use NetStor JBOD solutions as they work
with 6Gbps drives and overall give better performance.

>
> Oscar

Regards,


Kaya

>
> On Thu, May 31, 2012 at 11:38 AM, Kaya Saman  wrote:
>> If this is any consellation I run a 36TB cluster using a self built
>> server with a Promise DAS (VessJBOD 1840) using ZFS at home! to
>> support my OpenSource projects and personal files.
>>
>> As for OS take your pick: NexentaStor, FreeBSD, Solaris 11
>>
>>
>> All capable, of course Solaris has latest version of ZFS but still.
>>
>>
>> At work we're looking into getting a StorEdge appliance wich will
>> handle up to 140+ TB.
>>
>>
>> I am also in charge of redesigning one of our virtual SAN's to a
>> FreeBSD ZFS storage system which will run well how many JBOD's can
>> you fit on the system?? Probably round ~100TB or so.
>>
>>
>> Regards,
>>
>>
>> Kaya
>>
>>
>> On Thu, May 31, 2012 at 4:32 PM, Oscar Hodgson  
>> wrote:
>>> The subject is pretty much the question.  Perhaps there's a better
>>> place to be asking this question ...
>>>
>>> We have (very briefly) discussed the possibility of using FreeBSD
>>> pizza boxes as a storage heads direct attached to external JBOD arrays
>>> with ZFS.  In perusing the list, I haven't stumbled across indications
>>> of people actually doing this.  External JBODs would be running 24 to
>>> 48TB each, roughly.  There would be a couple of units.  The pizza
>>> boxes would be used for computational tasks, and nominally would have
>>> 8 cores and 96G+ RAM.
>>>
>>> Obvious questions are hardware compatibility and stability.  I've set
>>> up small FreeBSD 9 machines with ZFS roots and simple mirrors for
>>> other tasks here, and those have been successful so far.
>>>
>>> Observations would be appreciated.
>>>
>>> Oscar.
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Oscar Hodgson
That helps.  Thank you.

This is an academic departmental instructional / research environment.
 We had a great relationship with Sun, they provided great
opportunities to put Solaris in front of students.  Oracle, not so
much, and the Oracle single-tier support model simply isn't affordable
for this "business" (there's no ROI at the departmental level ).
Solaris is not a viable option.

FreeBSD looks like the next best available option at the moment,
particularly considering the use of the storage heads as compute
machines.  OpenIndiana shows promise.  Nexenta has a great product,
but the user community expects more flexibility in software options.

Is there anything like a list of "supported" (known good) SAS HBA's?

Oscar

On Thu, May 31, 2012 at 11:38 AM, Kaya Saman  wrote:
> If this is any consellation I run a 36TB cluster using a self built
> server with a Promise DAS (VessJBOD 1840) using ZFS at home! to
> support my OpenSource projects and personal files.
>
> As for OS take your pick: NexentaStor, FreeBSD, Solaris 11
>
>
> All capable, of course Solaris has latest version of ZFS but still.
>
>
> At work we're looking into getting a StorEdge appliance wich will
> handle up to 140+ TB.
>
>
> I am also in charge of redesigning one of our virtual SAN's to a
> FreeBSD ZFS storage system which will run well how many JBOD's can
> you fit on the system?? Probably round ~100TB or so.
>
>
> Regards,
>
>
> Kaya
>
>
> On Thu, May 31, 2012 at 4:32 PM, Oscar Hodgson  
> wrote:
>> The subject is pretty much the question.  Perhaps there's a better
>> place to be asking this question ...
>>
>> We have (very briefly) discussed the possibility of using FreeBSD
>> pizza boxes as a storage heads direct attached to external JBOD arrays
>> with ZFS.  In perusing the list, I haven't stumbled across indications
>> of people actually doing this.  External JBODs would be running 24 to
>> 48TB each, roughly.  There would be a couple of units.  The pizza
>> boxes would be used for computational tasks, and nominally would have
>> 8 cores and 96G+ RAM.
>>
>> Obvious questions are hardware compatibility and stability.  I've set
>> up small FreeBSD 9 machines with ZFS roots and simple mirrors for
>> other tasks here, and those have been successful so far.
>>
>> Observations would be appreciated.
>>
>> Oscar.
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-31 Thread John Baldwin
On Thursday, May 31, 2012 11:11:11 am Mark Felder wrote:
> So when this hang happens, there never is a real panic. It just sits in a  
> state which I describe as like being in a deadlock. How would I go about  
> getting a crashdump if it never panics? Is it possible to do the dump over  
> a network or something because I don't believe it can write through the  
> controller at all.

You can break into ddb and run 'call doadump'.  It should use polled IO, so 
there is a slight chance of it working.

> Also, thank you for the KTR_SCHED tip. This is the type of info I was  
> looking for. Unfortunately I've only ever seen this crash once on a kernel  
> with debugging enabled. The machine which is currently prepared to do this  
> work used to crash a few times a week and now it has 70 days uptime...  
> however, it is an example of a machine with mpt0 and em0 sharing an IRQ so  
> I might be able to trigger it using Dane's method.
> 
> $ vmstat -i
> interrupt  total   rate
> irq1: atkbd0 392  0
> irq6: fdc0 9  0
> irq14: ata0   34  0
> irq18: em0 mpt0   1189748491218
> cpu0: timer   2174263198400
> Total 3364012124619
> 
> 
> I'm doing my best to get you guys the info you need, but this is one heck  
> of a Heisenbug...

Thanks.

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


How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Jens Schweikhardt
hello, world\n

so I decided to try two HW technology advancements in one go.
I have a brand new shiny 1TB USB3.0 external disk, that when plugged
to an USB2(two!) reports

da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
da5:  Fixed Direct Access SCSI-2 device
da5: 40.000MB/s transfers
da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

and
# diskinfo -v da5
da5
4096# sectorsize
1000204886016   # mediasize in bytes (931G)
244190646   # mediasize in sectors
0   # stripesize
0   # stripeoffset
15200   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.
00A123456789# Disk ident.


(The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
Strangely, I cannot mount it with
# ll /dev/da5*
crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
# mount -t ntfs -o ro /dev/da5s1  /mnt
mount_ntfs: /dev/da5s1: Invalid argument
)

When I plug it to one of the two USB3.0 ports (using the xhci driver), I
don't get device nodes in /dev created for it, but instead an ever
growing list of

ugen4.2:  at usbus4
umass2:  on 
usbus4
ugen4.2:  at usbus4 (disconnected)
umass2: at uhub4, port 4, addr 1 (disconnected)

The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
can use the disk as well on the USB3.0 port, which makes me look for
things I have missed. For example, my kernel config is stripped down
quite a bit, so it might be that my custom kernel does not have all the
necessary drivers built in or kldloaded. Do I need "device ada"? What is
the magic needed to hook up 4k secotr drives via USB3.0?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Kaya Saman
If this is any consellation I run a 36TB cluster using a self built
server with a Promise DAS (VessJBOD 1840) using ZFS at home! to
support my OpenSource projects and personal files.

As for OS take your pick: NexentaStor, FreeBSD, Solaris 11


All capable, of course Solaris has latest version of ZFS but still.


At work we're looking into getting a StorEdge appliance wich will
handle up to 140+ TB.


I am also in charge of redesigning one of our virtual SAN's to a
FreeBSD ZFS storage system which will run well how many JBOD's can
you fit on the system?? Probably round ~100TB or so.


Regards,


Kaya


On Thu, May 31, 2012 at 4:32 PM, Oscar Hodgson  wrote:
> The subject is pretty much the question.  Perhaps there's a better
> place to be asking this question ...
>
> We have (very briefly) discussed the possibility of using FreeBSD
> pizza boxes as a storage heads direct attached to external JBOD arrays
> with ZFS.  In perusing the list, I haven't stumbled across indications
> of people actually doing this.  External JBODs would be running 24 to
> 48TB each, roughly.  There would be a couple of units.  The pizza
> boxes would be used for computational tasks, and nominally would have
> 8 cores and 96G+ RAM.
>
> Obvious questions are hardware compatibility and stability.  I've set
> up small FreeBSD 9 machines with ZFS roots and simple mirrors for
> other tasks here, and those have been successful so far.
>
> Observations would be appreciated.
>
> Oscar.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Anyone using freebsd ZFS for large storage servers?

2012-05-31 Thread Oscar Hodgson
The subject is pretty much the question.  Perhaps there's a better
place to be asking this question ...

We have (very briefly) discussed the possibility of using FreeBSD
pizza boxes as a storage heads direct attached to external JBOD arrays
with ZFS.  In perusing the list, I haven't stumbled across indications
of people actually doing this.  External JBODs would be running 24 to
48TB each, roughly.  There would be a couple of units.  The pizza
boxes would be used for computational tasks, and nominally would have
8 cores and 96G+ RAM.

Obvious questions are hardware compatibility and stability.  I've set
up small FreeBSD 9 machines with ZFS roots and simple mirrors for
other tasks here, and those have been successful so far.

Observations would be appreciated.

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


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-31 Thread Mark Felder
So when this hang happens, there never is a real panic. It just sits in a  
state which I describe as like being in a deadlock. How would I go about  
getting a crashdump if it never panics? Is it possible to do the dump over  
a network or something because I don't believe it can write through the  
controller at all.


Also, thank you for the KTR_SCHED tip. This is the type of info I was  
looking for. Unfortunately I've only ever seen this crash once on a kernel  
with debugging enabled. The machine which is currently prepared to do this  
work used to crash a few times a week and now it has 70 days uptime...  
however, it is an example of a machine with mpt0 and em0 sharing an IRQ so  
I might be able to trigger it using Dane's method.


$ vmstat -i
interrupt  total   rate
irq1: atkbd0 392  0
irq6: fdc0 9  0
irq14: ata0   34  0
irq18: em0 mpt0   1189748491218
cpu0: timer   2174263198400
Total 3364012124619


I'm doing my best to get you guys the info you need, but this is one heck  
of a Heisenbug...

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


Re: Hardware compatability question

2012-05-31 Thread Kaya Saman
Hi,

it's not really about the machines but more the hardware.

FreeBSD is quite diverse in what it can run on so best bet check the
HCL's off the www.freebsd.org website as that would give you the best
idea!

Otherwise just install and see what works and doesn't. FreeBSD is
pretty comprehensive of H/W support.



I would say if you were moving away from MS, FreeBSD is a great choice
and probably the best out there providing you don't need something
specific - you will need to get used to the CLI environment but once
that's worked out it's a sinch.


I am now introducing *BSD to my company too and trying to move them
away from Linux which has it's own caveats.


Good luck with the move, I'd love to give you a full-blown sales pitch
but unfortunatley don't have time right now. - though it would be
kinda useless as FreeBSD really sells itself if you know what it can
do for you!


Regards,


Kaya


On Thu, May 31, 2012 at 3:23 PM,   wrote:
>
>     Hello,
>   I am moving away from MS products due to security  and stability
>   concerns.  Below are the machines I use and would like  to know which
>   version of FreeBSD will work best with each.  The compu ters are used
>   at home and away, for e-mail, preparing documents, databases , and
>   spredsheets, as well as, web browsing and some begining programing    
> (Perl, C, HTML, and Assembely I think).
>   Here are the notes on my machines:
>   HP Compaq CQ5300Y
>   MOBO M2N68-LA (Narra5)
>   AMD Sempron LE-1300 2.30GHz
>   Vidio Card NVIDIA GeForce  6150SE nForce 430
>   RAM: PC2-6400 MB/sec 2 Gigs RAM
>   HD: WDC WD32 00AAJS-65M0A SCSI 320 Gig HD
>   Toshiba Satel lite A205-S5880
>   Intel Pentium Dual CPU T2390 @ 1.86 GH
>   Vidio Card: Mobile Intel 965 Express Chipset
>   RAM: 3 Gigs
>      HD: Toshiba MK2046GSX ATA
>   Both where bought new and  are stock off the shelf models.
>   Thank you for your fine efforts  and your time in this,
>   Phnxcs_rep
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-05-31 Thread John Baldwin
On Wednesday, May 30, 2012 3:56:02 pm Mark Felder wrote:
> On Wed, 30 May 2012 12:17:07 -0500, John Baldwin  wrote:
> 
> >
> > Humm, can you test it with 2 CPUs?
> >
> 
> We primarily only run with 1 CPU. We have seen it crash on multiple CPU  
> VMs. Also, Dane Foster appeared to have been using multiple CPUs in his  
> video transcoding VMs.
> 
> Unfortunately I can't give you more information at the moment. I'm working  
> with Dane to compile easy to follow steps that recreate this failure. I  
> have not been successful in getting this to crash on demand in my  
> environment, but Dane has so we're trying to recreate his.

Ok.  It would be really helpful if we could get a crashdump, though I realize 
that may not be doable.  Otherwise, full DDB ps output from a hang would be a 
good start.  Primarily I would want to see what the system is doing and why it 
isn't running the threads on the run queue.  It might also be useful to add 
KTR_SCHED tracing so we can get the output of that via 'show ktr' from DDB 
when it hangs.

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


FreeBSD9 fails to install on HP Proliant (crash)

2012-05-31 Thread Ewald Jenisch

Hi,

I'm trying to install FreeBSD9 (64bit) on a HP Proliant server 
(ProLiant DL385 G1). Installation is done via remote-management
("iLO") basically by mounting the Installation-ISO.

However a couple of seconds after booting the box crashes.

Here's what I tried already:

o) Re-download the installation ISO - same checksum - same result

o) Instead of booting directly I issued the following two commands 
on the loader prompt:

set kern.eventtimer.periodic=1
set kern.eventtimer.timer="LAPIC"

followed by "boot"

Neither of these helped.

To cross-check I tried booting of a FreeBSD 8 installation media - no
problems at all (besides that the machine is running FreeBSD8
currently without problems)


Any clue what could be wrong here and what I can do in order to make
this box boot from the installation media?

Thanks much in advance for your help,
-ewald

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


Re: fsck on a mounted fs as read-only

2012-05-31 Thread Warren Block

On Thu, 31 May 2012, Polytropon wrote:


On Thu, 31 May 2012 14:19:33 +0400, dmi...@zhigulinet.ru wrote:

Good afternoon.
Could not tell whether you can run fsck on checking mounted
file system as read-only, if prior to that with which the parameters


ftp # mount
...
/ dev/aacd0 on / var / ftp (ufs, NFS exported, local, read-only)

Launched with these parameters and this is what gives

ftp # fsck -yf / dev/aacd0
** / Dev/aacd0 (NO WRITE)
** Last Mounted on / var / ftp
** Phase 1 - Check Blocks and Sizes

As I understand it does not fix the fsck filesystem.


Correct. For file system modifications the file system may not
be mounted because "lower level operations" maybe will take
place. In your current setting, only checks will be performed,
but _if_ something needs to be modified, it will not happen.
The reason: It _might_ affect the file system to change, even
if it's "just" in read-only state.

Solution: Unmount the file system and re-run fsck.


fsck(8) can work on filesystems mounted read only.  If, say, 
graphics/cairo causes X to crash the machine, rebooting into single-user 
mode and running

# fsck -y -t ufs
will clean up the read-only mounted / also.  Agreed that this should be 
avoided if possible, but sometimes it is necessary.

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


Re: 9.0 on SSD

2012-05-31 Thread Warren Block

On Thu, 31 May 2012, Victor Sudakov wrote:


Colleagues,

I have installed 9.0-RELEASE on a SSD drive with the following
tweaking so far:

1. tmpmfs="YES" (WRKDIRPREFIX etc will go there too).

2. mount -o noatime

3. tunefs -t enable

I have not done any tricky partition alignment, do I really need to? Is
anything else advisable?


If it's not aligned, there can be a pretty significant performance 
drop.  Please show the output of 'gpart show' on that drive if it's GPT 
(gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show 
ada0 && gpart show ada0s1).



There is one thing that worries me, why is TRIM not shown as enabled in
camcontrol output?

[root@vas ~] tunefs -p /dev/ada0p2 | & grep -i trim
tunefs: trim: (-t) enabled
[root@vas ~] camcontrol identify ada0 | egrep '^Fea|TRIM'
Feature  Support  Enabled   Value   Vendor
data set management (TRIM) yes
[root@vas ~]


I think that no value there means it cannot be enabled or disabled; it's 
always on.

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


Re: fsck on a mounted fs as read-only

2012-05-31 Thread Nikos Vassiliadis

On 5/31/2012 12:19 PM, dmi...@zhigulinet.ru wrote:

Good afternoon.
Could not tell whether you can run fsck on checking mounted file system as 
read-only, if prior to that with which the parameters


ftp # mount
...
/ dev/aacd0 on / var / ftp (ufs, NFS exported, local, read-only)


Could you copy & paste the exact lines?
The "/ dev/aacd0 on" & "on / var / ftp" parts make no sense to me.
It should be:
some_dev on some_dir (ufs, NFS exported, local, read-only)



Launched with these parameters and this is what gives

ftp # fsck -yf / dev/aacd0
** / Dev/aacd0 (NO WRITE)
** Last Mounted on / var / ftp
** Phase 1 - Check Blocks and Sizes

As I understand it does not fix the fsck filesystem.



fsck filesystem_goes_here
for example "fsck /dev/ada0s1a"
or
fsck mount_point_goes_here
for example "fsck /"

You are probably trying to fsck the wrong device...

Rebooting to single user and fscking the RO mounted / fs works as usual.
Please provide more info.

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


Re: Audio CD issue -- most everything but noise

2012-05-31 Thread Polytropon
On Thu, 31 May 2012 00:38:46 -0600, Gary Aitken wrote:
> The cd mounts a regular file system ok and audio generally works
> ok -- playing from a file works.

You're sure it's a normal audio CD? How actually is one supposed
to mount audio CDs? They're _audio_ CD format, no ISO-9660 file
system on them...?



> Successive status requests look like it is progressing through
> the CD just fine.

Does the CD drive maybe have an earphone connector so you
can test if anything is output? I know most modern drives
don't come with this connector anymore.



> The CD does not have any direct to mobo audio wire, only the ATA cable.  
> I'm assuming fbsd gets the audio down the ata cable, correct?

As far as I remember... NO.

I've been using FreeBSD with working CD audio in the past,
but I always had the wire installed (in many different
constellations, such as with using SCSI drives, using an
individual sound card, or having multiple line-ins on
the main board). _This_ method did always work.

Just to make sure, check your mixer settings. Yes I know,
it's stupid to emphasize it, but _I_ have been fallen
into that trap already. :-)

Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  50:50
Mixer cd   is currently set to   0:0

In _such_ a situation, missing sound is nothing special.



> Thanks for any helpful hints, I'm totally confused.

The FreeBSD ATAPI subsystem has been done many changes to
in the recent years. Maybe CD-Audio functionality has been
lost during that way? It's not the first time it's being
discussed on list...




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on a mounted fs as read-only

2012-05-31 Thread Polytropon
On Thu, 31 May 2012 14:19:33 +0400, dmi...@zhigulinet.ru wrote:
> Good afternoon.
> Could not tell whether you can run fsck on checking mounted
> file system as read-only, if prior to that with which the parameters
> 
> 
> ftp # mount
> ...
> / dev/aacd0 on / var / ftp (ufs, NFS exported, local, read-only)
> 
> Launched with these parameters and this is what gives
> 
> ftp # fsck -yf / dev/aacd0
> ** / Dev/aacd0 (NO WRITE)
> ** Last Mounted on / var / ftp
> ** Phase 1 - Check Blocks and Sizes
> 
> As I understand it does not fix the fsck filesystem.

Correct. For file system modifications the file system may not
be mounted because "lower level operations" maybe will take
place. In your current setting, only checks will be performed,
but _if_ something needs to be modified, it will not happen.
The reason: It _might_ affect the file system to change, even
if it's "just" in read-only state.

Solution: Unmount the file system and re-run fsck.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


fsck on a mounted fs as read-only

2012-05-31 Thread dmitry
Good afternoon.
Could not tell whether you can run fsck on checking mounted file system as 
read-only, if prior to that with which the parameters


ftp # mount
...
/ dev/aacd0 on / var / ftp (ufs, NFS exported, local, read-only)

Launched with these parameters and this is what gives

ftp # fsck -yf / dev/aacd0
** / Dev/aacd0 (NO WRITE)
** Last Mounted on / var / ftp
** Phase 1 - Check Blocks and Sizes

As I understand it does not fix the fsck filesystem.

-- 
С уважением,
 Dmitry  mailto:dmi...@zhigulinet.ru

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


Re: Address to reach human operator regarding problems with list?

2012-05-31 Thread Thomas Mueller
> freebsd-questions-owner@... is correct, except that to my knowledge
> there isn't really a moderator for freebsd-questions (it's an open list
> that anyone can post to without having to be a member) and that address
> ultimately gets dealt with by postmas...@freebsd.org.

> The message you got about "held for moderation" is standard boiler-plate
> from mailman, and probably not appropriate for your specific circumstances.

> On the whole though, you shouldn't need to contact anyone about the
> warning you received.   It generally occurs when your mail system
> rejects messages from the freebsd-questions@... list as spam.  As there
> is a certain amount of spam that does appear on the list, this is an
> absolutely legitimate practice: trouble is, it's hard for the FreeBSD
> mail system to distinguish deliberate non-acceptance of spam from
> accidental non-acceptance of traffic due to a broken mailer.

> Mailman has an adaptive system that scores you based on how many rejects
> you generate in a certain time period.  If you log into mailman at eg.
> http://lists.freebsd.org/mailman/options/freebsd-questions
> you can see your current score.  Mine is currently 2.0 (out of 5.0) and
> has been about that for quite some time.  So long as your score is not
> too large, I wouldn't worry about the message you received.  Even if
> your score does go over the threshold, you can just use that same
> interface to re-enable delivery.



> Cheers,



> Matthew

> Dr Matthew J Seaman MA, D.Phil.

I contacted my Internet service provider, Insight Cable, about the problem, and 
they need a copy of any message that bounces, so they can see what went awry.

So I can't just ignore the problem.

Maybe I should resend the message to postmas...@freebsd.org instead of 
freebsd-questions-ow...@freebsd.org?

This problem relates to FreeBSD emailing lists in general, not just one list 
such as questions@ .

Now I see at http://lists.freebsd.org/mailman/listinfo ,

If you are having trouble using the lists, please contact mail...@freebsd.org.

There was also a line in the probe message :

For further assistance, please send mail to postmaster.

So now the choice is between mail...@freebsd.org and postmas...@freebsd.org ; I 
sent to mailman.

Tom

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


Re: mercurial (hg) transaction abort!

2012-05-31 Thread Anton Shterenlikht
On Thu, May 31, 2012 at 09:47:06AM +0100, Anton Shterenlikht wrote:
> On Wed, May 30, 2012 at 01:40:00PM +0100, Anton Shterenlikht wrote:
> > On Wed, May 30, 2012 at 01:08:07PM +0200, uki wrote:
> > > Did you try to hg clone -U and than update?
> > > 
> > > Mozilla repo is quite big, and that _might_ be the reason, splitting
> > > the work in 2 parts will help if that was the cause.
> 
> still the same:
> 
> # hg clone -U http://hg.mozilla.org/mozilla-central/
> destination directory: mozilla-central
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> ransaction abort!
> rollback completed
> abort: connection ended unexpectedly
> #
> 
> I'll submit a bug report to mozilla.

If anybody else is interested, here's my bug report:

https://bugzilla.mozilla.org/show_bug.cgi?id=760014

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mercurial (hg) transaction abort!

2012-05-31 Thread Anton Shterenlikht
On Wed, May 30, 2012 at 01:40:00PM +0100, Anton Shterenlikht wrote:
> On Wed, May 30, 2012 at 01:08:07PM +0200, uki wrote:
> > Did you try to hg clone -U and than update?
> > 
> > Mozilla repo is quite big, and that _might_ be the reason, splitting
> > the work in 2 parts will help if that was the cause.

still the same:

# hg clone -U http://hg.mozilla.org/mozilla-central/
destination directory: mozilla-central
requesting all changes
adding changesets
adding manifests
adding file changes
ransaction abort!
rollback completed
abort: connection ended unexpectedly
#

I'll submit a bug report to mozilla.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: starting xfce4 reboots machine

2012-05-31 Thread Joe Gain
On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble  wrote:
> On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble wrote:
>
>>
>>
>> On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble wrote:
>>
>>>
>>>
>>> On Mon, May 28, 2012 at 7:42 AM, Warren Block  wrote:
>>>
 On Sun, 27 May 2012, Waitman Gobble wrote:

  Hi,
>
> I've been running FreeBSD 10.0-CURRENT for some months, last time i
> rebuilt
> the system was April 20th. I've rebooted my machine many times and
> started
> X and Xfce4 without any trouble, however today I'm out of town on the
> road
> and when I startx my machine reboots. If I log in as root and startx i
> can
> run xorg without xfce4. but if i try startxfce4 the machine reboots. If
> I
> try to startx without xfce4 from my non-root account it locks up.
> It's pretty quick and nothing I can see in the logs...
>
> Anyone have any ideas about troubleshooting??? It seems like it's out of
> the blue with no changes to the system that I recall. :)
>

 First, make sure you have cairo-1.10 instead of 1.12.  After that, run
 pkg_libchk from sysutils/bsdadminscripts.  Rebuild anything that says it is
 missing libxfce4-utils.

 After that, well, I still see some unsteadiness from xfce-4.10. There's
 a long delay on start, like a DNS timeout (but I have working DNS).
  Switching to console works, switching back usually does not, rebooting the
 machine.  Leaving X and starting again reboots the machine.  These last two
 could be due to the recent X upgrade, except I'm pretty sure they did not
 happen until xfce-4.10.

>>>
>>> thanks. i'll check it out..
>>>
>>> Waitman
>>>
>>>
>> spending some time troubleshooting this. it's a weird harold, the machine
>> runs fine for days doing various things (but if i want X i have to log in
>> as root first and startx, otherwise instant reboot). I've noticed that if i
>> do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap
>> of a finger instantly.
>>
>> I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll
>> have to re-add somehow, might have to build from source if it won't stop
>> rebooting :)
>>
>> i'll try the pkg_libchk
>>
>> Thanks,
>>
>> Waitman
>>
>>
> this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with
> the zero-byte files.. i did do a pkg_delete but didn't expect to see this.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Can't help with a solution.

I had a very similar problem. I'm following 9.0-STABLE (rev. 235976
ca. week old) using xfce and have a thinkpad laptop with intel
on-board graphics chip. My problems started when I updated the cairo
port, and at the time I couldn't really believe that cairo was the
cause of _the_ problem, because of the way X was crashing. What was
even more frustrating was that the Xorg log file was not revealing
anything other than "unknown error" and segfault. So, I didn't know
what to do for a while, and after spending a couple of days looking
for an answer, downgrading cairo fixed that issue.

Couple of days later the new xfce is also available, and I have had no
problems running it, on stable with downgraded (currently current
again*) cairo. Be sure to read UPDATING with respect to xfce4-utils
etc.

It would be interesting to hear from someone who knows what's going on
as this is the first major hiccup that I've had using freebsd.

Thanks, Joe

* 
http://www.freshports.org/commit.php?category=graphics&port=cairo&files=yes&message_id=201205260354.q4q3sboi042...@repoman.freebsd.org
-- 
joe gain

jacob-burckhardt-str. 16
78464 konstanz
germany

+49 (0)7531 60389

(...otherwise in ???)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"