[gentoo-user] Re: Any video optimization tips?

2011-12-17 Thread Nikos Chantziaras

On 12/16/2011 09:00 PM, Stroller wrote:


On 16 December 2011, at 14:27, Nikos Chantziaras wrote:


On 12/16/2011 04:13 PM, Michael Mol wrote:

With an (old) $50 card, you can get an old Core 2 desktop system to
serve as an HTPC.


Core 2 can be an HTPC even with a crap card. You can play 1080p on the 2 CPUs 
just fine.

A Core 2 desktop system is certainly not old.


There are newer Core2s and older ones, though. The first ones were released 
summer 2006.


And they're just as good.  I had one (E6600 2.4GHz).  They can deal with 
1080p just fine.  Even better if you have a Core 2 with four cores, then 
you can do other stuff too without affecting video performance.


The only reason I upgraded to an i5 is for video games (in Windows). 
For everything else, the Core 2 from 2006 was very comfortable to work with.





Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-17 Thread pk

On 2011-12-17 05:59, Dale wrote:


Has anyone else noticed this? I upgraded this a while back and I didn't
use anywhere near this amount of space. I'm curious as to why Allan's is
using so much.


Perhaps you should compare USE flags? And if you are using the same 
version, 32-bit/64-bit, CPU etc.?


Best regards

Peter K



Re: [gentoo-user] Please ignore above email; I hit send by mistake

2011-12-17 Thread pk

On 2011-12-16 19:54, Mick wrote:


Please remind me, where do you set up vsync?

On mine it seems to be on by default:

  $ less /var/log/Xorg.0.log | grep -i vsync
[ 22796.516] (II) RADEON(0): SwapBuffers wait for vsync: enabled


Hm... I thought this was about Intel GPU but apparently I misread... 
anyhow, you can just 'emerge driconf' to adjust your settings. Otherwise 
google reveals:

http://en.gentoo-wiki.com/wiki/Radeon
http://en.gentoo-wiki.com/wiki/Graphics_drivers
https://wiki.archlinux.org/index.php/ATI
https://wiki.archlinux.org/index.php/Intel

Best regards

Peter K



[gentoo-user] eix USE=security

2011-12-17 Thread Florian Philipp
Hi list!

I just noticed the USE flag security in stable app-portage/eix. The
description is hardly helpful: It fixes exploits but is not enabled by
default. Why? What are the drawbacks? I couldn't find anything in a
quick online search.

Thanks in advance!
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] DVD Movie backups

2011-12-17 Thread Peter Humphrey
On Friday 16 December 2011 19:15:12 Stroller wrote:
 On 16 December 2011, at 17:25, Mark Knecht wrote:
  I have no interest in tearing apart the DVD in any way. It was more
  about the idea of a fire causing the loss of maybe $15K-$20K
  investment over the years. I can rip all the CDs, keep the ripped
  version here to watch on the computer, and store the DVDs elsewhere,
  but that elimiates (generally) being able to watch special features
  which my wife and kid enjoy.
 
 I've been down this path fairly extensively.

Do you know of any way to read a DVD that was created on a Mac of some sort?

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-17 Thread Allan Gottlieb
On Sat, Dec 17 2011, pk wrote:

 On 2011-12-17 05:59, Dale wrote:

 Has anyone else noticed this? I upgraded this a while back and I didn't
 use anywhere near this amount of space. I'm curious as to why Allan's is
 using so much.

 Perhaps you should compare USE flags? And if you are using the same
 version, 32-bit/64-bit, CPU etc.?

 Best regards

 Peter K

My system is ~amd64, gnome profile.  emerge --info reports

USE=X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding 
bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts 
dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome 
gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap 
libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses 
nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd 
pulseaudio qt3support qt4 readline scanner sdl session socialweb spell sse sse2 
ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis 
x264 xcb xml xorg xulrunner xv xvid zlib ALSA_CARDS=ali5451 als4000 atiixp 
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null 
plug rate route share shm softvol APACHE2_MODULES=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 status unique_id userdir 
usertrack vhost_alias CALLIGRA_FEATURES=kexi words flow plan stage tables 
krita karbon braindump 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 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing 
tsip tripmate tnt ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text LINGUAS=en PHP_TARGETS=php5-3 RUBY_TARGETS=ruby18 USERLAND=GNU 
VIDEO_CARDS=nvidia nv vesa XTABLES_ADDONS=quota2 psd pknock lscan length2 
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal 
rawnat logmark ipmark dhcpmac delude chaos account

allan



[gentoo-user] Why is gnome-2.32.1-r1 requiring the gnome-3 nautilus and evince?

2011-12-17 Thread Allan Gottlieb
I run gnome3 on a test laptop, but want to wait until intersession to
install it on my real laptop.  I will probably like gnome3, but had a
bad experience a few months ago when gnome-shell repeatedly crashed so
want to wait for a quiet time to do the upgrade.

Anyway, weeks ago I installed the package.mask list and all was well
until this morning.  Here is the beginning of the output from emerge
--tree --verbose [the full output is below]

Calculating dependencies... done!
[ebuild U  ] sys-block/gparted-0.11.0 [0.10.0] USE=gtk -btrfs -dmraid -fat 
-hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs -xfs 1,623 kB
[nomerge   ] gnome-base/gnome-2.32.1-r1  USE=cdr cups dvdr ldap policykit 
-accessibility -mono 
[nomerge   ]  gnome-base/nautilus-3.2.1-r1 [2.32.2.1-r1] USE=exif%* gnome 
introspection* previewer%* -doc -packagekit% -sendto% -test -tracker% -xmp 

If I am reading this correctly gpartd is requiring gnome-2.32.1-r1
(which is installed), and the latter is requiring nautilus-3.2.1-r1.

The end of the emerge output says that gnome-2.32.1-r1 requires
evince-3.2.1-r1[nautilus].

I looked at the gnome ebuild and don't see why it wants nautilus from
gnome-3 or evince from gnome-3.

Can someone explain this.

thanks,
allan


 full emerge output 

