Re: [gentoo-user] Re: Java plugin in Midori web browser

2015-08-29 Thread José Romildo Malaquias
On Fri, Aug 28, 2015 at 02:06:10AM +, James wrote:
 José Romildo Malaquias jrmalaq at gmail.com writes:
 
  
  I need help getting java plugin working in the Midori web browser.
  I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
  system.
 
 I used icedtea-bin for most everything. 
 
  The plugin works with Firefox.
 
 I do not use that browser.
 Have you check for information in the relevant bug reports: [1] ;
 at it might be a good place to start some research.
 
 [1] bugs.gentoo.org   

There was bug report for this issue. So I made one:
https://bugs.gentoo.org/show_bug.cgi?id=559084



Re: [gentoo-user] Java plugin in Midori web browser

2015-08-29 Thread José Romildo Malaquias
On Fri, Aug 28, 2015 at 06:12:19AM +0200, bitlord wrote:
 On Thu, 27 Aug 2015 20:25:43 -0300
 José Romildo Malaquias jrma...@gmail.com wrote:
 
  I need help getting java plugin working in the Midori web browser.
  
  I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
  system.
  
  The plugin works with Firefox.

 Have you tried to go into 'Preferences  Extensions' it is probably
 listed there, and you can enable/disable it?

The Java plugin is not listed there.



[gentoo-user] Java plugin in Midori web browser

2015-08-27 Thread José Romildo Malaquias
I need help getting java plugin working in the Midori web browser.

I have dev-java/oracle-jdk-bin-1.8.0.51 installed on my ~amd64
system.

The plugin works with Firefox.

Romildo



[gentoo-user] opensmtpd-5.4.5.201505241924_p1 not working

2015-05-28 Thread José Romildo Malaquias
Hello.

After updating to mail-mta/opensmtpd-5.4.5.201505241924_p1 and
installing mail-mta/opensmtpd-extras-5.4.5.201505202252 I cannot get
opensmtp working.

# smtpd -vd
fatal: table_create: backend db does not exist

In /etc/opensmtpd/smtpd.conf I have the lines:

  table aliases file:/etc/opensmtpd/aliases
  table secrets db:/etc/opensmtpd/secrets.db

It was working before the update.

How can I fix this issue? Is it a bug in the new release of the package?

Regards,

Romildo



[gentoo-user] Changing the email address for bugzilla account

2015-05-09 Thread José Romildo Malaquias
Hello.

I have requested Gentoo's Bugzilla to change the email address for my
account, because the current address does not exist anymore.

The site told me that An email has been sent to both old and new email
addresses to confirm the change of email address.

When confirming the change by following the link sent to the new email
address, bugzilla tells me that The token you submitted does not exist,
has expired, or has been canceled. I believe that means it expects me
to click the old email link before the new email link.

How to proceed now? Should I contact some admin to fix my account for
me? If so, how can he/she be contacted?

Regards,

Romildo



[gentoo-user] Re: opensmtp fatal error: socket: address family not supported

2014-01-17 Thread José Romildo Malaquias
On Thu, Jan 16, 2014 at 08:47:06AM +0100, Gilles Chehade wrote:
 On Wed, Jan 15, 2014 at 10:21:54PM -0200, Jos? Romildo Malaquias wrote:
  Hello.
  
  When trying opensmtpd on my gentoo linux system, I am getting the
  following error message:
  
  # smtpd -vn
  configuration OK
  
  # smtpd -vd
  debug: init ssl-tree
  info: OpenSMTPD 201401061555p1 starting
  debug: bounce warning after 4h
  debug: using fs queue backend
  debug: using ramqueue scheduler backend
  debug: using ram stat backend
  info: startup [debug mode]
  mfa: building simple chains...
  mfa: building complex chains...
  mfa: done building complex chains
  mfa: done building default chain
  debug: queue: done loading queue into scheduler
  libevent 2.0.21-stable (epoll)
  debug: parent_send_config_ruleset: reloading
  debug: parent_send_config_mfa: reloading
  debug: parent_send_config: configuring smtp
  debug: mfa ready
  fatal: smtpd: socket: Address family not supported by protocol
  warn: lka - smtp: pipe closed
  warn: parent - smtp: imsg_read: Connection reset by peer
  warn: queue - smtp: pipe closed
  fatal: exiting: Connection reset by peer
  warn: mfa - smtp: pipe closed
  warn: control - smtp: pipe closed
  warn: mta - lka: pipe closed
  warn: mda - lka: pipe closed
  warn: scheduler - queue: pipe closed
  
  Any clues on how to fix this?
  
 
 Hi,
 
 Can you provide ifconfig output + configuration file ?

After some searching, I have found that the problem is related to ipv6,
which is not used in my system. And the file /etc/hosts had a linei

   #::1 localhost

After removing this line from /etc/hosts opensmtpd works as expected.

Romildo



[gentoo-user] opensmtp fatal error: socket: address family not supported

2014-01-15 Thread José Romildo Malaquias
Hello.

When trying opensmtpd on my gentoo linux system, I am getting the
following error message:

# smtpd -vn
configuration OK

# smtpd -vd
debug: init ssl-tree
info: OpenSMTPD 201401061555p1 starting
debug: bounce warning after 4h
debug: using fs queue backend
debug: using ramqueue scheduler backend
debug: using ram stat backend
info: startup [debug mode]
mfa: building simple chains...
mfa: building complex chains...
mfa: done building complex chains
mfa: done building default chain
debug: queue: done loading queue into scheduler
libevent 2.0.21-stable (epoll)
debug: parent_send_config_ruleset: reloading
debug: parent_send_config_mfa: reloading
debug: parent_send_config: configuring smtp
debug: mfa ready
fatal: smtpd: socket: Address family not supported by protocol
warn: lka - smtp: pipe closed
warn: parent - smtp: imsg_read: Connection reset by peer
warn: queue - smtp: pipe closed
fatal: exiting: Connection reset by peer
warn: mfa - smtp: pipe closed
warn: control - smtp: pipe closed
warn: mta - lka: pipe closed
warn: mda - lka: pipe closed
warn: scheduler - queue: pipe closed

Any clues on how to fix this?

Romildo



[gentoo-user] Install a more recent version of LaTeX package

2013-10-12 Thread José Romildo Malaquias
Hello.

What is the best way of updating a given LaTeX package in gentoo to the
latest available version on CTAN?

The installed version of tcolorbox is 2.32, provided by
dev-texlive/texlive-latexextra-2013, and I need version 2.51, available
on CTAN.

There used to be a package called g-ctan that could be used in this
situation. But it has been masked.

Any clues?

Romildo



[gentoo-user] Error with version of libraries with scilab

2013-10-09 Thread José Romildo Malaquias
Hello.

I have installed the *binary distribution of scilab* available form its
download page.

About two months ago, I was using it without problems.

Now it does not work anymore. Running the binary gives the following
error message:

$ /alt/scilab-5.4.1/bin/scilab
scilab-bin: /alt/scilab-5.4.1/lib/thirdparty/libz.so.1: version `ZLIB_1.2.3.4' 
not found (required by /usr/lib64/libpng16.so.16)

I need helping understanding this message and fixing this issue on my
~amd64 system.

Romildo



Re: [gentoo-user] Error with version of libraries with scilab

2013-10-09 Thread José Romildo Malaquias
On Wed, Oct 09, 2013 at 11:52:19PM +0200, Alan McKinnon wrote:
 On 09/10/2013 23:41, José Romildo Malaquias wrote:
  Hello.
  
  I have installed the *binary distribution of scilab* available form its
  download page.
  
  About two months ago, I was using it without problems.
  
  Now it does not work anymore. Running the binary gives the following
  error message:
  
  $ /alt/scilab-5.4.1/bin/scilab
  scilab-bin: /alt/scilab-5.4.1/lib/thirdparty/libz.so.1: version 
  `ZLIB_1.2.3.4' not found (required by /usr/lib64/libpng16.so.16)
  
  I need helping understanding this message and fixing this issue on my
  ~amd64 system.
 
 libpng16 is a library you already have on your system (not bundled with
 scilab). And strangely, this *system* library is complaining that it
 can't find the correct version of libz. These libs have names (sonames)
 so you can tell different versions apart and use the right one.
 
 But the system libpng has no business trying to use a third party app
 under any circumstances. And in fact in regular use it doesn't, see mine:
 
 $ ldd /usr/lib64/libpng16.so.16
 linux-vdso.so.1 (0x7fff7d79a000)
 libz.so.1 = /lib64/libz.so.1 (0x7ff9ad6ab000)
 libm.so.6 = /lib64/libm.so.6 (0x7ff9ad3b5000)
 libc.so.6 = /lib64/libc.so.6 (0x7ff9ad00a000)
 /lib64/ld-linux-x86-64.so.2 (0x7ff9adb3c000)
 
 See? system libpng uses system libz.
 
 How does this happen? Easy. The authors of scilab are probably fiddling
 with LD_LIBRARY_PATH, which just happens to be one of the more dangerous
 things you can do in Unix.
 
 Go find the startup script for scilab and edit the mods to
 LD_LIBRARY_PATH to put the scilab directory at the end (not the
 beginning where it is now)

