Re: [gentoo-user] hp H222 SAS controller

2013-07-04 Thread Stefan G. Weichinger
Am 03.07.2013 21:34, schrieb Paul Hartman:
 On Wed, Jul 3, 2013 at 2:29 AM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 03.07.2013 00:42, schrieb Paul Hartman:
 On Tue, Jul 2, 2013 at 2:56 PM, Stefan G. Weichinger li...@xunil.at wrote:

 Does anyone use that controller with gentoo?

 If yes, which driver/module does support it?

 I ordered one for a server and did not really check the facts ;-)

 Looks like it uses the LSI SAS2008 chipset (basically LSI controller
 with HP branding), so you should enable kernel module mpt2sas
 (CONFIG_SCSI_MPT2SAS) and probably some other SAS-related options will
 be required as well if you don't already use them.

 I actually just installed a card with this same chipset in my Gentoo
 machine yesterday! I have not attached disks to it yet, as I am
 waiting for the enclosure to be delivered, but so far nothing froze or
 burst into flames when the module loaded. :)  I even upgraded the BIOS
 and firmware on the card from within linux and everything seems okay,
 so far.

 Thanks a lot, Paul, for that feedback. Seems that you will be the first
 to really test it, my box will arrive next week, I assume. This will be
 an installation from scratch so no SAS-related stuff there already.

 I wonder if it makes sense to attach the disks to that adapter as well?
 This box will do amanda backups ... so there will be the amanda holding
 disk and it is important to have maximum speed between that holding area
 and the tape drive. I plan RAID1 on 2x2TB disks at least or maybe even
 RAID0 (it's a rather temporary storage area so the redundancy isn't that
 important). Testing will show!
 
 Mine will be attached to an external 8-disk storage array with 2
 external SAS cables (4 disks per cable). I had a 5-disk 8TB software
 RAID5 in my computer that I had to remove due to an unplanned
 motherboard upgrade. Right now the disks are in a cheap external
 5-disk eSATA/USB JBOD enclosure plugged into the eSATA port on my
 motherboard, but it's not able to access all disks at the same time,
 so the RAID5 performance is awful. Around 10-20 MB/sec on writes and
 max 50MB/sec on reads. (It was previously 100MB+/sec for both
 operations.)
 
 In the eSATA enclosure, a single scrub (check) of my array takes FOUR
 DAYS to complete! I worry about what will happen if I have to replace
 a disk, the rebuild would take forever... what if there is a power
 outage and my UPS battery only lasts around 30 minutes?
 
 I bought two of the lowest-quality 4tb Seagate drives for US$140 each
 on sale and plan to use them to make a backup copy of my files from
 the RAID onto those drives. So far I have never made a backup of my
 RAID because I never had enough storage space to duplicate it all.
 RAID is not a backup has been repeating in my head for all these
 years. Horror stories about a corrupt filesystem, or 1 bad sector
 causing the whole RAID5 rebuild to fail. Now that I will have extra
 drive bays, maybe I can add a second parity drive and try to do an
 online upgrade from RAID5 to RAID6. I definitely want to make a good
 backup before I try that...
 
 I am hopeful that the SAS controller and enclosure should give me high
 performance again! I will let you know how it goes.
 
 BTW, I am using the latest 3.9 series linux kernel.

My planned box will be a stable gentoo installation so that will mean
3.8.13 for now. No problem, I assume.

Thanks for your description ... good luck with that!
I will maybe pre-install that system in a VM until the hardware gets
here ;-)

Stefan




Re: [gentoo-user] Gentoo installation, network adapter not supported

2013-07-04 Thread Stroller

On 3 July 2013, at 17:28, Zind wrote:
 ...
 Use an external network adapter, uh... I never thought of that.
 AFAIK, many USB netwok adapters won't work correctly with Linux.

My experience has been the opposite, that even the cheapest USB network 
adaptors have worked.