ajglap gottlieb # emerge --keep-going --update --newuse --with-bdeps=y world
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild U  ] sys-block/gparted-0.11.0 [0.10.0] USE=gtk -btrfs -dmraid -fat 
-hfs -jfs -kde -mdadm -ntfs -reiser4 -reiserfs -xfs 1,623 kB
[nomerge   ] gnome-base/gnome-2.32.1-r1  USE=cdr cups dvdr ldap policykit 
-accessibility -mono 
[nomerge   ]  gnome-base/nautilus-3.2.1-r1 [2.32.2.1-r1] USE=exif%* gnome 
introspection* previewer%* -doc -packagekit% -sendto% -test -tracker% -xmp 
[ebuild  N#]   gnome-extra/sushi-0.2.1  290 kB
[ebuild U #]app-text/evince-3.2.1-r1 [2.32.0-r3] USE=dbus 
gnome-keyring introspection* nautilus tiff -debug -djvu -doc -dvi -t1lib -xps% 
(-gnome%*) 3,706 kB
[ebuild U #] gnome-base/nautilus-3.2.1-r1 [2.32.2.1-r1] USE=exif%* 
gnome introspection* previewer%* -doc -packagekit% -sendto% -test -tracker% 
-xmp 4,594 kB
[ebuild  N ]media-libs/clutter-gtk-1.0.4  USE=introspection -debug 
-doc -examples 299 kB
[ebuild  NS]net-libs/webkit-gtk-1.6.1-r301 [1.6.1-r201] USE=gstreamer 
introspection jit spell (-aqua) -coverage -debug -doc -test -webgl 0 kB
[ebuild  NS]x11-libs/gtksourceview-3.2.3 [2.10.5-r1] USE=introspection 
-doc -glade -test 1,188 kB
[ebuild  NS]   gnome-base/gnome-desktop-3.2.1 [2.32.1-r1] 
USE=introspection -debug -doc 903 kB
[ebuild U  ]  x11-libs/gtksourceview-2.10.5-r2 [2.10.5-r1] USE=-doc -glade 
-test 1,224 kB
[nomerge   ] gnome-extra/sushi-0.2.1 
[ebuild  N ]  media-libs/clutter-gst-1.4.4  USE=introspection -debug -doc 
-examples 330 kB
[ebuild  N ]  dev-libs/gjs-1.30.0  USE=-examples -test 445 kB
[ebuild  N ]  media-libs/clutter-1.6.20  USE=introspection -debug -doc 
4,414 kB
[nomerge   ] dev-libs/gjs-1.30.0  USE=-examples -test 
[ebuild  N ]  dev-lang/spidermonkey-1.8.5-r1  USE=-debug -static-libs 
-test 6,021 kB
[nomerge   ] media-libs/clutter-gst-1.4.4  USE=introspection -debug -doc 
-examples 
[nomerge   ]  media-libs/clutter-1.6.20  USE=introspection -debug -doc 
[ebuild  N ]   dev-libs/json-glib-0.14.2  USE=introspection -debug -doc 
435 kB
[nomerge   ] media-gfx/gimp-2.6.11-r6  USE=alsa dbus exif gnome jpeg lcms 
mmx mng pdf png sse svg tiff -aalib (-altivec) -curl -debug -doc -python -smp 
-webkit -wmf 
[nomerge   ]  gnome-base/gvfs-1.10.1  USE=bluetooth cdda gdu gnome-keyring 
http udev -afp -archive -avahi -bluray -doc -fuse -gphoto2 -ios -samba 
[nomerge   ]   sys-apps/gnome-disk-utility-3.0.2-r200  USE=gnome-keyring 
nautilus -avahi -doc -fat -remote-access 
[nomerge   ]gnome-base/nautilus-3.2.1-r1 [2.32.2.1-r1] USE=exif%* 
gnome introspection* previewer%* -doc -packagekit% -sendto% -test -tracker% 
-xmp 
[ebuild  N ] x11-themes/gnome-icon-theme-symbolic-3.2.1  144 kB
[ebuild  N ] dev-util/gdbus-codegen-2.30.2  5,683 kB
[nomerge   ] media-video/gnome-mplayer-1.0.5_beta1  USE=alsa dbus dconf 
gnome libnotify pulseaudio -ipod -musicbrainz 
[nomerge   ]  media-libs/gmtk-1.0.5_beta1  USE=alsa dconf pulseaudio 
[nomerge   ]   x11-libs/gtk+-3.2.2-r2  USE=colord cups introspection 
(-aqua) -debug -doc -examples -packagekit -test -vim-syntax -xinerama 
[nomerge   ]x11-misc/colord-0.1.15  USE=introspection scanner udev 
-doc -examples -gusb -vala 
[ebuild U  ] media-libs/lcms-2.3 [2.2-r1] USE=jpeg tiff zlib -doc 
-static-libs -test 4,358 kB

Total: 17 packages (5 upgrades, 9 new, 3 in new slots), Size of downloads: 
35,647 kB

The following mask changes are necessary to proceed:
#required by gnome-base/nautilus-3.2.1-r1[previewer], required 

[gentoo-user] Re: Why is gnome-2.32.1-r1 requiring the gnome-3 nautilus and evince?

2011-12-17 Thread walt

On 12/17/2011 06:22 AM, Allan Gottlieb wrote:

The following mask changes are necessary to proceed:
#required by gnome-base/nautilus-3.2.1-r1[previewer]


Do you have the 'previewer' useflag set?  I'm guessing that
the older nautilus doesn't have that functionality, so the
new version gets pulled in to supply it.  Maybe?




Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-17 Thread Dale

Allan Gottlieb wrote:

On Sat, Dec 17 2011, pk wrote:


On 2011-12-17 05:59, Dale wrote:


Has anyone else noticed this? I upgraded this a while back and I didn't
use anywhere near this amount of space. I'm curious as to why Allan's is
using so much.

Perhaps you should compare USE flags? And if you are using the same
version, 32-bit/64-bit, CPU etc.?

Best regards

Peter K

My system is ~amd64, gnome profile.  emerge --info reports

USE=X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring 
gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline 
scanner sdl session socialweb spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 
mulaw multi null plug rate route share shm softvol APACHE2_MODULES=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 status unique_id userdir usertrack vhost_alias 
CALLIGRA_FEATURES=kexi words flow plan stage tables krita karbon braindump 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 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LINGUAS=en PHP_TARGETS=php5-3 RUBY_TARGETS=ruby18 USERLAND=GNU VIDEO_CARDS=nvidia nv vesa 
XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account

allan




About the same, amd64 but with KDE profile and multilib.  I would think 
my KDE bloat would make it larger.  lol


[ebuild   R] app-office/libreoffice-3.4.3.2-r1  USE=bash-completion 
dbus gtk java kde mysql nsplugin opengl pdfimport vba (-aqua) -binfilter 
-branding -custom-cflags -debug -eds -gnome -graphite -gstreamer 
(-kdeenablefinal) -ldap -odk -python -templates -test -webdav 
LINGUAS=-de -en_GB -en_ZA -es -fr -hu -it


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n





[gentoo-user] Re: Any video optimization tips?

2011-12-17 Thread James
Walter Dnes waltdnes at waltdnes.org writes:

   It has properly identified the cpu as core2.  But mmx, sse, sse2,
 sse3 (aka pni), and ssse3 are disabled!!!  I'll change my CFLAGS to...
 CFLAGS=-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse
-fomit-frame-pointer -pipe

I usually try to build these old system  generically so that if I get a 
hardware failure in a mobo, I can just move the Hard Drive or the Compact Flash
drive to another system, power up and go. In your case those flags are very
important to video, so what your are doing seems to be right. 

O2 vs Os might be something to test, particularly if ram becomes saturated
by the apps. You may want to use iotop from portage to look at IO
conveniently with 2 different (O2 vs Os) kernels.

Interested to see how it works out


James









[gentoo-user] KMail skips messages in some folders when clicking Next (or pressing +)

2011-12-17 Thread Dan Johansson
I upgraded to KMail 4.7.3 some days ago and now i have a small but annoying 
problem. I have configured KMail to When trying to find unread messages: Loop 
in All Folders and it mostly works as expected. BUT some folders/messages get 
skipped when I click Next Unread Message or press +. I have not set any 
special parameters for these skipped folders. All my messages and folders 
reside on a local IMAP-server (courier).

Any suggestion why some folders are skipped and where to look for a solution.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Re: eix USE=security

2011-12-17 Thread James
Florian Philipp lists at binarywings.net writes:

 
 Hi list!
 
 I just noticed the USE flag security in stable app-portage/eix. The
 description is hardly helpful: It fixes exploits but is not enabled by
 default. Why? What are the drawbacks? I couldn't find anything in a
 quick online search.

ef security

This adds some checks which can prevent certain exploits if e.g. the eix code
has a bug. If you use the hardened toolchain, using this flag does not increase
security and can even lead to problems.
install the security module needed for some servers


hth,
James






Re: [gentoo-user] Re: Why is gnome-2.32.1-r1 requiring the gnome-3 nautilus and evince?

2011-12-17 Thread Allan Gottlieb
On Sat, Dec 17 2011, walt wrote:

 On 12/17/2011 06:22 AM, Allan Gottlieb wrote:
 The following mask changes are necessary to proceed:
 #required by gnome-base/nautilus-3.2.1-r1[previewer]

 Do you have the 'previewer' useflag set?  I'm guessing that
 the older nautilus doesn't have that functionality, so the
 new version gets pulled in to supply it.  Maybe?

I think not.  emerge --info seems to agree


USE=X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding 
bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts 
dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome 
gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap 
libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses 
nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd 
pulseaudio qt3support qt4 readline scanner sdl session socialweb spell sse sse2 
ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis 
x264 xcb xml xorg xulrunner xv xvid zlib ALSA_CARDS=ali5451 als4000 atiixp 
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null 
plug rate route share shm softvol APACHE2_MODULES=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 status unique_id userdir 
usertrack vhost_alias CALLIGRA_FEATURES=kexi words flow plan stage tables 
krita karbon braindump 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 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing 
tsip tripmate tnt ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux 
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text LINGUAS=en PHP_TARGETS=php5-3 RUBY_TARGETS=ruby18 USERLAND=GNU 
VIDEO_CARDS=nvidia nv vesa XTABLES_ADDONS=quota2 psd pknock lscan length2 
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal 
rawnat logmark ipmark dhcpmac delude chaos account

allan



Re: [gentoo-user] iptables question...

2011-12-17 Thread Hari Purnama
On 12/16/11 22:17, Tanstaafl wrote:
 Hi all,

 I was reading up on some iptables rules in the gentoo security handbook:

 http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1chap=12style=printable


 It mentions DROPing packets with an INVALID state.

 It sounded/sounds like a good idea, so I added the following rule:

 -A INPUT -i eth0 -m state --state INVALID -j LOG

 As suggested, I addd this rule just ABOVE this one:

 -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

 I also changed the DROP action to LOG so I could see what it did if
 anything.

 Right after adding this rule, I started seeing lines like this in the
 log:

 Dec 16 10:15:31 myhost kernel: IN=eth0 OUT=
 MAC=00:e0:81:54:9c:8a:00:90:7f:86:a8:c0:08:00 SRC=208.87.137.233
 DST=192.168.1.252 LEN=40 TOS=0x00 PREC=0x00 TTL=52 ID=0 DF PROTO=TCP
 SPT=50113 DPT=25 WINDOW=0 RES=0x00 RST URGP=0

 What I don't understand is why it isn't using my LOG prefix that is
 used for everything else:

 -A INPUT -j LOG --log-prefix (fw-drop):  --log-level 7

 Anyone?

Did you put the log-prefix rule before or after the LOG rule?
Or why didn't you put it in a 1liner, say:

-A INPUT -i eth0 -m state --state INVALID -j LOG --log-level 7
--log-prefix (fw-drop):  --log-ip-options --log-tcp-options


-- 
Regards,




Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-17 Thread Philip Webb
111216 Allan Gottlieb wrote:
 3.  I decided to use another suggestion (from neil) to use
 PORTAGE_TMPDIR, roeleveld's idea of just using temporary space, and
 Webb suggested /z for extra space.
 So I made a normal linux ext3 partition on sda8, created the mount point
 /mnt/junk and when needed mount sda8 on /mnt/junk and set PORTAGE_TMPDIR
 accordingly.

I have  /z  mounted by default at boot-time, but it's the same idea.

 Some readers were suggesting I need 8 or so GB for libreoffice.
 The failures occurred with 13GB.
 Today's /mnt/junk success required 16GB.  Fortunately sda8 has 50GB.

Libreoffice-3.5.0.0 needed  4,19 GB  by the final stages;
I had  12 GB  available in  /z  at that time.

Eix gives me :

  app-office/libreoffice
  Available versions: 3.3.4!t 3.4.3.2-r1!t
   ~3.4.4.2-r1!t **3.4.-r2!t ~3.5.0.0 **3.5. **-r2
   {aqua bash-completion binfilter +branding cups (-)custom-cflags dbus debug 
eds elibc_FreeBSD gnome (+)graphite gstreamer (+)gtk gtk3 java (+)jemalloc kde 
kdeenablefinal ldap linguas_af linguas_ar linguas_as linguas_ast linguas_be_BY 
linguas_bg linguas_bn linguas_bo linguas_br linguas_brx linguas_bs linguas_ca 
linguas_ca_XV linguas_cs linguas_cy linguas_da linguas_de linguas_dgo 
linguas_dz linguas_el linguas_en linguas_en_GB linguas_en_US linguas_en_ZA 
linguas_eo linguas_es linguas_et linguas_eu linguas_fa linguas_fi linguas_fr 
linguas_ga linguas_gd linguas_gl linguas_gu linguas_he linguas_hi linguas_hr 
linguas_hu linguas_id linguas_is linguas_it linguas_ja linguas_ka linguas_kk 
linguas_km linguas_kn linguas_ko linguas_kok linguas_ks linguas_ku linguas_ky 
linguas_lo linguas_lt linguas_lv linguas_mai linguas_mk linguas_ml linguas_mn 
linguas_mni linguas_mr linguas_ms linguas_my linguas_nb linguas_ne linguas_nl 
linguas_nn linguas_nr linguas_ns linguas_oc linguas_om linguas_or linguas_pa_IN 
linguas_pap linguas_pl linguas_ps linguas_pt linguas_pt_BR linguas_ro 
linguas_ru linguas_rw linguas_sa_IN linguas_sat linguas_sd linguas_sh 
linguas_si linguas_sk linguas_sl linguas_sq linguas_sr linguas_ss linguas_st 
linguas_sv linguas_sw_TZ linguas_ta linguas_te linguas_tg linguas_th linguas_ti 
linguas_tn linguas_tr linguas_ts linguas_ug linguas_uk linguas_uz linguas_ve 
linguas_vi linguas_xh linguas_zh_CN linguas_zh_TW linguas_zu mysql (+)nsplugin 
odk opengl pdfimport postgres python svg templates test +vba (+)webdav +xmlsec}
  Installed versions: 3.5.0.0([2011-12-12 04:03:36])(dbus gtk kde nsplugin 
opengl pdfimport svg -aqua -binfilter -branding -debug -eds -elibc_FreeBSD 
-gnome -graphite -gstreamer -gtk3 -java -jemalloc -kdeenablefinal -mysql -odk 
-postgres -test -vba -webdav -xmlsec)

This is a 64-bit system with an Intel Core2 Duo processor.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-17 Thread Allan Gottlieb
On Sat, Dec 17 2011, Philip Webb wrote:

 111216 Allan Gottlieb wrote:
 3.  I decided to use another suggestion (from neil) to use
 PORTAGE_TMPDIR, roeleveld's idea of just using temporary space, and
 Webb suggested /z for extra space.
 So I made a normal linux ext3 partition on sda8, created the mount point
 /mnt/junk and when needed mount sda8 on /mnt/junk and set PORTAGE_TMPDIR
 accordingly.

 I have  /z  mounted by default at boot-time, but it's the same idea.

 Some readers were suggesting I need 8 or so GB for libreoffice.
 The failures occurred with 13GB.
 Today's /mnt/junk success required 16GB.  Fortunately sda8 has 50GB.

 Libreoffice-3.5.0.0 needed  4,19 GB  by the final stages;
 I had  12 GB  available in  /z  at that time.

 Eix gives me :

   app-office/libreoffice
   Available versions: 3.3.4!t 3.4.3.2-r1!t
~3.4.4.2-r1!t **3.4.-r2!t ~3.5.0.0 **3.5. **-r2
{aqua bash-completion binfilter +branding cups (-)custom-cflags dbus debug 
 eds elibc_FreeBSD gnome (+)graphite gstreamer (+)gtk gtk3 java (+)jemalloc 
 kde kdeenablefinal ldap linguas_af linguas_ar linguas_as linguas_ast 
 linguas_be_BY linguas_bg linguas_bn linguas_bo linguas_br linguas_brx 
 linguas_bs linguas_ca linguas_ca_XV linguas_cs linguas_cy linguas_da 
 linguas_de linguas_dgo linguas_dz linguas_el linguas_en linguas_en_GB 
 linguas_en_US linguas_en_ZA linguas_eo linguas_es linguas_et linguas_eu 
 linguas_fa linguas_fi linguas_fr linguas_ga linguas_gd linguas_gl linguas_gu 
 linguas_he linguas_hi linguas_hr linguas_hu linguas_id linguas_is linguas_it 
 linguas_ja linguas_ka linguas_kk linguas_km linguas_kn linguas_ko linguas_kok 
 linguas_ks linguas_ku linguas_ky linguas_lo linguas_lt linguas_lv linguas_mai 
 linguas_mk linguas_ml linguas_mn linguas_mni linguas_mr linguas_ms linguas_my 
 linguas_nb linguas_ne linguas_nl linguas_nn linguas_nr linguas_ns linguas_oc 
 linguas_om linguas_or linguas_pa_IN linguas_pap linguas_pl linguas_ps 
 linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_rw linguas_sa_IN 
 linguas_sat linguas_sd linguas_sh linguas_si linguas_sk linguas_sl linguas_sq 
 linguas_sr linguas_ss linguas_st linguas_sv linguas_sw_TZ linguas_ta 
 linguas_te linguas_tg linguas_th linguas_ti linguas_tn linguas_tr linguas_ts 
 linguas_ug linguas_uk linguas_uz linguas_ve linguas_vi linguas_xh 
 linguas_zh_CN linguas_zh_TW linguas_zu mysql (+)nsplugin odk opengl pdfimport 
 postgres python svg templates test +vba (+)webdav +xmlsec}
   Installed versions: 3.5.0.0([2011-12-12 04:03:36])(dbus gtk kde nsplugin 
 opengl pdfimport svg -aqua -binfilter -branding -debug -eds -elibc_FreeBSD 
 -gnome -graphite -gstreamer -gtk3 -java -jemalloc -kdeenablefinal -mysql -odk 
 -postgres -test -vba -webdav -xmlsec)

 This is a 64-bit system with an Intel Core2 Duo processor.

Pretty similar to mine, which needed 16GB.

I can't explain, but I do have the disk space.



Re: [gentoo-user] iptables question...

2011-12-17 Thread Tanstaafl

On 2011-12-17 11:34 AM, Hari Purnama h...@mapits.com wrote:

Did you put the log-prefix rule before or after the LOG rule?


After - the log prefix rule is last...


Or why didn't you put it in a 1liner, say:

-A INPUT -i eth0 -m state --state INVALID -j LOG --log-level 7
--log-prefix (fw-drop):  --log-ip-options --log-tcp-options


Well, because I thought the log prefix rule applied to everything that 
comes before it...?




[gentoo-user] Re: DVD Movie backups

2011-12-17 Thread walt

On 12/17/2011 03:26 AM, Peter Humphrey wrote:


Do you know of any way to read a DVD that was created on a Mac of some sort?


I'm fuzzy on the details, but Apple has/had its own filesystems named HFS
and HFSplus.  I'm guessing that data disks burned with a Mac will use HFS,
but I don't know about movie/audio disks.  You can enable HFS support in
kernel menuconfig.





[gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Grant Edwards
On 2011-12-16, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Dec 16, 2011 at 11:03 AM, Grant Edwardsgrant.b.edwa...@gmail.com 
 wrote:

 Correct. If you use dd to copy an encrypted disk, the result will be
 missing something like 90% of the data.

 I have no interest in tearing apart the DVD in any way. It was more
 about the idea of a fire causing the loss of maybe $15K-$20K
 investment over the years. I can rip all the CDs, keep the ripped
 version here to watch on the computer, and store the DVDs elsewhere,
 but that elimiates (generally) being able to watch special features
 which my wife and kid enjoy.

 No it doesn't. You can use dvdbackup (or k9copy or ...) to copy the
 DVDs to the computer and when you play them back you get all the
 menus and special features and whatnot. If you want you can create
 ISO images and burn them to dual-layer-DVDs, but you don't need to do
 that to play them with all the features.

 So for my continued education, if I take an encrypted movie I can use
 program XYZ (Linux or Windows-based...) to create an iso image, but
 that iso image won't, even if it does include all the special
 features, ever be a bit-for-bit copy of the original. It's now
 unencrypted and created anew.

Exactly.  I used to use k9copy, but I got tired of fighting with Qt
dependancies and switched to dvdbackup.  Sometimes I create ISOs and
burn them to DVDs, but usually I just create directory trees and watch
them via a SageTv set-top-box that mounts the directory via NFS.

 It's a completely different way to represent the original data.

Yep.  I'm not aware of any Linux software that can create an encrypted
DVD -- but I've never had a desire to do that, so my lack of knowlege
of such a thing shouldn't be used as an indication of non-existence of
such a thing. :)

 That said, if it's a _complete_ representation of the original then
 the special features are there, and if written to a DVD _might_ work
 in my DVD player,

They've always worked in the DVD players I've tried them in, including
subtitles, special features, multiple audio tracks, etc.  The various
backup programs usually have options to pare down what's copied so
that you can do things like copy only the main title with one audio
track (with or without menus, subtitles, etc).  Some of the backup
programs will also re-encode the video to make the end result fit
within a specified size -- for example you can generate a 4.7G ISO
image from a 9GB original.

 assuming the DVD player isn't specifically looking for something that
 was on the original disc such as specifically encrypted blocks of
 data, etc.

 Am I getting closer?

Indeed you are.

-- 
Grant Edwards   grant.b.edwardsYow! How's it going in
  at   those MODULAR LOVE UNITS??
  gmail.com




Re: [gentoo-user] DBI connect dbname=template1 failed Permission denied

2011-12-17 Thread Stroller

On 17 December 2011, at 02:13, Joseph wrote:
 ...
 I see that LedgerSMB is 1.3 is it stable?

Any version of LedgerSMB will be better than any version of SQL-Ledger. 

 Is there direct migration from SQL-Ledger 2.8.35

No idea off the top of my head.

The plan for LedgerSMB was to be compatible to allow that migration for as long 
as possible. 

These are great questions for: 
http://lists.sourceforge.net/lists/listinfo/ledger-smb-users

I believe the Ledger-SMB guys also have a separate list for SQL-Ledger 
questions, but I have no idea how active it is. Dieter's SQL-Ledger list used 
to be pretty good.

Stroller.


[gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Grant Edwards
On 2011-12-17, David Haller gen...@dhaller.de wrote:

Store these on a Samba share, then use something like the PlayOn HD
Mini or the Western Digital TV Live! to watch them on your big screen
TV.

These players allow you to treat .iso files on the network just as if
they were actual DVDs and give you full access to the menus and extra
features.

 At least mplayer, vlc and xine will also happily play a directory, be
 it a mounted DVD, a mounted image or just a rip as made by dvdbackup
 and others (e.g. lxdvdrip).

The SageTv set-top box will happily play a DVD directory also (in
addition to playing TV shows recorded by the SageTv DVR server
software).  Sadly, Google bought SageTv and shut them down.  It's too
bad.  SageTv server + set-top-box was a really great product.  I don't
know what I'm going to do when it dies.  I absolutely dread going to
back to MythTv with a big, hot, noisy PC sitting next to my TV...

-- 
Grant Edwards   grant.b.edwardsYow! I am a jelly donut.
  at   I am a jelly donut.
  gmail.com




[gentoo-user] -march=native is *EXTREMELY* conservative

2011-12-17 Thread Walter Dnes
  Here's the setup of my secondary machine..  It's a Dell Inspiron
Desktop 530, with 2 gigs of ram, assembled and shipped August 2007.  It
has an Intel Core2 (*NOT* a Core2 Duo) cpu.  From /proc/cpuinfo...

vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Genuine Intel(R) CPU2140  @ 1.60GHz
stepping: 2
cpu MHz : 1595.660
cache size  : 1024 KB

  Here are the cpu flags...

waltdnes@d530 ~ $ grep flags /proc/cpuinfo
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl
est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts

  Then I ran gcc -march=native -Q --help=target and got a major shock.
It's a long output listing of what -march=native thinks about my cpu.
Here are some relevant items...

-march=   core2
-mmmx [disabled]
-msse [disabled]
-msse2[disabled]
-msse3[disabled]
-mssse3   [disabled]

  It properly identified the cpu as core2.  But mmx, sse, sse2, sse3
(aka pni), and ssse3 are disabled!!! 

  The reason I dug into this was that I was trying to 1920x1080i
streaming video from my HDHomerun TV tuner box.  I originally used

CFLAGS=-O2 -march=native -fomit-frame-pointer -pipe

when setting up the system.  It could not handle 1920x1080i streaming TV
video.

  After findinding out about -native, I changed CFLAGS to...

CFLAGS=-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse 
-fomit-frame-pointer -pipe

...and emerged system and world and rebuilt the kernel.  Now the onboard
Intel GPU handles 1920x1080i flawlessly.  As a matter of fact, it
handles 1080p flawlessly.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Stroller

On 17 December 2011, at 20:39, Grant Edwards wrote:
 On 2011-12-17, David Haller gen...@dhaller.de wrote:
 
 Store these on a Samba share, then use something like the PlayOn HD
 Mini or the Western Digital TV Live! to watch them on your big screen
 TV.
 
 These players allow you to treat .iso files on the network just as if
 they were actual DVDs and give you full access to the menus and extra
 features.
 
 At least mplayer, vlc and xine will also happily play a directory, be
 it a mounted DVD, a mounted image or just a rip as made by dvdbackup
 and others (e.g. lxdvdrip).
 
 The SageTv set-top box will happily play a DVD directory also (in
 addition to playing TV shows recorded by the SageTv DVR server
 software).  

Practically all players will do this, I think, but I much prefer having the DVD 
as a single file, to move and copy and store.

A directory containing a a VIDEO_TS and a load of files just seems a lot more 
fragile to me. Were you to accidentally delete one of the VOB files, there 
would be no way to tell the difference from looking at the outside of the 
video's folder.

 … I absolutely dread going to
 back to MythTv with a big, hot, noisy PC sitting next to my TV…

I bought an eMachines 1401 recently - it's not as perfectly silent as the 
PlayOn (which is fanless), but it's *very* close. It's an AMD atom-equivalent, 
dual-core, mini desktop PC, about 7 on a side and maybe 1 thick. Right now, 
powered on with no load just to judge it for this conversation, I can hear it 
if my ear is a foot away from it, but not 2 or 3 feet away, not against the 
normal background noise in my apartment (clock ticking in the kitchen and so 
on). Right now its hard-drive is louder than its fan (which is shifting so 
little air that I can barely feel it, even putting my hand an inch from the 
grille). I think that if you load it up with an emerge then the fan will ramp 
up a bit, but I doubt if you'd notice it when watching a movie.

Stroller.




Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Michael Mol
On Sat, Dec 17, 2011 at 3:09 PM, walt w41...@gmail.com wrote:
 On 12/17/2011 03:26 AM, Peter Humphrey wrote:


 Do you know of any way to read a DVD that was created on a Mac of some
 sort?


 I'm fuzzy on the details, but Apple has/had its own filesystems named HFS
 and HFSplus.  I'm guessing that data disks burned with a Mac will use HFS,
 but I don't know about movie/audio disks.  You can enable HFS support in
 kernel menuconfig.

The dead-easy way to tell would be to insert the disc, and then run

file -s /dev/cdrom

(or /dev/dvd, or /dev/sr0, or /dev/whatever...)
-- 
:wq



Re: [gentoo-user] Re: Any video optimization tips?

2011-12-17 Thread Walter Dnes
On Fri, Dec 16, 2011 at 01:57:58PM +, James wrote

 Find the minimal flags and the optimum CFLAGS settings for 
 your needs. Refine by testing. USE a fast hard drive.
 Avoid apps that soak up ram. Some video apps are ram_hogs...
 
 I'd be curious to learn what you finally figure out.

  What I finally figured out was that -march=native is *EXTREMELY*
conservative.  As a matter, I started a new thread on exactly that
topicG.  To summarize... -march=native had disabled  mmx, sse, sse2,
sse3 (aka pni), and ssse3, all of which are available on the cpu.  After
explicitly adding those flags to CFLAGS, emerging system+world, and
rebuilding the kernel, it runs 1080p just fine, thank you.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: Any video optimization tips?

2011-12-17 Thread Walter Dnes
On Fri, Dec 16, 2011 at 04:27:13PM +0200, Nikos Chantziaras wrote

 Core 2 can be an HTPC even with a crap card. You can play 1080p on
 the 2 CPUs just fine.

  See the new thread -march=native is *EXTREMELY* conservative.  This
was not where I had expected to find the solution.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] -march=native is *EXTREMELY* conservative

2011-12-17 Thread Dale

Walter Dnes wrote:

gcc -march=native -Q --help=target


If that shows something disabled that cat /proc/cpuinfo shows as 
available, is it safe to turn it on?  So far all I have found that is 
disabled that cpuinfo shows is mmx.  I'm still looking tho.


Also, I think the native setting is a setting that is known to be 100% 
safe.  It is likely one of those things that if you use anything not 
safe and have problems, you get to keep the pieces.  I think if the CPU 
supports it should be fine to turn but wanted to ask and make sure.  I 
paid almost $200 for my CPU and I would like to get $200 out of it and 
use it all.  I bought the whole thing so may as well use the whole 
thing.  ;-)


Thoughts?

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




Re: [gentoo-user] Re: Any video optimization tips?

2011-12-17 Thread Dale

Walter Dnes wrote:

On Fri, Dec 16, 2011 at 04:27:13PM +0200, Nikos Chantziaras wrote


Core 2 can be an HTPC even with a crap card. You can play 1080p on
the 2 CPUs just fine.

   See the new thread -march=native is *EXTREMELY* conservative.  This
was not where I had expected to find the solution.



Isn't that where the solution always is?

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




[gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-17 Thread Nikos Chantziaras

On 12/17/2011 11:07 PM, Walter Dnes wrote:


   Then I ran gcc -march=native -Q --help=target and got a major shock.
It's a long output listing of what -march=native thinks about my cpu.
Here are some relevant items...

-march=   core2
-mmmx [disabled]
-msse [disabled]
-msse2[disabled]
-msse3[disabled]
-mssse3   [disabled]

   It properly identified the cpu as core2.  But mmx, sse, sse2, sse3
(aka pni), and ssse3 are disabled!!!


The output lies.  It's a known issue.  Use this instead:

  echo | gcc -dM -E - -march=native

You should see stuff like:

  #define __MMX__ 1
  #define __SSE3__ 1




Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Peter Humphrey
On Saturday 17 December 2011 21:19:27 Michael Mol wrote:
 On Sat, Dec 17, 2011 at 3:09 PM, walt w41...@gmail.com wrote:
  On 12/17/2011 03:26 AM, Peter Humphrey wrote:
  Do you know of any way to read a DVD that was created on a Mac of 
some
  sort?
  
  I'm fuzzy on the details, but Apple has/had its own filesystems named
  HFS and HFSplus.  I'm guessing that data disks burned with a Mac will
  use HFS, but I don't know about movie/audio disks.  You can enable HFS
  support in kernel menuconfig.
 
 The dead-easy way to tell would be to insert the disc, and then run
 
 file -s /dev/cdrom
 
 (or /dev/dvd, or /dev/sr0, or /dev/whatever...)

I got this:
$ sudo file -s /dev/sr0
/dev/sr0: ERROR: cannot read `/dev/sr0' (Input/output error)

So I recompiled the kernel to include both hfs and hfsplus and got the same 
after booting with the new kernel and loading the modules.

Dmesg had this:
$ dmesg | tail
[...]
[  208.369492] sr 2:0:0:0: [sr0]  Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
[  208.369495] sr 2:0:0:0: [sr0]  Sense Key : Illegal Request [current] 
[  208.369497] sr 2:0:0:0: [sr0]  Add. Sense: Illegal mode for this track
[  208.369501] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01 
00
[  208.369505] end_request: I/O error, dev sr0, sector 64
[  208.369516] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, 
block=16

The DVD is mostly wedding photos, with an audio track thrown in. Maybe it 
wasn't written on a Mac, but I'd be surprised if so.

I'm stuck now. Thanks both for your help so far.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Michael Mol
On Sat, Dec 17, 2011 at 5:28 PM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 On Saturday 17 December 2011 21:19:27 Michael Mol wrote:

 On Sat, Dec 17, 2011 at 3:09 PM, walt w41...@gmail.com wrote:

  On 12/17/2011 03:26 AM, Peter Humphrey wrote:

  Do you know of any way to read a DVD that was created on a Mac of some

  sort?

 

  I'm fuzzy on the details, but Apple has/had its own filesystems named

  HFS and HFSplus.  I'm guessing that data disks burned with a Mac will

  use HFS, but I don't know about movie/audio disks.  You can enable HFS

  support in kernel menuconfig.



 The dead-easy way to tell would be to insert the disc, and then run



 file -s /dev/cdrom



 (or /dev/dvd, or /dev/sr0, or /dev/whatever...)



 I got this:

 $ sudo file -s /dev/sr0

 /dev/sr0: ERROR: cannot read `/dev/sr0' (Input/output error)



 So I recompiled the kernel to include both hfs and hfsplus and got the same
 after booting with the new kernel and loading the modules.



 Dmesg had this:

 $ dmesg | tail

 [...]

 [ 208.369492] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
 driverbyte=DRIVER_SENSE

 [ 208.369495] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]

 [ 208.369497] sr 2:0:0:0: [sr0] Add. Sense: Illegal mode for this track

 [ 208.369501] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01 00

 [ 208.369505] end_request: I/O error, dev sr0, sector 64

 [ 208.369516] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16,
 block=16



 The DVD is mostly wedding photos, with an audio track thrown in. Maybe it
 wasn't written on a Mac, but I'd be surprised if so.



 I'm stuck now. Thanks both for your help so far.

Photo-CD, perhaps?

-- 
:wq



Re: [gentoo-user] Re: eix USE=security

2011-12-17 Thread Florian Philipp
Am 17.12.2011 16:38, schrieb James:
 Florian Philipp lists at binarywings.net writes:
 

 Hi list!

 I just noticed the USE flag security in stable app-portage/eix. The
 description is hardly helpful: It fixes exploits but is not enabled by
 default. Why? What are the drawbacks? I couldn't find anything in a
 quick online search.
 
 ef security
 
 This adds some checks which can prevent certain exploits if e.g. the eix code
 has a bug. If you use the hardened toolchain, using this flag does not 
 increase
 security and can even lead to problems.
 install the security module needed for some servers
 
 

As I said, this description is hardly useful. If it fixes exploits, then
why is it not enabled for non-hardened profiles per default?




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: eix USE=security

2011-12-17 Thread Neil Bothwick
On Sat, 17 Dec 2011 23:48:29 +0100, Florian Philipp wrote:

  This adds some checks which can prevent certain exploits if e.g. the
  eix code has a bug.

 As I said, this description is hardly useful. If it fixes exploits, then
 why is it not enabled for non-hardened profiles per default?

It doesn't actually say that it fixes anything. It's more of a it may
possibly prevent certain exploits using undefined, and maybe unknown,
bugs in the code. That's more a politician's language than a coder's.


-- 
Neil Bothwick

Good fortune will find you provided you left clear instructions.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Neil Bothwick
On Sat, 17 Dec 2011 20:13:43 + (UTC), Grant Edwards wrote:

 Yep.  I'm not aware of any Linux software that can create an encrypted
 DVD -- but I've never had a desire to do that, so my lack of knowlege
 of such a thing shouldn't be used as an indication of non-existence of
 such a thing. :)

You also don't have the hardware to create them. CSS keys are stored on a
separate area of the disc, an area that is not available on DVD-Rs,
which is why yo cannot copy a CSS-encrypted DVD with dd, it copies the
encrypted data but not the decryption keys.


-- 
Neil Bothwick

I backed up my hard drive and ran into a bus.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Neil Bothwick
On Sat, 17 Dec 2011 20:39:38 + (UTC), Grant Edwards wrote:

 The SageTv set-top box will happily play a DVD directory also (in
 addition to playing TV shows recorded by the SageTv DVR server
 software).  Sadly, Google bought SageTv and shut them down.  It's too
 bad.  SageTv server + set-top-box was a really great product.  I don't
 know what I'm going to do when it dies.  I absolutely dread going to
 back to MythTv with a big, hot, noisy PC sitting next to my TV...

I use an Acer Aspire Revo attached to the back of the TV. it is inaudible
apart from a one second burst of fan noise when powering on, and the
Nvidia ION chipset is good enough to play 1080p recordings.


-- 
Neil Bothwick

Windows Error #56: Operator fell asleep while waiting.


signature.asc
Description: PGP signature


[gentoo-user] Re: eix USE=security

2011-12-17 Thread Nikos Chantziaras

On 12/17/2011 01:15 PM, Florian Philipp wrote:

Hi list!

I just noticed the USE flag security in stable app-portage/eix. The
description is hardly helpful: It fixes exploits but is not enabled by
default. Why? What are the drawbacks? I couldn't find anything in a
quick online search.


eix is known for having some rather ridiculous USE flags (optimization,
strong-optimization).  security is another one you can simply ignore.




Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Peter Humphrey
On Saturday 17 December 2011 22:32:07 Michael Mol wrote:

 Photo-CD, perhaps?

Seems likely, especially as it was made by a professional wedding 
photographer. What do I need to read it? The Wikipedia article doesn't lead 
me anywhere.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Michael Mol
On Sat, Dec 17, 2011 at 6:43 PM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 On Saturday 17 December 2011 22:32:07 Michael Mol wrote:
 Photo-CD, perhaps?

 Seems likely, especially as it was made by a professional wedding
 photographer. What do I need to read it? The Wikipedia article doesn't lead
 me anywhere.

I tried grepping the 3.0.6 kernel sources, and I didn't get any hits
in source files, just in old documentation. Not sure if photo cds are
still supported, or if special support simply isn't required there.

It looks like there's media-plugins/vdr-pcd, but I don't know anything
about it. Perhaps some normal photo managers might be able to handle
it.

-- 
:wq



Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Mark Knecht
On Sat, Dec 17, 2011 at 3:03 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Sat, 17 Dec 2011 20:13:43 + (UTC), Grant Edwards wrote:

 Yep.  I'm not aware of any Linux software that can create an encrypted
 DVD -- but I've never had a desire to do that, so my lack of knowlege
 of such a thing shouldn't be used as an indication of non-existence of
 such a thing. :)

 You also don't have the hardware to create them. CSS keys are stored on a
 separate area of the disc, an area that is not available on DVD-Rs,
 which is why yo cannot copy a CSS-encrypted DVD with dd, it copies the
 encrypted data but not the decryption keys.


 --
 Neil Bothwick