In fact the startup script for scilab sets LD_LIBRARY_PATH. Running it
in verbose modes gives this information:

$ SCIVERBOSE=1 /alt/scilab-5.4.1/bin/scilab
SCILABBIN : scilab-bin
DISABLE_JAVA_DETECTION : 0
SCILAB_MODE : gui
OS : Linux
MODEL : x86_64
IS_SCILAB_BINARY : 1
SCI : /alt/scilab-5.4.1/share/scilab
SCIBIN : 
PATH : 
/alt/scilab-5.4.1/bin:/home/romildo/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.1:/usr/games/bin:/opt/vmware/bin:/alt/scilab-5.4.1/share/scilab/modules/scicos/
CLASSPATH : 
/alt/scilab-5.4.1/share/scilab/modules/core/jar/org.scilab.modules.core.jar
LD_LIBRARY_PATH : 
/alt/scilab-5.4.1/thirdparty/java//lib/amd64/:/alt/scilab-5.4.1/thirdparty/java//lib/amd64/server/:/alt/scilab-5.4.1/thirdparty/java//lib/amd64/native_threads/:/alt/scilab-5.4.1/lib/scilab:/alt/scilab-5.4.1/lib/thirdparty:/alt/scilab-5.4.1/share/scilab/bin:/alt/scilab-5.4.1/share/scilab/lib/scilab/:/alt/scilab-5.4.1/share/scilab/lib64/scilab/:.
scilab-bin: /alt/scilab-5.4.1/lib/thirdparty/libz.so.1: version `ZLIB_1.2.3.4' 
not found (required by /usr/lib64/libpng16.so.16)

I will try to modify the script to put the scilab directory at the end.

Romildo



[gentoo-user] x11-misc/bbpager dependency on x11-wm/blackbox

2013-08-10 Thread José Romildo Malaquias
Hello.

I want to use bbpager with the openbox window manager. To my surprising,
bbpager has a runtime dependency on blackbox. It does not seem correct
to me. I suppose the blackbox window manager is not needed to use
bbpager with the openbox window manager.

Is that a bug in the bbpager ebuild?

Romildo



[gentoo-user] Order in which init scripts providing a service are tried

2012-10-12 Thread José Romildo Malaquias
Hello.

There are some init scripts that provide network connection on my gentoo
system: net.eth0, net.wlan0, net.wlan1, NetworkManager and connman. All
of them provide the net service. (connman init script has been edited
to provide net, as the original installed one does not provide it -
see bug https://bugs.gentoo.org/show_bug.cgi?id=438142)

I want connman chosen to provide net.

The init system first tries the net.* scripts. So I removed them (they
are symlinks to net.lo, which should not be removed).

Then the init system tries NetworkManager. I do not want to remove it
because it is installed as a dependence to some other packages.

I have tried adding a 'before NetworkManager' clause in the connman
init script, but it did not help.

How can I tell the init system to try connman before all other init
scripts providing net?

Any clues?

Romildo



[gentoo-user] Re: ghostscript fails to find Helvetica font

2012-10-01 Thread José Romildo Malaquias
On Thu, Sep 27, 2012 at 10:42:26PM -0300, José Romildo Malaquias wrote:
 Hello.
 
 Recently ghostscript stopped working on my ~amd64 system. The error
 message indicates it cannot find basic fonts like Times and Helvetica.
 
 
 $ ps2pdf a.ps 
 Error: /invalidfont in /findfont
 Operand stack:
Times-Italic@0   --nostringval--   Times-Italic
 Execution stack:
%interp_exit   .runexec2   --nostringval--   --nostringval--   
 --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
 --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   
 1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   
 %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval-- 
   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
 --nostringval--   1836   3   4   %oparray_pop
 Dictionary stack:
--dict:1169/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   
 --dict:59/120(L)--
 Current allocation mode is local
 Last OS error: No such file or directory
 Current file position is 5611
 GPL Ghostscript 9.06: Unrecoverable error, exit code 1

I have filled a bug report:

https://bugs.gentoo.org/show_bug.cgi?id=436500

Romildo



[gentoo-user] ghostscript fails to find Helvetica font

2012-09-27 Thread José Romildo Malaquias
Hello.

Recently ghostscript stopped working on my ~amd64 system. The error
message indicates it cannot find basic fonts like Times and Helvetica.


$ ps2pdf a.ps 
Error: /invalidfont in /findfont
Operand stack:
   Times-Italic@0   --nostringval--   Times-Italic
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   
1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   1836   3   4   %oparray_pop
Dictionary stack:
   --dict:1169/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--   
--dict:59/120(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 5611
GPL Ghostscript 9.06: Unrecoverable error, exit code 1


Any clues?

Romildo



[gentoo-user] fontconfig not obeying configuration

2012-08-16 Thread José Romildo Malaquias
There may be something wrong on my ~amd64 system font setup.

The status of the various fontconfig configurations are shown below:

# eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   01-defaults.conf
  [2]   09-texlive.conf *
  [3]   10-autohint.conf *
  [4]   10-no-sub-pixel.conf
  [5]   10-sub-pixel-bgr.conf
  [6]   10-sub-pixel-rgb.conf *
  [7]   10-sub-pixel-vbgr.conf
  [8]   10-sub-pixel-vrgb.conf
  [9]   10-unhinted.conf
  [10]  11-lcdfilter-default.conf *
  [11]  11-lcdfilter-legacy.conf
  [12]  11-lcdfilter-light.conf
  [13]  20-fix-globaladvance.conf *
  [14]  20-unhint-small-dejavu-sans-mono.conf
  [15]  20-unhint-small-dejavu-sans.conf
  [16]  20-unhint-small-dejavu-serif.conf
  [17]  20-unhint-small-vera.conf
  [18]  25-unhint-nonlatin.conf
  [19]  30-metric-aliases.conf *
  [20]  30-urw-aliases.conf *
  [21]  31-cantarell.conf *
  [22]  40-nonlatin.conf *
  [23]  42-luxi-mono.conf
  [24]  45-latin.conf *
  [25]  49-sansserif.conf *
  [26]  50-user.conf *
  [27]  51-local.conf *
  [28]  52-infinality.conf *
  [29]  57-dejavu-sans-mono.conf
  [30]  57-dejavu-sans.conf
  [31]  57-dejavu-serif.conf
  [32]  59-google-droid-sans-mono.conf *
  [33]  59-google-droid-sans.conf *
  [34]  59-google-droid-serif.conf *
  [35]  60-latin.conf *
  [36]  60-liberation.conf
  [37]  62-croscore-arimo.conf
  [38]  62-croscore-cousine.conf
  [39]  62-croscore-symbolneu.conf
  [40]  62-croscore-tinos.conf
  [41]  65-fonts-persian.conf *
  [42]  65-khmer.conf
  [43]  65-nonlatin.conf *
  [44]  69-unifont.conf *
  [45]  70-no-bitmaps.conf
  [46]  70-yes-bitmaps.conf
  [47]  80-delicious.conf *
  [48]  90-synthetic.conf *
  [49]  99pdftoopvp.conf

Althoug 59-google-droid-serif.conf is enabled, the monospace font is
being mapped to Courier New:

# fc-match monospace
cour.ttf: Courier New Normal

If I remove corefonts (which provides the Courier New font), monospace
is mapped to Consolas.

Enabling 57-dejavu-sans-mono.conf also is not having any effect.

This is happening for all users, including the root user.

Any help is welcome.

Romildo



[gentoo-user] Poor quality of wireless connection

2012-06-23 Thread José Romildo Malaquias
Hello.

I have a notebook with an Intel Centrino Advanced-N 6230 wireless
card.

In gentoo (kernel 3.4.3-gentoo) and also in Fedora 17 the connection
through it is of poor quality. ping to the router is getting about 50%
packet loss.

With Ubuntu 12.04 and Windows 7 the connection is ok, without packet
loss.

Gentoo, Fedora and Ubuntu are all using the iwlwifi module for the
centrino wireless card.

# lspci -nnv
[...]
08:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6230 
[8086:0091] (rev 34)
   Subsystem: Intel Corporation Centrino Advanced-N 6230 AGN [8086:5201]
   Flags: bus master, fast devsel, latency 0, IRQ 18
   Memory at f2d0 (64-bit, non-prefetchable) [size=8K]
   Capabilities: [c8] Power Management version 3
   Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [e0] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [140] Device Serial Number 88-53-2e-ff-ff-4f-03-76
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi
[...]

Any clues?



Re: [gentoo-user] Best file system for portage tree?

2012-03-12 Thread José Romildo Malaquias
On Sat, Mar 10, 2012 at 07:36:07PM +0100, YoYo Siska wrote:
 On Sat, Mar 10, 2012 at 03:35:05PM +, Neil Bothwick wrote:
  On Sat, 10 Mar 2012 14:30:15 +0100, Alex Schuster wrote:
  
   Any tips on this? Does it make sense to use a special file system just
   for the portage tree? What would be best? Would it help to re-create
   this file system from time to time in case it gets slower with every
   sync?
  
  I use an ext2 filesystem for portage, it's still the fastest out there.
  Journals are unnecessary because its such a small filesystem, and if it
  does get damaged I can just reformat and sync again.
 
 I use an ext2 partition in a 500MB file image on most of my computers.
 Its important to check the inode count on such small filesytem, as
 mke2fs' default inode ration for such size is 4096, which is too
 low for portage:
 
 dd bs=$((500*1024*1024)) count=1 if=/dev/zero of=/usr/img_portage
 mke2fs -f -b1024 -i2048 /usr/img_portage

The -f option from mke2fs is to specify a fragment size and expects an
argument. Do you -F (which forces mke2fs to create a filesystem, even if
the specified device is not a partittion on a block special device)?

 fstab:
 /usr/img_portage/usr/portage/   ext2loop,noatime  
   0 0
 (this is from desktop, on servers I usually only mount it manually when
 emerging)
 
 # df -h
 Filesystem  Size  Used Avail Use% Mounted on
 /dev/loop0  469M  306M  139M  69% /usr/portage
 
 # df -i
 FilesystemInodes   IUsed IFree IUse% Mounted on
 /dev/loop0256032  152044103988   60% /usr/portage

Romildo



[gentoo-user] web browsers crash at sourceforge.net project pages

2012-03-03 Thread José Romildo Malaquias
Hello.

On my ~amd64 systems some web browsers (Mozilla Firefox 10.0.1, Midori
0.4.3, Opera 11.61 Build 1250) just crash when loading any
sourceforge.net project page. Konquerer does not crash, though.

I have already run revdep-rebuild, but the problem persists.

Has anybody seen this? Any clues?

Romildo



Re: [gentoo-user] Re: web browsers crash at sourceforge.net project pages

2012-03-03 Thread José Romildo Malaquias
On Sat, Mar 03, 2012 at 04:24:33PM +0200, Nikos Chantziaras wrote:
 On 03/03/12 16:06, José Romildo Malaquias wrote:
  Hello.
 
  On my ~amd64 systems some web browsers (Mozilla Firefox 10.0.1, Midori
  0.4.3, Opera 11.61 Build 1250) just crash when loading any
  sourceforge.net project page. Konquerer does not crash, though.
 
  I have already run revdep-rebuild, but the problem persists.
 
  Has anybody seen this? Any clues?
 
 Uninstall adobe-flash and try again.  If it works then, then you know 
 that Flash is causing this.

The web browsers still crash after uninstalling adobe-flash.

Romildo



Re: [gentoo-user] web browsers crash at sourceforge.net project pages

2012-03-03 Thread José Romildo Malaquias
On Sat, Mar 03, 2012 at 10:38:29AM -0600, Paul Hartman wrote:
 On Sat, Mar 3, 2012 at 8:06 AM, José Romildo Malaquias
 j.romi...@gmail.com wrote:
  Hello.
 
  On my ~amd64 systems some web browsers (Mozilla Firefox 10.0.1, Midori
  0.4.3, Opera 11.61 Build 1250) just crash when loading any
  sourceforge.net project page. Konquerer does not crash, though.
 
  I have already run revdep-rebuild, but the problem persists.
 
  Has anybody seen this? Any clues?
 
 They work for me, but in the olden days I had a similar problem that
 was due to a corrupt font. Every time a site would use that font (or
 specific glyph?) it would die.

After uninstalling almost media-fonts/* packages, the problem still
happens.

# eix -IAc media-fonts
[I] media-fonts/encodings (1.0.4{tbz2}@07/26/2011): X.Org font encodings
[I] media-fonts/font-alias (1.0.3{tbz2}@07/27/2011): X.Org font aliases
[I] media-fonts/font-misc-misc (1.1.2{tbz2}@07/27/2011): X.Org miscellaneous 
fonts
[I] media-fonts/font-util (1.2.0{tbz2}@07/26/2011): X.Org font utilities
Found 4 matches.

$ fc-list
Fixed:style=Bold
Fixed:style=Bold SemiCondensed
Fixed:style=SemiCondensed
Fixed:style=Oblique SemiCondensed
Fixed:style=Oblique
Fixed:style=ko
Fixed:style=ja
Fixed:style=Regular

Firefox, midori and opera crashes for both normal users I have on my
system, as well as for the root user.


Romildo.



Re: [gentoo-user] Re: web browsers crash at sourceforge.net project pages

2012-03-03 Thread José Romildo Malaquias
On Sat, Mar 03, 2012 at 05:18:15PM +0200, Nikos Chantziaras wrote:
 On 03/03/12 17:09, José Romildo Malaquias wrote:
  On Sat, Mar 03, 2012 at 04:24:33PM +0200, Nikos Chantziaras wrote:
  On 03/03/12 16:06, José Romildo Malaquias wrote:
  Hello.
 
  On my ~amd64 systems some web browsers (Mozilla Firefox 10.0.1, Midori
  0.4.3, Opera 11.61 Build 1250) just crash when loading any
  sourceforge.net project page. Konquerer does not crash, though.
 
  I have already run revdep-rebuild, but the problem persists.
 
  Has anybody seen this? Any clues?
 
  Uninstall adobe-flash and try again.  If it works then, then you know
  that Flash is causing this.
 
  The web browsers still crash after uninstalling adobe-flash.
 
 Can you verify that some local flash installation is not left behind? 
 Does for example YouTube still work?  Try playing a video and see what 
 the output of:
 
lsof | grep libflash
 
 is.  It should be empty.

lsof | grep libflash output is empty.

I belive no local flash installation has been left behind:

$ locate libflash | grep -v ^/usr/portage
/usr/lib64/libreoffice/basis3.4/program/libflashlx.so.bak


To test the flash player plugin I visisted the page at
http://www.ultrasounds.com/, which tells me the plugin is missing.


 Also, when you start the browser from the command-line, what does it 
 print when it crashes?

$ firefox http://sourceforge.net/projects/pgf/
Segmentation fault

$ opera http://sourceforge.net/projects/pgf/
opera: no fonts found among preferred font formats, trying pcf fonts
Unrecognized system call failure [fnmatch]: Invalid or incomplete multibyte or 
wide character
opera [crash logging]: CRASH!!
/usr/lib64/opera/opera got signal SIGSEGV at address 7F73ED1D17D5

Log was created here:
/var/tmp/crash20120303155333.txt
Killed

$ midori http://sourceforge.net/projects/pgf/
(midori:6011): GnomeShellBrowserPlugin-DEBUG: plugin loaded
(midori:6011): GnomeShellBrowserPlugin-DEBUG: plugin loaded
(midori:6011): GnomeShellBrowserPlugin-DEBUG: plugin loaded
Segmentation fault


Romildo



Re: [gentoo-user] web browsers crash at sourceforge.net project pages

2012-03-03 Thread José Romildo Malaquias
On Sat, Mar 03, 2012 at 03:55:26PM -0300, José Romildo Malaquias wrote:
 On Sat, Mar 03, 2012 at 10:38:29AM -0600, Paul Hartman wrote:
  On Sat, Mar 3, 2012 at 8:06 AM, José Romildo Malaquias
  j.romi...@gmail.com wrote:
   Hello.
  
   On my ~amd64 systems some web browsers (Mozilla Firefox 10.0.1, Midori
   0.4.3, Opera 11.61 Build 1250) just crash when loading any
   sourceforge.net project page. Konquerer does not crash, though.
  
   I have already run revdep-rebuild, but the problem persists.
  
   Has anybody seen this? Any clues?
  
  They work for me, but in the olden days I had a similar problem that
  was due to a corrupt font. Every time a site would use that font (or
  specific glyph?) it would die.
 
 After uninstalling almost media-fonts/* packages, the problem still
 happens.
 
 # eix -IAc media-fonts
 [I] media-fonts/encodings (1.0.4{tbz2}@07/26/2011): X.Org font encodings
 [I] media-fonts/font-alias (1.0.3{tbz2}@07/27/2011): X.Org font aliases
 [I] media-fonts/font-misc-misc (1.1.2{tbz2}@07/27/2011): X.Org miscellaneous 
 fonts
 [I] media-fonts/font-util (1.2.0{tbz2}@07/26/2011): X.Org font utilities
 Found 4 matches.
 
 $ fc-list
 Fixed:style=Bold
 Fixed:style=Bold SemiCondensed
 Fixed:style=SemiCondensed
 Fixed:style=Oblique SemiCondensed
 Fixed:style=Oblique
 Fixed:style=ko
 Fixed:style=ja
 Fixed:style=Regular
 
 Firefox, midori and opera crashes for both normal users I have on my
 system, as well as for the root user.


The problem was with some packages installed from the lcd-filtering
overlay. After removing the overlay and reinstalled them, the web
browsers do not crash anymore.

# emerge -avt1 corefonts media-fonts/dejavu liberation-fonts fontconfig 
freetype x11-libs/cairo libXf


Romildo



[gentoo-user] emerge using 100% CPU

2012-02-20 Thread José Romildo Malaquias
Hello.

Recently emerge behavior became strange on my ~amd64 system. When a
package fails to compile, emerge does not terminate, but goes to 100% of
CPU usage. Is anybody seeing this too?

# emerge --version
Portage 2.1.10.47 (default/linux/amd64/10.0/desktop, gcc-4.6.2, 
glibc-2.14.1-r2, 3.2.6-gentoo x86_64)

Romildo



Re: [gentoo-user] Re: emerge using 100% CPU

2012-02-20 Thread José Romildo Malaquias
On Mon, Feb 20, 2012 at 11:58:02AM -0800, walt wrote:
 On 02/20/2012 01:37 AM, José Romildo Malaquias wrote:
  Hello.
  
  Recently emerge behavior became strange on my ~amd64 system. When a
  package fails to compile, emerge does not terminate, but goes to 100% of
  CPU usage. Is anybody seeing this too?
  
  # emerge --version
  Portage 2.1.10.47 (default/linux/amd64/10.0/desktop, gcc-4.6.2, 
  glibc-2.14.1-r2, 3.2.6-gentoo x86_64)
 
 No such problem on my ~amd64 (but I'm staying with gcc-4.5.3 for now).
 
 Portage is a collection of python scripts, so you might want to run
 python-updater just for insurance.
 
 Which version of python is your portage using?  (See the useflags on your
 sys-apps/portage package.)

The problem seems to be fixed with the newer release of portage.

See https://bugs.gentoo.org/show_bug.cgi?id=404995.

Romildo



[gentoo-user] cantarell latex package: error

2011-08-23 Thread José Romildo Malaquias
Hello.

I am having problems compiling a latex document (attached) which uses
the cantarell package.

pdflatex fails with the following messages:

$ pdflatex test-cantarell
[...]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 
raw-ot1-Cantarell-Regular-Slanted
mktexpk: don't know how to create bitmap font for 
raw-ot1-Cantarell-Regular-Slanted.
mktexpk: perhaps raw-ot1-Cantarell-Regular-Slanted is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
(see the transcript file for additional information)
!pdfTeX error: pdflatex (file raw-ot1-Cantarell-Regular-Slanted): Font raw-ot1-
Cantarell-Regular-Slanted at 600 not found
 == Fatal error occurred, no output PDF file produced!


I am running ~amd64 gentoo Linux. Any clues?

Romildo


test-cantarell.tex
Description: TeX document


[gentoo-user] Choosing wired or wireless at boot time

2011-08-01 Thread José Romildo Malaquias
Hello.

I have two network interfaces on my notebook: one wired (eth0) and one
wireless (wlan0). I am running ~amd64 on it.

I want two gentoo boot entries in grub: one (the default softlevel)
which starts wired networking (and not wireless), and another that
starts the wireless network (and not the wired).

For the later I have created a new softlevel named wireless, with all
services from default, except net.eth0. The default has net.eth0, but
not net.wlan0. Booting with default works as expected, but booting with
wireless starts both interfaces.

In /etc/rc.conf I have the lines:

  rc_depend_strict=NO
  rc_hotplug=!net*

Any clues?

Romildo



[gentoo-user] Error building gpick-0.2.3 on gentoo linux

2011-05-01 Thread José Romildo Malaquias
Hello.

I would like to have the latest version (0.2.3) of gpick installed on my
~amd64 gentoo linux system, but configure is failling with the error:

[...]
scons -j3
scons: Reading SConscript files ...
Checking for dbus-glib-1 = 0.76... no

# pkg-config --modversion dbus-glib-1
0.92

# scons --version
SCons by Steven Knight et al.:
  script: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog
  engine: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
The SCons Foundation

Any clues?

Romildo



[gentoo-user] mutt attachment viewing

2010-11-08 Thread José Romildo Malaquias
The entries for text/html in /etc/mailcap and ~/.mutt/mailcap on my
~amd64 Gentoo Linux system are

$ grep ^text/html ~/.mutt/mailcap /etc/mailcap
/home/romildo/.mutt/mailcap:text/html; links %s; nametemplate=%s.html; 
needsterminal; copiousoutput; description=HTMLText
/etc/mailcap:text/html; /usr/bin/lynx -force_html '%s'; needsterminal; 
description=HTML Text; nametemplate=%s.html
/etc/mailcap:text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html

Although the entry for links does not have the field copiousoutput, it
is not being used for viewing an html attachment from the mutt
attachments menu, as it should be. Instead it is using the lynx entry. I
am using Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1).

Any clues?

Romildo



[gentoo-user] Re: mutt attachment viewing

2010-11-08 Thread José Romildo Malaquias
On Mon, Nov 08, 2010 at 03:44:37PM +0100, hubert depesz lubaczewski wrote:
 On Mon, Nov 08, 2010 at 08:11:30AM -0200, José Romildo Malaquias wrote:
  The entries for text/html in /etc/mailcap and ~/.mutt/mailcap on my
  ~amd64 Gentoo Linux system are
  
  $ grep ^text/html ~/.mutt/mailcap /etc/mailcap
  /home/romildo/.mutt/mailcap:text/html; links %s; nametemplate=%s.html; 
  needsterminal; copiousoutput; description=HTMLText
   
^

  /etc/mailcap:text/html; /usr/bin/lynx -force_html '%s'; needsterminal; 
  description=HTML Text; nametemplate=%s.html
  /etc/mailcap:text/html; /usr/bin/lynx -dump -force_html '%s'; 
  copiousoutput; description=HTML Text; nametemplate=%s.html
  
  Although the entry for links does not have the field copiousoutput, it
  is not being used for viewing an html attachment from the mutt
  attachments menu, as it should be. Instead it is using the lynx entry. I
  am using Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1).
  
  Any clues?
 
 needsterminal?

This option is already in the mailcap entry.

Romildo



[gentoo-user] Re: mutt attachment viewing

2010-11-08 Thread José Romildo Malaquias
On Mon, Nov 08, 2010 at 06:36:20PM +0100, hubert depesz lubaczewski wrote:
 On Mon, Nov 08, 2010 at 12:54:40PM -0200, José Romildo Malaquias wrote:
  On Mon, Nov 08, 2010 at 03:44:37PM +0100, hubert depesz lubaczewski wrote:
   On Mon, Nov 08, 2010 at 08:11:30AM -0200, José Romildo Malaquias wrote:
The entries for text/html in /etc/mailcap and ~/.mutt/mailcap on my
~amd64 Gentoo Linux system are

$ grep ^text/html ~/.mutt/mailcap /etc/mailcap
/home/romildo/.mutt/mailcap:text/html; links %s; nametemplate=%s.html; 
needsterminal; copiousoutput; description=HTMLText
 
  ^
  
/etc/mailcap:text/html; /usr/bin/lynx -force_html '%s'; needsterminal; 
description=HTML Text; nametemplate=%s.html
/etc/mailcap:text/html; /usr/bin/lynx -dump -force_html '%s'; 
copiousoutput; description=HTML Text; nametemplate=%s.html

Although the entry for links does not have the field copiousoutput, it
is not being used for viewing an html attachment from the mutt
attachments menu, as it should be. Instead it is using the lynx entry. I
am using Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1).

Any clues?
   
   needsterminal?
  
  This option is already in the mailcap entry.
 
 *exactly*. remove it.

With the entry:

text/html; links %s; nametemplate=%s.html


it does not work:

[-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]

With the entry:


text/html; links %s; nametemplate=%s.html; needsterminal


it also does not work:

[-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]

With the entry:


text/html; links %s; nametemplate=%s.html; copiousoutput


it still does not work:

Invoking autoview command: links '/tmp/mutt.html'

is diplayed indefinitly in the status line, and I have to type Ctrl-C in
order to get rid of it. After that the screen is shown with garbage:

[-- Autoview using links '/tmp/mutt.html' --]
^[[?1001s^[[?1000h^[)0^[7^[[?1000h^[[1;1H^[[2J^[[1;1H
+^[[2;1H   Segue o cartaz da palestra com nova data.
[...]

So it seems that there is bug somewhere.

Romildo



[gentoo-user] trouble emerging vmware-workstation from the vmware overlay

2010-08-25 Thread José Romildo Malaquias
Hello.

I am having some trouble installing vmware-workstation from the vmware
overlay:


# emerge -avt vmware-workstation

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N f  ] app-emulation/vmware-workstation-7.1.1.282343  
USE=vmware-tools -doc -vix 0 kB [1]
[ebuild  N]  app-emulation/vmware-modules-238  0 kB [1]
[ebuild  N F  ]   app-emulation/vmware-player-3.1.0.261024  USE=vmware-tools 
-doc 100,067 kB [1]
[blocks B ] app-emulation/vmware-workstation 
(app-emulation/vmware-workstation is blocking 
app-emulation/vmware-player-3.1.0.261024)
[blocks B ] app-emulation/vmware-player (app-emulation/vmware-player is 
blocking app-emulation/vmware-workstation-7.1.1.282343)

Total: 3 packages (3 new), Size of downloads: 100,067 kB
Fetch Restriction: 2 packages (1 unsatisfied)
Conflict: 2 blocks (2 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/vmware

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-emulation/vmware-player-3.1.0.261024, ebuild scheduled for merge) pulled 
in by
~app-emulation/vmware-player-3.1.0.261024 required by 
(app-emulation/vmware-modules-238, ebuild scheduled for merge)

  (app-emulation/vmware-workstation-7.1.1.282343, ebuild scheduled for merge) 
pulled in by
vmware-workstation


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked




Any help?

Romildo



Re: [gentoo-user] trouble emerging vmware-workstation from the vmware overlay

2010-08-25 Thread José Romildo Malaquias
On Wed, Aug 25, 2010 at 03:23:13PM +0400, d.fedo...@timeweb.ru wrote:
  Hello.
 
  I am having some trouble installing vmware-workstation from the vmware
  overlay:
 
 
  # emerge -avt vmware-workstation
 
  These are the packages that would be merged, in reverse order:
 
  Calculating dependencies... done!
  [ebuild  N f  ] app-emulation/vmware-workstation-7.1.1.282343
  USE=vmware-tools -doc -vix 0 kB [1]
  [ebuild  N]  app-emulation/vmware-modules-238  0 kB [1]
  [ebuild  N F  ]   app-emulation/vmware-player-3.1.0.261024
  USE=vmware-tools -doc 100,067 kB [1]
  [blocks B ] app-emulation/vmware-workstation
  (app-emulation/vmware-workstation is blocking
  app-emulation/vmware-player-3.1.0.261024)
  [blocks B ] app-emulation/vmware-player (app-emulation/vmware-player
  is blocking app-emulation/vmware-workstation-7.1.1.282343)
 
  Total: 3 packages (3 new), Size of downloads: 100,067 kB
  Fetch Restriction: 2 packages (1 unsatisfied)
  Conflict: 2 blocks (2 unsatisfied)
  Portage tree and overlays:
   [0] /usr/portage
   [1] /var/lib/layman/vmware
 
   * Error: The above package list contains packages which cannot be
   * installed at the same time on the same system.
 
(app-emulation/vmware-player-3.1.0.261024, ebuild scheduled for merge)
  pulled in by
  ~app-emulation/vmware-player-3.1.0.261024 required by
  (app-emulation/vmware-modules-238, ebuild scheduled for merge)
 
(app-emulation/vmware-workstation-7.1.1.282343, ebuild scheduled for
  merge) pulled in by
  vmware-workstation
 
 
  For more information about Blocked Packages, please refer to the following
  section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 
 
 
  Any help?
 
  Romildo
 
 
 [blocks B ] app-emulation/vmware-workstation
 (app-emulation/vmware-workstation
 is blocking app-emulation/vmware-player-3.1.0.261024)
 [blocks B ] app-emulation/vmware-player (app-emulation/vmware-player is
 blocking app-emulation/vmware-workstation-7.1.1.282343)
 
 Here is the reason of your problem. Try to mask vmware-player

That does not seem to be enough.

Looking at the ebuilds, I have found the following:



# grep vmware-modules 
/var/lib/layman/vmware/app-emulation/vmware-workstation/vmware-workstation-7.1.1.282343.ebuild
PDEPEND=~app-emulation/vmware-modules-238

# grep -B 2 vmware-workstation 
/var/lib/layman/vmware/app-emulation/vmware-modules/vmware-modules-238.ebuild
DEPEND=${RDEPEND}
|| ( ~app-emulation/vmware-player-3.1.0.261024
~app-emulation/vmware-workstation-7.1.0.261024 )

# grep -B 2 vmware-workstation 
/var/lib/layman/vmware/app-emulation/vmware-modules/vmware-modules-238.1.ebuild
DEPEND=${RDEPEND}
|| ( ~app-emulation/vmware-player-3.1.1.282343
~app-emulation/vmware-workstation-7.1.1.282343 )





Therefore it seems that there are errors in the dependencies in the
ebuilds: vmware-workstation-7.1.1.282343 depends on vmware-modules-238,
which depends on vmware-workstation-7.1.0.261024.

Is this a bug? If so, where should it be reported?

Romildo



Re: [gentoo-user] trouble emerging vmware-workstation from the vmware overlay

2010-08-25 Thread José Romildo Malaquias
On Wed, Aug 25, 2010 at 08:02:17AM -0400, Albert Hopkins wrote:
 On Wed, 2010-08-25 at 08:58 -0300, José Romildo Malaquias wrote:
   Here is the reason of your problem. Try to mask vmware-player
  
  That does not seem to be enough.
  
  Looking at the ebuilds, I have found the following:
  
  
  
  # grep
  vmware-modules 
  /var/lib/layman/vmware/app-emulation/vmware-workstation/vmware-workstation-7.1.1.282343.ebuild
  PDEPEND=~app-emulation/vmware-modules-238
  
  # grep -B 2
  vmware-workstation 
  /var/lib/layman/vmware/app-emulation/vmware-modules/vmware-modules-238.ebuild
  DEPEND=${RDEPEND}
  || ( ~app-emulation/vmware-player-3.1.0.261024
  ~app-emulation/vmware-workstation-7.1.0.261024 )
  
  # grep -B 2
  vmware-workstation 
  /var/lib/layman/vmware/app-emulation/vmware-modules/vmware-modules-238.1.ebuild
  DEPEND=${RDEPEND}
  || ( ~app-emulation/vmware-player-3.1.1.282343
  ~app-emulation/vmware-workstation-7.1.1.282343 )
  
  Therefore it seems that there are errors in the dependencies in the
  ebuilds: vmware-workstation-7.1.1.282343 depends on
  vmware-modules-238,
  which depends on vmware-workstation-7.1.0.261024.
  
 
 It's an OR (||) relationship.  The modules depend on vmware-player OR
 vmware-workstation.  And likely vmware-player and vmware-workstation
 block each other.  So you need to install one OR the other and make sure
 the other one isn't installed.


Yes, that is the way to solve the blocking. But even after masking
vmware-player, I have trouble getting vmware-workstation-7.1.1.282343
installed.

How can mware-workstation-7.1.1.282343 depend on vmware-modules-238, and
vmware-modules-238 depend on vmware-workstation-7.1.0.261024. To me this
is bug.

Probably mware-workstation-7.1.1.282343 should depend on
vmware-modules-238.1 (notice the .1 in the version 238.1), which is also
available in the overlay.

Romildo



[gentoo-user] convert google newsgroup digest to mbox

2010-05-01 Thread José Romildo Malaquias
Hello.

Does anybody know if there is an application to convert to the mbox
format the email messages sent by groups.google.com in a digest format
to the group subscribers (if the subscriber choosed this format)?

Romildo



[gentoo-user] xfce: unable to perform shutdown

2010-01-04 Thread José Romildo Malaquias
Hello.

When shutting down my ~amd64 gentoo system running XFCE, the system
does not shut down and I receive the following error message, and then
the XFCE session is closed.

Unable to perform shutdown
error: org.freedesktop.Hal.Error: Could not determine whether caller
is privileged
org.freedesktop.Hal.Device.Error

Any clues?

Romildo



Re: [gentoo-user] cdrecord fails to burn dvd

2009-12-01 Thread José Romildo Malaquias
On Mon, Nov 30, 2009 at 11:44:13PM +0100, Joerg Schilling wrote:
 José Romildo Malaquias j.romi...@gmail.com wrote:
 
   Then please test again with -v
 
  It works. See attached the output of the command:
 
  # script -f -c /var/tmp/CDRTOOLS/opt/schily/bin/cdrecord -v -sao -eject 
  speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso 
  /var/tmp/cdrecord.log
 
 This is really good news and the -v output shows that the first 1-2 MB, there 
 is no display for the drive buffer fill ratio as cdrecord does not call read
 buffer cap. I just released 2.01.01a69 at:
 
 ftp://ftp.berlios.de/pub/cdrecord/alpha/
 
 that includes the change.
 
 Jörg

I want to thank Jörg for his persistence in helping me to solve the
issue with my system. Thanks for his effort, and for the solution he has
found.

Romildo



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-20 Thread José Romildo Malaquias
On Fri, Nov 20, 2009 at 01:36:27PM +0100, Joerg Schilling wrote:
 José Romildo Malaquias j.romi...@gmail.com wrote:
 
   BTW: this may be caused by the fact that you did not simply add debug=2
   but at the same time removed -V.
 
  I have run the cdrecord command again, this time passing -V and debug=2:
 
  $ script -f -c cdrecord -vvv -V debug=2 -sao -eject speed=8 fs=256m 
  driveropts=burnfree /var/tmp/image.iso cdrecord.log
 
  and the compressed log is attached.
 
  I hope you can find anything useful to understand what is happening.
 
 I'll look at this later. Could you meanwhile do a test without -V please?
 
 There was a report for broken Pioneer formware that hits in -v mode and
 causes the firmware from the drive to through away the data before writing
 it to the medium.

Do you mean a test without -V or -v ?

Romildo



Re: [gentoo-user] Re: Reading a DVD as an ISO image

2009-11-19 Thread José Romildo Malaquias
On Wed, Nov 18, 2009 at 09:36:03AM -0600, Paul Hartman wrote:
 2009/11/18 José Romildo Malaquias j.romi...@gmail.com:
  On Tue, Nov 17, 2009 at 04:54:20PM +, Grant Edwards wrote:
  On 2009-11-17, Marcus Wanner marc...@cox.net wrote:
 
   My guess is that he has a slow internet connection, he
   downloaded a large iso, burned it, deleted it, and now wants
   to get the iso back without downloading it again, but he has
   access to the checksum/filesize of the original iso from the
   place he downloaded it, and when he makes an iso, the
   checksum/filesize does not match.
 
  In my experience that happens because one or the other of the
  images has extra garbage blocks past the end of the actual
  ISO filesystem image.  If you look at the ISO filesystem header
  and find the actual size of the image, it's probably smaller
  than the image file.  If you only compare the bytes within
  the ISO image itself, I bet the two will match.
 
  In fact the size of the iso images obtained with dd and with cdread are
  a little bit larger than the original one. The iso image obtained by
  mkisofs on the mounted disc (with the udf filesystem type) are of the
  right size, but still not identical to the original.
 
 This webpage has some info about comaring ISO images to burnt discs
 and a possible solution:
 http://twiki.org/cgi-bin/view/Wikilearn/CdromMd5sumsAfterBurning

Thanks for the link.

As I know the size and the sha1sum of the original ISO image, I
succeeded in creating an identical ISO image from the dvd disc with the
command:

  dd if=/dev/dvd | head -c 4610877440  /var/tmp/image2.iso

Is it possible to do something similar using readcd instead of dd?

Romildo



Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-18 Thread José Romildo Malaquias
On Tue, Nov 17, 2009 at 09:49:52AM +0100, Sebastian Beßler wrote:
 Am 17.11.2009 09:09, schrieb Daniel Pielmeier:
  2009/11/17 José Romildo Malaquias j.romi...@gmail.com:
  With both commands, the resulting image is 99.9% identical to the
  original one.
 
  Is there anything I can do to get an image identical to the original one?
  
  What about mounting the iso and create it again from the mountpoint.
 
 That he has deleted the iso?

Yes, I have deleted the iso.

 How do you check the correctness of the new written iso?
 Have you a checksum of the old iso or do you check against the DVD?

I have a sha1 checksum ot it.

Romildo



Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-18 Thread José Romildo Malaquias
On Tue, Nov 17, 2009 at 12:02:12PM +0100, Joerg Schilling wrote:
 Daniel Pielmeier bil...@gentoo.org wrote:
 
  2009/11/17 Sebastian Beßler webmas...@darkmetatron.de:
   What about mounting the iso and create it again from the mountpoint.
  
   That he has deleted the iso?
 
  Well, he then can create the iso again from the mounted DVD, without
  readcd or dd, but with the same program (mkisofs?) he used before.
 
 This works only in case that the OS correctly supports all features in the 
 filesystem. As Linux does not support hard links correctly, callig mkisofs
 again will not always result in an identical image and the new image might
 not fit on the medium

I have mounted the disc using the udf filesystem and then I have
recreated the iso from the mounted disc using mkisofs with the same
arguments. This time at least the new iso has the same size as the
original one (while with dd and readcd the obtained iso is a little
bigger). But the iso is still not identical to the original one.

Romildo



Re: [gentoo-user] Re: Reading a DVD as an ISO image

2009-11-18 Thread José Romildo Malaquias
On Tue, Nov 17, 2009 at 11:15:08AM -0500, Marcus Wanner wrote:
 On 11/17/2009 10:40 AM, Grant Edwards wrote:
  On 2009-11-17, Jos? Romildo Malaquias j.romi...@gmail.com wrote:
 

  Once I have written a dvd ISO image to a dvd-r disk and then I have
  deleted the image from the hard disk. Now I need the image again, but
  reading the image from disk does not give me an identical image to the
  original one.
 
  I have used the commands
 
  $ readcd -vvv dev=/dev/dvd f=image.iso
 
  and
 
  $ dd if=/dev/dvd of=image.iso
 
  With both commands, the resulting image is 99.9% identical to the
  original one.
  
 
  If you deleted the original, how do you know? the one you're
  creating from the DVD isn't identical?
 

  Is there anything I can do to get an image identical to the
  original one?
  
 
  Since you still seem to have a copy of the original ISO, just
  use it.

 My guess is that he has a slow internet connection, he downloaded a 
 large iso, burned it, deleted it, and now wants to get the iso back 
 without downloading it again, but he has access to the checksum/filesize 
 of the original iso from the place he downloaded it, and when he makes 
 an iso, the checksum/filesize does not match.

You guessed almost right. Except by the fact that the original iso was
created by me and transfered to another machine, and now it is lost from
both machines.

Romildo



Re: [gentoo-user] Re: Reading a DVD as an ISO image

2009-11-18 Thread José Romildo Malaquias
On Tue, Nov 17, 2009 at 04:54:20PM +, Grant Edwards wrote:
 On 2009-11-17, Marcus Wanner marc...@cox.net wrote:
 
  My guess is that he has a slow internet connection, he
  downloaded a large iso, burned it, deleted it, and now wants
  to get the iso back without downloading it again, but he has
  access to the checksum/filesize of the original iso from the
  place he downloaded it, and when he makes an iso, the
  checksum/filesize does not match.
 
 In my experience that happens because one or the other of the
 images has extra garbage blocks past the end of the actual
 ISO filesystem image.  If you look at the ISO filesystem header
 and find the actual size of the image, it's probably smaller
 than the image file.  If you only compare the bytes within
 the ISO image itself, I bet the two will match.

In fact the size of the iso images obtained with dd and with cdread are
a little bit larger than the original one. The iso image obtained by
mkisofs on the mounted disc (with the udf filesystem type) are of the
right size, but still not identical to the original.

Romildo



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-18 Thread José Romildo Malaquias
On Mon, Nov 16, 2009 at 03:43:12PM +0100, Joerg Schilling wrote:
 José Romildo Malaquias j.romi...@gmail.com wrote:
 
 To find the reason for the following Impossible because
 illegal error situation:
 
 Executing 'test unit ready' command on Bus 0 Target 6, Lun 0 timeout 40s
 CDB:  00 00 00 00 00 00
 cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
 CDB:  00 00 00 00 00 00
 cmd finished after 0.000s timeout 40s
 
 
 please run the command again and add debug=2 to the list of options.

I am attaching the compressed output of the command:

  script -f -c cdrecord -v debug=2 -sao -eject speed=8 fs=256m 
driveropts=burnfree /var/tmp/image.iso cdrecord.log

Romildo


cdrecord.log.bz2
Description: BZip2 compressed data


[gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread José Romildo Malaquias
Hello.

Once I have written a dvd ISO image to a dvd-r disk and then I have
deleted the image from the hard disk. Now I need the image again, but
reading the image from disk does not give me an identical image to the
original one.

I have used the commands

$ readcd -vvv dev=/dev/dvd f=image.iso

and

$ dd if=/dev/dvd of=image.iso

With both commands, the resulting image is 99.9% identical to the
original one.

Is there anything I can do to get an image identical to the original one?

Regards,

Romildo



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-11 Thread José Romildo Malaquias
On Wed, Nov 11, 2009 at 06:03:39PM +0100, Joerg Schilling wrote:
 José Romildo Malaquias j.romi...@gmail.com wrote:
[...]
 OK, the drive does not support the read buffer command, this is why cdrecord
 cannot do a DMA speed test.
 
 But you have a massive problem in the linux kernel that needs to be 
 investigated. The test unit ready command _cannot_ return a fatal 
 SCSI transport error as long as there is a drive connected.
 
 Please start with running the scgcheck command to get some informations
 on the compliance problems in your linux kernel.

The output of scgcheck is attached to this message.

Romildo
# scgcheck 
Scgcheck 2.01.01a67 (x86_64-unknown-linux-gnu) SCSI user level transport 
library ABI checker.
Copyright (C) 1998-2008 Jörg Schilling
** Checking whether your implementation supports to scan the SCSI bus.
Trying to open device: '(NULL POINTER)'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 32768
scsibus0:
0,0,0 0) 'ATA ' 'FUJITSU MHZ2250B' '0085' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus3:
3,0,0   300) 'TEAC' 'DVD+-RW DVW28SLC' 'A.06' Removable CD-ROM
3,1,0   301) *
3,2,0   302) *
3,3,0   303) *
3,4,0   304) *
3,5,0   305) *
3,6,0   306) *
3,7,0   307) *
-- SCSI scan bus test PASSED
For the next test we need to open a single SCSI device.
Best results will be obtained if you specify a modern CD-ROM drive.
No target specified, trying to find one...
Using dev=3,0,0.
Enter SCSI device name [3,0,0]: 
Trying to open device: '3,0,0'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 131072
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TEAC'
Identifikation : 'DVD+-RW DVW28SLC'
Revision   : 'A.06'
Ready to start test for second SCSI open? Enter CR to continue: 
First SCSI open OK - device usable
** Checking for second SCSI open.
Second SCSI open for same device succeeded, 1 additional file descriptor(s) 
used.
Second SCSI open is usable
Closing second SCSI.
Checking first SCSI.
First SCSI open is still usable
-- Second SCSI open test PASSED.
First SCSI open is still usable
Ready to start test for succeeded command? Enter CR to continue: 
** Checking for succeeded SCSI command.

Executing 'inquiry' command on Bus 3 Target 0, Lun 0 timeout 40s
CDB:  12 00 00 00 24 00
cmd finished after 0.004s timeout 40s
Inquiry Data   : 05 80 05 32 5B 00 00 00 54 45 41 43 20 20 20 20 44 56 44 2B 2D 
52 57 20 44 56 57 32 38 53 4C 43 41 2E 30 36
-- SCSI succeeded command test PASSED
Ready to start test for failing command? Enter CR to continue: 
** Testing for failed SCSI command.
Inquiry did not fail.
This may be because the firmware in your drive is buggy.
If the current drive is not a CD-ROM drive please restart
the test utility. Otherwise remove any medium from the drive.
Ready to start test for failing command? Enter CR to continue: 
scgcheck: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.007s timeout 40s
-- SCSI failed command test PASSED
Ready to start test for sense data count? Enter CR to continue: 
** Testing for SCSI sense data count.
** Testing if at least CCS_SENSE_LEN (18) is supported...
Sense Data: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00 00 00
-- Method 0x00: expected: 18 reported: 16 max found: 13
Sense Data: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00 FF FF
-- Method 0xFF: expected: 18 reported: 16 max found: 16
-- Minimum standard (CCS) sense length failed
-- Wanted 18 sense bytes, got (16)
** Testing for 32 bytes of sense data...
Sense Data: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00
-- Method 0x00: expected: 32 reported: 16 max found: 13
Sense Data: 70 00 02 00 00 00 00 0E 00 00 00 00 3A 00 00 00 FF FF FF FF FF FF 
FF 


Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-09 Thread José Romildo Malaquias
On Mon, Nov 09, 2009 at 10:11:40AM +0100, Joerg Schilling wrote:
 José Romildo Malaquias j.romi...@gmail.com wrote:
 
 
  Most of the requested information can be found in the attached log file.
 
  I do not know how to get the ATIP data on the media used. But I can say
 
 Call cdrecord -atip

By searching the cdrecord man page I have found it. Thanks anyway.

 For the medium state, I would need the output from cdrecord -minfo
 before and after you tries to burn.
 
 
  that I have recently used more than 200 discs of this brand (Kodak) and
  it has shown very reliable. cdrecord has no problems with it on my
  desktop computer. The problem happens just in my notebook. Therefore it
  suggests the problem is not with the media.
 
 Did you ever write a DVD-R with this hardware?

Yes I have written some DVD-R discs with this hardware. When I bought
the notebook and installed gentoo in last January, burning with cdrecord
(from cdrtools) used to work. Sometime later (about one month, but I am
not sure) it stopped working. Probably after some upgrade. I do not
remeber exactly. By then I could not look at the problem because of lack
of time. Since then I have been using Nero Linux for recording DVD-R
discs without problems.

Some information I have sent in previous messages may not be accurate
enough because I have forgotten to change the media to a new unused
one. So I am attaching a new file with the output of some requested
commands.

Romildo
$ dvd+rw-mediainfo /dev/sr0
INQUIRY:[TEAC][DVD+-RW DVW28SLC][A.06]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 11h, DVD-R Sequential
 Media ID:   UME01  
 Current Write Speed:   8.0x1385=11080KB/s
 Write Speed #0:8.0x1385=11080KB/s
 Write Speed #1:6.0x1385=8310KB/s
 Write Speed #2:4.0x1385=5540KB/s
 Write Speed #3:2.0x1385=2770KB/s
 Speed Descriptor#0:00/2298495 r...@8.0x1385=11080kb/s 
w...@8.0x1385=11080kb/s
 Speed Descriptor#1:00/2298495 r...@6.0x1385=8310kb/s w...@6.0x1385=8310kb/s
 Speed Descriptor#2:00/2298495 r...@4.0x1385=5540kb/s w...@4.0x1385=5540kb/s
 Speed Descriptor#3:00/2298495 r...@2.0x1385=2770kb/s w...@2.0x1385=2770kb/s
READ DVD STRUCTURE[#10h]:
 Media Book Type:   00h, DVD-ROM book [revision 0]
 Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
 Media Book Type:   25h, DVD-R book [revision 5]
 Last border-out at:2045*2KB=4188160
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Next Track:  1
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   invisible incremental
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2297888*2KB
 Track Size:2297888*2KB
READ CAPACITY:  0*2048=0

$ cdrecord -atip
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2009 Jörg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=3,0,0.
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TEAC'
Identifikation : 'DVD+-RW DVW28SLC'
Revision   : 'A.06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
cdrecord: Warning: The DMA speed test has been skipped.
book type:   DVD-R, Version 2.0x (2.5)
disc size:   120mm (0)
maximum rate:Not specified (15)
number of layers:1
track path:  Parallel Track Path (0)
layer type:  Rewritable Area (2)
linear density:  0.267 µm/bit (0)
track density:   0.74 µm/track (0)
phys start:  196608 (0x3) 
phys end:0
end layer 0: 0
bca: 0
phys size:...-196607
copyr prot type: 0
region mgt info: 0
last rma sector: 0
application code:64
physical code:   193
last rec address:16621272
part v./ext code:5/2
ind wr. power:   135
wavelength code: 13
write str. code: 10 66 78 80
Manufacturer:   'UME01'
rzone size: 36
rzone number:   1
border number:  1
ljrs:   0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 1 incremental: 0 fp: 0
data mode:  1
lra valid:  0
nwa valid:  1
rzone start:0
next wr addr:   0
free blocks:2298496
blocking factor:16
rzone size: 2298496
last recorded addr: 0

Capacity  Blklen/Sparesz.  Format-type  Type
16777215 2048 0x00  No Media Present or Unknown Capacity

$ cdrecord -minfo
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2009 Jörg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=3,0,0.
Device type: Removable CD-ROM
Version

[gentoo-user] cdrecord fails to burn dvd

2009-11-08 Thread José Romildo Malaquias
Hello.

Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
Vostro 1510 notebook is always failing.

The device is identified as TEAC DVD+-RW DVW28SLC and can write at 8x
speed.

The process starts and reports writing at 14.5x, but the media is not
burnt.  cdrecord reaches but does not finish the fixation stage.  It
reports an average write speed of 14.3x.  When I manage to stop the
process (by rebooting the computer), I see the media has not been burnt
and it is not ruined. It can be reused.

With cdrkit, cdrecord finishes (after using different speeds, as 2x, 1x,
4x, 6x e 20x), but when reading the disc an input/output error is
reported.

With Nero Linux I can burn dvd discs without problems, though.

When I bought this notebook in january and first installed gentoo,
cdrecord used to work. Then at some point ago (probably after some
update) it has stopped working with the behaviour I have described
above. But by then I did not have the time to investigate, and keep
using only Nero, which continues to work well.  Today I decided to
investigate a little more the problem, but could not reach to any
conclusions.

Any clues?

Romildo



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-08 Thread José Romildo Malaquias
On Sun, Nov 08, 2009 at 05:35:50PM +0100, Joerg Schilling wrote:
 José Romildo Malaquias j.romi...@gmail.com wrote:
 
  Hello.
 
  Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
  Vostro 1510 notebook is always failing.
 
  The device is identified as TEAC DVD+-RW DVW28SLC and can write at 8x
  speed.
 
  The process starts and reports writing at 14.5x, but the media is not
  burnt.  cdrecord reaches but does not finish the fixation stage.  It
  reports an average write speed of 14.3x.  When I manage to stop the
  process (by rebooting the computer), I see the media has not been burnt
  and it is not ruined. It can be reused.
 
  With cdrkit, cdrecord finishes (after using different speeds, as 2x, 1x,
  4x, 6x e 20x), but when reading the disc an input/output error is
  reported.
 
 wodim is known for not being able to support DVDs.
 
 If you like to get help with cdrecord, I recommend you to first send
 information and log files about your problem.
 
 I need the following:
 
 The version number of cdrecord that caused the bug.
 The command line that was used for the failing command.
 The complete output (including error messages) from 'cdrecord -v ...' (use 
   script to fetch the output)
 Probably the important part of the 'cdrecord -V' output if we agreed on it
 The OS name, release and hardware (processor)
 Special conditions of your environment (libc vers. SCSI transport ...)
 Sufficient information on the media used. This is at least the ATIP
 data, a note to CD-R/CD-RW and information on the state and the case
 history of this media.
 
 If cdrecord reports a higher speed than possible, I would guess that
 the Linux kernel does not set up DMA correctly.
 
 Jörg

Most of the requested information can be found in the attached log file.

I do not know how to get the ATIP data on the media used. But I can say
that I have recently used more than 200 discs of this brand (Kodak) and
it has shown very reliable. cdrecord has no problems with it on my
desktop computer. The problem happens just in my notebook. Therefore it
suggests the problem is not with the media.

If you need any more information, just ask.

Romildo
$ uname -a
Linux jrm 2.6.31-gentoo-r5 #1 SMP Sat Nov 7 21:58:34 BRST 2009 x86_64 Intel(R) 
Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux

$ /lib/libc.so.6
GNU C Library stable release version 2.11, by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.2.
Compiled on a Linux 2.6.31-gentoo-r4 system on 2009-11-07.
Available extensions:
C stubs add-on version 2.1.2
crypt add-on version 2.1 by Michael Glad and others
Gentoo patchset 2
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.

$ lsscsi --list --long 3:0:0:0
[3:0:0:0]cd/dvd  TEAC DVD+-RW DVW28SLC A.06  /dev/sr0 
  device_blocked=0
  iocounterbits=32
  iodone_cnt=0xf2e
  ioerr_cnt=0x3
  iorequest_cnt=0x2548
  queue_depth=1
  queue_type=none
  scsi_level=6
  state=running
  timeout=30
  type=5

$ lsscsi --transport 3:0:0:0
[3:0:0:0]cd/dvd  ata:/dev/sr0 

# hdparm -i /dev/sr0 | grep dma
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 *udma2 

$ cdrecord --version
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2009 Jörg Schilling

$ cdrecord -checkdrive
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2009 Jörg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=3,0,0.
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TEAC'
Identifikation : 'DVD+-RW DVW28SLC'
Revision   : 'A.06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
cdrecord: Warning: The DMA speed test has been skipped.

$ cdrecord -v -sao -eject speed=8 fs=256m driveropts=burnfree /var/tmp/image.iso
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2009 Jörg Schilling
TOC Type: 1 = CD-ROM
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
SCSI buffer size: 32768
No target specified, trying to find one...
Using dev=3,0,0.
atapi: 1
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TEAC'
Identifikation : 'DVD+-RW DVW28SLC'
Revision   : 'A.06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-R

Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-08 Thread José Romildo Malaquias
On Sun, Nov 08, 2009 at 11:23:50PM -0200, José Romildo Malaquias wrote:
 On Sun, Nov 08, 2009 at 05:35:50PM +0100, Joerg Schilling wrote:
  José Romildo Malaquias j.romi...@gmail.com wrote:
[...]
   Burning dvds with Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 on my Dell
   Vostro 1510 notebook is always failing.
[...]
  I need the following:
[...]
  Sufficient information on the media used. This is at least the ATIP
  data, a note to CD-R/CD-RW and information on the state and the case
  history of this media.
[...]
 I do not know how to get the ATIP data on the media used. But I can say
 that I have recently used more than 200 discs of this brand (Kodak) and
 it has shown very reliable. cdrecord has no problems with it on my
 desktop computer. The problem happens just in my notebook. Therefore it
 suggests the problem is not with the media.

Attached is information related to the ATIP of the media, get with
cdrecod and dvd+rw-mediainfo.

Romildo
$ cdrecord -atip
Cdrecord-ProDVD-ProBD-Clone 2.01.01a67 (x86_64-unknown-linux-gnu) Copyright (C) 
1995-2009 Jörg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=3,0,0.
Device type: Removable CD-ROM
Version: 5
Response Format: 2
Capabilities   : 
Vendor_info: 'TEAC'
Identifikation : 'DVD+-RW DVW28SLC'
Revision   : 'A.06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
cdrecord: Warning: The DMA speed test has been skipped.
book type:   DVD-R, Version 2.0x (2.5)
disc size:   120mm (0)
maximum rate:Not specified (15)
number of layers:1
track path:  Parallel Track Path (0)
layer type:  Rewritable Area (2)
linear density:  0.267 µm/bit (0)
track density:   0.74 µm/track (0)
phys start:  196608 (0x3) 
phys end:0
end layer 0: 0
bca: 0
phys size:...-196607
copyr prot type: 0
region mgt info: 0
last rma sector: 0
application code:64
physical code:   193
last rec address:16621272
part v./ext code:5/2
ind wr. power:   135
wavelength code: 13
write str. code: 10 66 78 80
Manufacturer:   'UME01'
rzone size: 36
rzone number:   1
border number:  1
ljrs:   0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 1 incremental: 0 fp: 0
data mode:  1
lra valid:  0
nwa valid:  1
rzone start:0
next wr addr:   0
free blocks:2298496
blocking factor:16
rzone size: 2298496
last recorded addr: 0

Capacity  Blklen/Sparesz.  Format-type  Type
16777215 2048 0x00  No Media Present or Unknown Capacity

$ dvd+rw-mediainfo /dev/sr0 
INQUIRY:[TEAC][DVD+-RW DVW28SLC][A.06]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 11h, DVD-R Sequential
 Media ID:   UME01  
 Current Write Speed:   8.0x1385=11080KB/s
 Write Speed #0:8.0x1385=11080KB/s
 Write Speed #1:6.0x1385=8310KB/s
 Write Speed #2:4.0x1385=5540KB/s
 Write Speed #3:2.0x1385=2770KB/s
 Speed Descriptor#0:00/2298495 r...@8.0x1385=11080kb/s 
w...@8.0x1385=11080kb/s
 Speed Descriptor#1:00/2298495 r...@6.0x1385=8310kb/s w...@6.0x1385=8310kb/s
 Speed Descriptor#2:00/2298495 r...@4.0x1385=5540kb/s w...@4.0x1385=5540kb/s
 Speed Descriptor#3:00/2298495 r...@2.0x1385=2770kb/s w...@2.0x1385=2770kb/s
READ DVD STRUCTURE[#10h]:
 Media Book Type:   00h, DVD-ROM book [revision 0]
 Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
 Media Book Type:   25h, DVD-R book [revision 5]
 Last border-out at:2045*2KB=4188160
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Next Track:  1
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   blank
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2298496*2KB
 Track Size:2298496*2KB
READ CAPACITY:  0*2048=0



[gentoo-user] Re: Compiling icewm with support for gnome2 menus

2009-07-01 Thread José Romildo Malaquias
On Wed, Jul 01, 2009 at 09:02:22AM +0200, Ralph Stahl wrote:
 
 
 José Romildo Malaquias schrieb:
  Hello.
  
  I want the gnome2 menus available in IceWM. So I tried to compile IceWM
  with --enable-menus-gnome2, but it failed.
  
  I am running Gentoo Linux and I have gnome installed on my system.
  
  The errors at comilation time are shown below.
  
  $ ./configure --enable-menus-gnome2
  [...]
  Build targets: base nls
  Applications: icewm icewm-session icesh icewmhint icewmbg icewmtray icehelp 
  icewm-menu-gnome2
  Image library: Imlib
  Audio support: 
  Features: i18n nls shaped-decorations xfreetype
  Paths: PREFIX: /usr/local
 BINDIR: /usr/local/bin
 LOCDIR: /usr/local/share/locale
 LIBDIR: /usr/local/share/icewm
 CFGDIR: /etc/icewm
 KDEDIR: /usr/local/share
 DOCDIR: /usr/local/share/doc
 MANDIR: /usr/local/share/man
  
  $ make
  [..]
CXX  gnome2.o
  gnome2.cc:25:19: error: gnome.h: No such file or directory
  gnome2.cc:27:40: error: libgnomevfs/gnome-vfs-init.h: No such file or 
  directory
  In file included from ypaths.h:12,
   from yapp.h:6,
   from gnome2.cc:19:
  ypaint.h: In member function 'int Graphics::drawable() const':
  ypaint.h:293: warning: conversion to 'int' from 'const Drawable' may alter 
  its value
  gnome2.cc: In member function 'void GnomeMenu::addEntry(const char*, const 
  char*, int, bool)':
  gnome2.cc:89: warning: conversion to 'int' from 'size_t' may alter its value
  gnome2.cc:122: error: 'gnome_pixmap_file' was not declared in this scope
  gnome2.cc: In member function 'void GnomeMenu::populateMenu(const char*)':
  gnome2.cc:157: warning: conversion to 'int' from 'size_t' may alter its 
  value
  gnome2.cc:176: warning: conversion to 'int' from 'size_t' may alter its 
  value
  gnome2.cc:227: warning: conversion to 'int' from 'size_t' may alter its 
  value
  gnome2.cc:295: warning: conversion to 'int' from 'size_t' may alter its 
  value
  gnome2.cc:297: warning: conversion to 'int' from 'size_t' may alter its 
  value
  gnome2.cc:305: warning: conversion to 'int' from 'long unsigned int' may 
  alter its value
  gnome2.cc:307: warning: conversion to 'int' from 'long unsigned int' may 
  alter its value
  gnome2.cc: In function 'int main(int, char**)':
  gnome2.cc:351: error: 'gnome_vfs_init' was not declared in this scope
  make[1]: *** [gnome2.o] Error 1
  make[1]: Leaving directory `/var/tmp/icewm-1.2.37/src'
  make: *** [base] Error 2
  
  
  Any clues?
 
 Hi,
 
 maybe the gnome sources (...-devel) are not installed? error: gnome.h:
 No such file or directory is an indication for that.

This is not the case, as I am running Gentoo Linux, whose packages are
not split into devel and non-devel variants. The include files and
development libraries are installed.

$ locate gnome.h
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome.h
/usr/include/libgnome-2.0/libgnome/libgnome.h
/usr/include/libgnomeui-2.0/gnome.h
/usr/share/gtk-doc/html/libgnome/libgnome.html
/usr/share/gtk-doc/html/gnome-desktop/libgnome.html

Am I missing something here? Any more clues?

Romildo