Maybe I've just been lucky and this is not the norm, but from what I've seen 
USB network adapters don't work with Linux is the sort of thing that might 
have been true 10 years ago.

 Previously, I bought a Mercury MW300U USB network adapter, unfortunately,
 it doesn't work properly with Ubuntu 12.04. Then, that USB network adapter
 was left in the corner of my room. :-(

Again, based on my experience, I might be wrong, the only thing I can guess is 
that this USB NIC featured a very recent chipset at the time Ubuntu 12.04 was 
packaged or released.

 2. For each emerge command in the installation guide, run `emerge -fp
 package-name` first, and redirect the output into a textfile. 
 
 IIRC, the LiveUSB is a read-only file system. So, I'm afraid that I could
 not redirect the required package information to a text file.

Well, the LiveUSB is a read-only file system, but you're installing Gentoo onto 
some kind of writable filesystem - an SSD or hard-disk. 

When I say for each emerge command in the installation guide, these are the 
commands which compile packages and save the files on the hard-disk. So as a 
temporary measure you could save the textfile in the root directory of the new 
install; the computer probably supports USB flash-drives, which you can write 
to from the LiveCD - use another tmux window or virtual terminal if necessary.

Gentoo installation is really flexible - the whole process is basically about 
writing a bunch of files to the hard-drive. With an appreciation of that, it 
doesn't matter how you get those files on the hard-disk - you can use any 
alternate way you can think of.

Stroller. 




[gentoo-user] [OT] What's up with Firefox?

2013-07-04 Thread Peter Humphrey
Sorry to be a nuisance but I can't think of where else to ask.

On the website I run I have a link to our Twitter profile (or whatever it's 
called). This is the link:

https://twitter.com/TideswellMVC

If I examine the page using the web host's file editor I see exactly that, 
yet if I press CTRL-U in www-client/firefox-17.0.7 it shows this:

https://twitter.com/#%21/TideswellMVC

and if I click the link in the main window I'm asked for a login and 
password.

Trying the latest Windows version of Firefox in an XP virtual box I get the 
unaltered link. I can't tell what version that is because About Firefox 
merely checks, then tells me I'm up to date.

Incidentally, I have a web server running on my LAN with an identical copy 
of the site. Using that as the target, rather than the public version, gives 
the same results.

I haven't used JavaScript anywhere.

What's going on here?

-- 
Peter




Re: [gentoo-user] [OT] What's up with Firefox?

2013-07-04 Thread Kevin Thompson

On Jul 4, 2013, at 10:29, Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 Sorry to be a nuisance but I can't think of where else to ask.
 
 On the website I run I have a link to our Twitter profile (or whatever it's 
 called). This is the link:
 
https://twitter.com/TideswellMVC
 
 If I examine the page using the web host's file editor I see exactly that, 
 yet if I press CTRL-U in www-client/firefox-17.0.7 it shows this:
 
https://twitter.com/#%21/TideswellMVC
 
 and if I click the link in the main window I'm asked for a login and 
 password.
 
 Trying the latest Windows version of Firefox in an XP virtual box I get the 
 unaltered link. I can't tell what version that is because About Firefox 
 merely checks, then tells me I'm up to date.
 
 Incidentally, I have a web server running on my LAN with an identical copy 
 of the site. Using that as the target, rather than the public version, gives 
 the same results.
 
 I haven't used JavaScript anywhere.
 
 What's going on here?
 
 -- 
 Peter
 
 

What architecture are you running this on? What USE flags are enabled with 
Firefox?


[gentoo-user] Libreoffice 4..1.0.1

2013-07-04 Thread Silvio Siefke
Hello, 

i has trouble with build of libreoffice Version 4.1.0.1. The configure
Script break with the follow message:

checking for CLUCENE... yes
checking for CLucene/analysis/cjk/CJKAnalyzer.h... no
configure: error: Your version of libclucene has contribs-lib missing.

!!! Please attach the following file when seeking support:
!!! 
/var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1/config.log
 * ERROR: app-office/libreoffice-4.1.0.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *  ebuild.sh, line   93:  Called src_configure
 *environment, line 7190:  Called econf 
'--docdir=/usr/share/doc/libreoffice-4.1.0.1/' '--with-system-headers' 
'--with-system-libs' '--with-system-jars' '--with-system-dicts' 
'--enable-cairo-canvas' '--enable-graphite' '--enable-largefile' 
'--enable-mergelibs' '--enable-python=system' '--enable-randr' 
'--enable-randr-link' '--enable-release-build' '--enable-hardlink-deliver' 
'--disable-ccache' '--disable-crashdump' '--disable-dependency-tracking' 
'--disable-epm' '--di


Im not sure what mean. I search in gentoo forum, there is talking about
multilib, but i use 32 bit System not 64 so this can not be my problem or?


gentoo-desk clucene # emerge --info =libreoffice-4.1.0.1
Portage 2.1.12.2 (default/linux/x86/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 
3.4.49 i686)
=
 System Settings
=
System uname: 
Linux-3.4.49-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-gentoo-2.2
KiB Mem: 1019964 total,101408 free
KiB Swap:2047996 total,   2041192 free
Timestamp of tree: Wed, 03 Jul 2013 21:30:01 +
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:  4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python:  2.7.5, 3.2.5-r1
dev-util/cmake:   2.8.10.2-r2
dev-util/pkgconfig:   0.28
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf:   2.13, 2.69
sys-devel/automake:   1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:   2.23.1
sys-devel/gcc:4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:   2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=* -@EULA
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo
CXXFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -march=i686 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs 
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch
FFLAGS=-O2 -march=i686 -pipe
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=de_DE.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --human-readable --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa berkdb bindist bluetooth branding bzip2 cairo cdda 
cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode 
exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms libnotify 
mad mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam 
pango pcre pdf png policykit ppds python qt3support qt4 readline sdl session 
spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks 
unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib ABI_X86=32 
ALSA_CARDS=intel APACHE2_MODULES=authn_core authz_core socache_shmcb unixd 
actions alias auth_basic authn_alias authn_anon authn_dbm authn_default 
authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner 
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache 
env expires ext_filter file_cache filter headers include info log_config logio 
mem_cache mime mime_magic negotiation rewrite setenvif speling stat
 us unique_id userdir usertrack vhost_alias CALLIGRA_FEATURES=kexi words flow 
plan sheets stage tables krita karbon braindump author CAMERAS=ptp2 
COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog 
ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin 
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom 

[gentoo-user] Re: Libreoffice 4..1.0.1

2013-07-04 Thread Michael Palimaka

On 5/07/2013 04:20, Silvio Siefke wrote:

Hello,

i has trouble with build of libreoffice Version 4.1.0.1. The configure
Script break with the follow message:

checking for CLUCENE... yes
checking for CLucene/analysis/cjk/CJKAnalyzer.h... no
configure: error: Your version of libclucene has contribs-lib missing.

!!! Please attach the following file when seeking support:
!!! 
/var/tmp/portage/app-office/libreoffice-4.1.0.1/work/libreoffice-4.1.0.1/config.log
  * ERROR: app-office/libreoffice-4.1.0.1 failed (configure phase):
  *   econf failed
  *
  * Call stack:
  *  ebuild.sh, line   93:  Called src_configure
  *environment, line 7190:  Called econf 
'--docdir=/usr/share/doc/libreoffice-4.1.0.1/' '--with-system-headers' 
'--with-system-libs' '--with-system-jars' '--with-system-dicts' 
'--enable-cairo-canvas' '--enable-graphite' '--enable-largefile' 
'--enable-mergelibs' '--enable-python=system' '--enable-randr' 
'--enable-randr-link' '--enable-release-build' '--enable-hardlink-deliver' 
'--disable-ccache' '--disable-crashdump' '--disable-dependency-tracking' 
'--disable-epm' '--di



Hi,

An eclass change accidentally broke a bunch of packages. Please emerge 
--sync, update clucene, and try again.


Best regards,
Michael





[gentoo-user] 3D printers Gentoo

2013-07-04 Thread James
Hello,

Not sure how many folks are using 3D printers yet
via Gentoo. If so your shared experiences are of keen
interest to me.

I did find these excellent resources [1].

[1] http://www.makerbot.com/support/guides/design/
[2] http://www.thingiverse.com/categories







Re: [gentoo-user] 3D printers Gentoo

2013-07-04 Thread Jean-Christophe Bach
*  James wirel...@tampabay.rr.com [04.07.2013. @19:38:00 +]:

 Hello,
 
 Not sure how many folks are using 3D printers yet
 via Gentoo. If so your shared experiences are of keen
 interest to me.
 
 I did find these excellent resources [1].
 
 [1] http://www.makerbot.com/support/guides/design/
 [2] http://www.thingiverse.com/categories

Hi James,

I am using 3D printers. With friends, we created a makerspace
(fablab/hackerspace)[1] where we are building and using 3D printers (and
lots of other things). The main resource to build a 3D printer we use is
[2]. Thingiverse [3] is great to find new 3D models, but you can also
create your own ones. For that, I am using OpenSCAD (in Portage,
media-gfx/openscap). It is also possible to use Blender with an ad hoc
plugin to export to .STL files. On other systems, there are proprietary
software, but I do not use them (sketchup seems to be very easy to use).

A friend (Emmanuel Gilloz aka watsdesign on Thingiverse[4]) designed the
Foldarap [5] which is a folding RepRap (it is amazing!). He crowdfunded
it a first time [6] but there was too many demands. Then he crowdfunded
a second time [7], and I think it is not yet finished.

With a colleague, we bought 2 RepRapPro Mendel [8] for the Computer
Science department where we teach. And today I tried to calibrate one.
But for the moment, students are not so interested in building and
creating things. They are fascinated, they want to use them (as
consumers), but not to create 3D models, or to design new 3D printers.

I am using Printrun [9] to control the 3D printer and to send gcode to
it. To generate gcode from 3D models (.STL files), I am using Slic3r
[10]. Of course, all these software are working without any problem on
Gentoo.

Regards,

JC

[1]  http://www.nybi.cc (in Frenchi :\ )
[2]  http://www.reprap.org
[3]  http://www.thingiverse.com
[4]  http://www.thingiverse.com/watsdesign/designs
[5]  http://reprap.org/wiki/FoldaRap
[6]  http://www.ulule.com/foldarap/ (first batch)
[7]  http://goteo.org/project/foldarap-peer-to-peer-edition (2nd batch)
[8]  http://www.reprappro.com
[9]  http://github.com/kliment/Printrun
[10] http://slic3r.org


signature.asc
Description: Digital signature


Re: [gentoo-user] hp H222 SAS controller

2013-07-04 Thread Paul Hartman
On Thu, Jul 4, 2013 at 4:21 AM, Stefan G. Weichinger li...@xunil.at wrote:
 My planned box will be a stable gentoo installation so that will mean
 3.8.13 for now. No problem, I assume.

No problem, I think the mpt2sas driver appeared in kernel around 2.6.3X series.

 Thanks for your description ... good luck with that!
 I will maybe pre-install that system in a VM until the hardware gets
 here ;-)