Interesting but still a little confusing. My DVD-RW drive can
apparently _read_ the CSS keys because xine can play the DVD. I'm
assuming here that the Linux DVD libraries need the keys but maybe
they don't actually even need them to play a DVD if the encryption can
be broken without the keys.

I guess you are saying that either the CSS keys are completely
unnecessary, or that the DVD-RW drive can read but not write to the
area where they are stored?

Thanks,
Mark



Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Michael Mol
On Sat, Dec 17, 2011 at 7:35 PM, Mark Knecht markkne...@gmail.com wrote:
 On Sat, Dec 17, 2011 at 3:03 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Sat, 17 Dec 2011 20:13:43 + (UTC), Grant Edwards wrote:

 Yep.  I'm not aware of any Linux software that can create an encrypted
 DVD -- but I've never had a desire to do that, so my lack of knowlege
 of such a thing shouldn't be used as an indication of non-existence of
 such a thing. :)

 You also don't have the hardware to create them. CSS keys are stored on a
 separate area of the disc, an area that is not available on DVD-Rs,
 which is why yo cannot copy a CSS-encrypted DVD with dd, it copies the
 encrypted data but not the decryption keys.


 --
 Neil Bothwick

 Interesting but still a little confusing. My DVD-RW drive can
 apparently _read_ the CSS keys because xine can play the DVD. I'm
 assuming here that the Linux DVD libraries need the keys but maybe
 they don't actually even need them to play a DVD if the encryption can
 be broken without the keys.

 I guess you are saying that either the CSS keys are completely
 unnecessary,