Today I installed my drives into the SAS enclosure. Everything is
working great and I'm getting maximum speed from all drives with
simultaneous access. So far I have not experienced any errors or
problems. Hopefully your luck is as good as mine!

Here is how it looks in dmesg:

[4.260179] mpt2sas version 14.100.00.00 loaded
[4.265444] mpt2sas0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED,
total mem (32800384 kB)
[4.265498] mpt2sas :06:00.0: irq 98 for MSI/MSI-X
[4.265607] mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 98
[4.265609] mpt2sas0: iomem(0xfe3c),
mapped(0xc9038000), size(16384)
[4.265611] mpt2sas0: ioport(0xb000), size(256)
[4.344822] mpt2sas0: sending message unit reset !!
[4.346817] mpt2sas0: message unit reset: SUCCESS
[4.390041] mpt2sas0: Allocated physical memory: size(4219 kB)
[4.390048] mpt2sas0: Current Controller Queue Depth(1867), Max
Controller Queue Depth(2040)
[4.390052] mpt2sas0: Scatter Gather Elements per IO(128)
[4.450285] mpt2sas0: LSISAS2008: FWVersion(16.00.00.00),
ChipRevision(0x03), BiosVersion(07.31.00.00)
[4.450291] mpt2sas0: Protocol=(Initiator,Target),
Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set
Full,NCQ)
[4.453850] mpt2sas0: sending port enable !!
[4.459383] mpt2sas0: host_add: handle(0x0001),
sas_addr(0x500605b0060f40d0), phys(8)
[4.464832] mpt2sas0: port enable: SUCCESS

The disks appear as SCSI disks like normal, but with the SAS address included:

[4.466217] scsi 10:0:0:0: Direct-Access ATA
ST4000DM000-1F21 CC52 PQ: 0 ANSI: 6
[4.466228] scsi 10:0:0:0: SATA: handle(0x0009),
sas_addr(0x44332211), phy(0), device_name(0x5000c500508bcc46)
[4.466234] scsi 10:0:0:0: SATA:
enclosure_logical_id(0x500605b0060f40d0), slot(0)
[4.466359] scsi 10:0:0:0: atapi(n), ncq(y), asyn_notify(n),
smart(y), fua(y), sw_preserve(y)
[4.466369] scsi 10:0:0:0: qdepth(32), tagged(1), simple(0),
ordered(0), scsi_level(7), cmd_que(1)
[4.466710] sd 10:0:0:0: Attached scsi generic sg4 type 0
[4.467172] sd 10:0:0:0: [sdd] 7814037168 512-byte logical blocks:
(4.00 TB/3.63 TiB)
[4.467180] sd 10:0:0:0: [sdd] 4096-byte physical blocks

Good luck,
Paul



Re: [gentoo-user] [OT] What's up with Firefox?

2013-07-04 Thread Paul Hartman
On Thu, Jul 4, 2013 at 10:29 AM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 Sorry to be a nuisance but I can't think of where else to ask.

 On the website I run I have a link to our Twitter profile (or whatever it's
 called). This is the link:

 https://twitter.com/TideswellMVC

 If I examine the page using the web host's file editor I see exactly that,
 yet if I press CTRL-U in www-client/firefox-17.0.7 it shows this:

 https://twitter.com/#%21/TideswellMVC

 and if I click the link in the main window I'm asked for a login and
 password.