The CSS encryption scheme is incredibly poor. Where it's actually
applied, it can usually be cracked fast enough that you wouldn't
notice a stutter in playback.

 or that the DVD-RW drive can read but not write to the
 area where they are stored?

They may be read, but not written to. In order to read them, your
player software needs to present the DVD-reading devices with some
kind of credential. DVD playback devices are supposed to be licensed,
and this is the hardware means of enforcing that.

Consumer DVD burners aren't able to write to the portion of the disc
where keys are stored, either. This is part of the copy protection
mechanism of CSS.

-- 
:wq



Re: [gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-17 Thread Walter Dnes
On Sat, Dec 17, 2011 at 11:58:36PM +0200, Nikos Chantziaras wrote

 The output lies.  It's a known issue.  Use this instead:
 
echo | gcc -dM -E - -march=native
 
 You should see stuff like:
 
#define __MMX__ 1
#define __SSE3__ 1

  The onboard GPU was initially incapable of handling 1080i video without
stuttering badly and dropping frames.  After explicitly changing the
flags and rebuilding system+world+kernel, it displays 1080p videos
flawlessly.  That's one big co-incidence.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] -march=native is *EXTREMELY* conservative

2011-12-17 Thread Paul Hartman
On Sat, Dec 17, 2011 at 3:07 PM, Walter Dnes waltd...@waltdnes.org wrote:
 -march=                               core2
 -mmmx                                 [disabled]
 -msse                                 [disabled]
 -msse2                                [disabled]
 -msse3                                [disabled]
 -mssse3                               [disabled]

  It properly identified the cpu as core2.  But mmx, sse, sse2, sse3
 (aka pni), and ssse3 are disabled!!!

I think you may be misinterpreting that output. It's not telling you
that MMX etc. are disabled, it's telling you that the /commandline
options/ are disabled. Why?

From the GCC docs:
core2: Intel Core2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3
and SSSE3 instruction set support.

That means those features are implied by -march=core2, adding those
commandline switches would be redundant.



Re: [gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Paul Hartman
On Sat, Dec 17, 2011 at 6:35 PM, Mark Knecht markkne...@gmail.com wrote:

 I guess you are saying that either the CSS keys are completely
 unnecessary, or that the DVD-RW drive can read but not write to the
 area where they are stored?

I think, typically, when a DVD with copy-protection is manufactured,
it is sent on DLT tape or a special DVD for Authoring disc which
contains the unencrypted movie but also an extra area with encryption
data needed by the disc manufacturer who can press the real, encrypted
DVDs. In other words you can't burn your own CSS-encrypted DVD at
home. :)



[gentoo-user] Re: DVD Movie backups

2011-12-17 Thread Grant Edwards
On 2011-12-17, Stroller strol...@stellar.eclipse.co.uk wrote:

 On 17 December 2011, at 20:39, Grant Edwards wrote:
 On 2011-12-17, David Haller gen...@dhaller.de wrote:
 
 Store these on a Samba share, then use something like the PlayOn HD
 Mini or the Western Digital TV Live! to watch them on your big screen
 TV.
 
 These players allow you to treat .iso files on the network just as if
 they were actual DVDs and give you full access to the menus and extra
 features.
 
 At least mplayer, vlc and xine will also happily play a directory, be
 it a mounted DVD, a mounted image or just a rip as made by dvdbackup
 and others (e.g. lxdvdrip).
 
 The SageTv set-top box will happily play a DVD directory also (in
 addition to playing TV shows recorded by the SageTv DVR server
 software).  

 Practically all players will do this, I think, but I much prefer having the 
 DVD as a single file, to move and copy and store.

 A directory containing a a VIDEO_TS and a load of files just seems a
 lot more fragile to me. Were you to accidentally delete one of the
 VOB files, there would be no way to tell the difference from looking
 at the outside of the video's folder.

True, but that's never happened.  ISO images work fine, but the extra
layer of indirection is an inefficiency that irritates the engineer
in me.

 ? I absolutely dread going to
 back to MythTv with a big, hot, noisy PC sitting next to my TV?

 I bought an eMachines 1401 recently - it's not as perfectly silent as
 the PlayOn (which is fanless), but it's *very* close. It's an AMD
 atom-equivalent, dual-core, mini desktop PC, about 7 on a side and
 maybe 1 thick. Right now, powered on with no load just to judge it
 for this conversation, I can hear it if my ear is a foot away from
 it, but not 2 or 3 feet away, not against the normal background noise
 in my apartment (clock ticking in the kitchen and so on). Right now
 its hard-drive is louder than its fan (which is shifting so little
 air that I can barely feel it, even putting my hand an inch from the
 grille). I think that if you load it up with an emerge then the fan
 will ramp up a bit, but I doubt if you'd notice it when watching a
 movie.

There are some platforms that are getting pretty decent, but they
still cost 5X as much as a set-top-box box, draw 10X as much power,
and are about 4X larger.  They're probably approaching tolerable,
but compared to something like a Roku or SageTv box, they're still an
embarassment.

I used a Mac Mini for a while as a MythTv frontend, and it was quiet
enough that it wasn't noticable unless the room was dead silent.  It
would have been OK if I had been able to get DVI output working.

-- 
Grant