Very strange!

 Trying the latest Windows version of Firefox in an XP virtual box I get the
 unaltered link. I can't tell what version that is because About Firefox
 merely checks, then tells me I'm up to date.

The latest release of Firefox is version 22.0, however version 17 is
the latest Extended Support Release and coincidentally also the
latest stable version in Gentoo. The url about: will show the
version information in Firefox (and most other browsers). If you want
to ensure you are comparing apples to apples, you can download the
version 17 ESR Windows installer from:
http://www.mozilla.org/en-US/firefox/organizations/all.html

 Incidentally, I have a web server running on my LAN with an identical copy
 of the site. Using that as the target, rather than the public version, gives
 the same results.

 I haven't used JavaScript anywhere.

 What's going on here?

I don't know, but here is what I am thinking:

A) Does it do the same if you use a different browser? opera or
google-chrome are binaries and don't require any compilation, so they
might be fast to emerge if you haven't got any other browsers
installed. You could also simply use wget or curl to fetch a copy of
the page and look at it in a text editor.

If other browsers experience the same thing, go to C)

B) I would first try to rule out a configuration or plug-in/add-on
causing the issue. On the Firefox Help menu there is an option to
restart with add-ons disabled. This will restart Firefox in safe
mode. Please be aware that it also gives you an option to Reset
Firefox -- this will reset it to factory default configuration, while
supposedly preserving your personal information. I have not actually
tried that so I would backup your profile beforehand just in case it
goes off the rails. Once you're in safe mode, simply quitting firefox
and reopening it will bring it back to normal mode again.

If safe mode doesn't help, I would try creating a new profile. You can
do this without any effect on your existing profile. Start firefox
from shell prompt by firefox -P to launch the profile manager.
Alternatively, you could login using a different user on your machine.

C) If browser or settings don't make a difference, I would ask if
you're using any sort of proxy or ad-blocker/parental control/spam
filter on your network. That might be silently altering the pages in
an unintended way. Also, some employers, ISPs and governments perform
content modification on HTTP requests to insert ads or block
disallowed URLs. If your web server supports HTTPS I would try
fetching the page using that to see if it is the same. That should
eliminate the possibility of outside interference as far as
manipulation of the page contents goes.

D) If this is a website you created, I would ask if you might have
your /etc/hosts file pointing at a different server's IP. I have seen
a similar problem where someone had their domain name on their web
development laptop pointing to a test server rather than the live
public server. That's probably not the case since you've experienced
the same problem on your local web server, but I thought I would
mention it just in case it might spark any ideas if everything else
failed to work.

Good luck,
Paul