Re: Paste text from terminal to xemacs

2018-02-07 Thread Victor Munoz
>
> - Forwarded message from songbird <songb...@anthive.com> -
>
> Date: Wed, 7 Feb 2018 15:56:23 -0500
> From: songbird <songb...@anthive.com>
> To: debian-user@lists.debian.org
> Subject: Re: Fwd: Mail delivery failed: returning message to sender
>
> Victor Munoz wrote:
>
> >  Hello.
> >
> > I'm using XEmacs 21.4.24 and gnome-terminal 3.26.2 in sid. And I can't
> copy
> > a text from the terminal and paste it into XEmacs. I have tried marking
> the
> > text and then middle button; Shift-Ctrl-C and then right-button to get
> the
> > 'paste' option; and some other combinations of these. Nothing works.
> ...
> > Any ideas I should try?
>
>   xclip?
>

It does help! Didn't know that. Combining it with inserting shell command
ouput ('xclip -o" in this case) in xemacs, does exactly what I need. Thanks
for the workaround!

Victor


Fwd: Mail delivery failed: returning message to sender

2018-02-07 Thread Victor Munoz
 Hello.

I'm using XEmacs 21.4.24 and gnome-terminal 3.26.2 in sid. And I can't copy
a text from the terminal and paste it into XEmacs. I have tried marking the
text and then middle button; Shift-Ctrl-C and then right-button to get the
'paste' option; and some other combinations of these. Nothing works.

However, I seem to be able to copy in all directions using other
applications. From the terminal to Emacs, to firefox, etc. And from xemacs
to everyone else, including the terminal!

Depending on how I try to copy and then paste, I get messages from xemacs
such as "timed out waiting for reply from selection owner", "received the
wrong selection type in SelectionNotify", or simply "Mark set", and then
nothing happens. Via Google I found this site:
http://archive.oreilly.com/pub/post/quick_tip_for_linux_users_havi.html,
where some configuration for emacs is suggested, but did not work for me.

Any ideas I should try?

Victor


Boot stops at fsck

2015-05-17 Thread Victor Munoz
Hi, everyone. Last night I updated a lot of files in my sid system,
and today morning I cannot boot. Actually, it hangs after announcing
it will run fsck. I know that the partition was scheduled to a routine
check after 32 times (I receive a message before shutdown when that is
about to occur), however today the system says that it will run fsck
because the system was not cleanly mounted (which I do not understand,
because I shutdown the system from the command line last night, no
power failure or similar abnormal situation). Could this inconsistency
be related to my problem?

Anyway, is it possible to bypass the fsck at boot time? I am able to
reach the boot prompt by typing c at the boot menu, but beyond that
I don't know what to do. Googling has not helped me as it leads me to
other issues with grub and fsck which do not seem to give me ideas I
can apply to my problem.

I think that if I can at least skip the check, I could do some work,
check the filesystem manually and try to go ahead somehow.

Thanks in advance for any help!

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150517170831.ga1...@llacolen.ciencias.uchile.cl



Re: Boot stops at fsck

2015-05-17 Thread Victor Munoz
On Sun, May 17, 2015 at 01:08:31PM -0400, Victor Munoz wrote:
 Hi, everyone. Last night I updated a lot of files in my sid system,
 and today morning I cannot boot. Actually, it hangs after announcing
 it will run fsck. I know that the partition was scheduled to a routine
 check after 32 times (I receive a message before shutdown when that is
 about to occur), however today the system says that it will run fsck
 because the system was not cleanly mounted (which I do not understand,
 because I shutdown the system from the command line last night, no
 power failure or similar abnormal situation). Could this inconsistency
 be related to my problem?
 
 Anyway, is it possible to bypass the fsck at boot time? I am able to
 reach the boot prompt by typing c at the boot menu, but beyond that
 I don't know what to do. Googling has not helped me as it leads me to
 other issues with grub and fsck which do not seem to give me ideas I
 can apply to my problem.
 
 I think that if I can at least skip the check, I could do some work,
 check the filesystem manually and try to go ahead somehow.

Hi again. Now I've been able to skip the check, after learning that
adding the fastboot option at the boot command works. Of course, I do
not intend to avoid checks forever, so now the problem is that fsck
does not do anything (or doesn't seem to). Some issue with fsck? With
my filesystem? Any suggestion as to how to diagnose this?

Thanks again,

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150517175354.gb1...@llacolen.ciencias.uchile.cl



Re: Boot stops at fsck

2015-05-17 Thread Victor Munoz
On Sun, May 17, 2015 at 12:51:01PM -0700, Patrick Bartek wrote:
 On Sun, 17 May 2015, Victor Munoz wrote:
 
  On Sun, May 17, 2015 at 01:08:31PM -0400, Victor Munoz wrote:
   Hi, everyone. Last night I updated a lot of files in my sid system,
   and today morning I cannot boot. Actually, it hangs after announcing
   it will run fsck. I know that the partition was scheduled to a
   routine check after 32 times (I receive a message before shutdown
   when that is about to occur), however today the system says that it
   will run fsck because the system was not cleanly mounted (which I
   do not understand, because I shutdown the system from the command
   line last night, no power failure or similar abnormal situation).
   Could this inconsistency be related to my problem?
   
   Anyway, is it possible to bypass the fsck at boot time? I am able to
   reach the boot prompt by typing c at the boot menu, but beyond
   that I don't know what to do. Googling has not helped me as it
   leads me to other issues with grub and fsck which do not seem to
   give me ideas I can apply to my problem.
   
   I think that if I can at least skip the check, I could do some work,
   check the filesystem manually and try to go ahead somehow.
  
  Hi again. Now I've been able to skip the check, after learning that
  adding the fastboot option at the boot command works. Of course, I do
  not intend to avoid checks forever, so now the problem is that fsck
  does not do anything (or doesn't seem to). Some issue with fsck? With
  my filesystem? Any suggestion as to how to diagnose this?
 
 Did you let fsck complete its check?  Sometimes, it takes a while.
 Depends on how big your partitions are.  I'm guessing you stopped it
 thinking the boot had frozen. Do the check manually.  Use the -V
 (verbose) option, so you can see what's happening.

I realized there was a problem because I turned it on, then forgot
about it, and then looked at the screen about 15-20 minutes later.
There it was, hanging after announcing it would do the check. And
after several trials I convinced myself that it was not doing the
test. Thanks for the suggestion.

I am now doing a long check with smartctl, and see what happens before
attempting new things (a short check on the disk reported no
problems).

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150517211738.ga2...@llacolen.ciencias.uchile.cl



Re: Boot stops at fsck

2015-05-17 Thread Victor Munoz
On Sun, May 17, 2015 at 01:07:28PM -0400, Gary Dale wrote:
 On 17/05/15 01:53 PM, Victor Munoz wrote:
 On Sun, May 17, 2015 at 01:08:31PM -0400, Victor Munoz wrote:
 Hi, everyone. Last night I updated a lot of files in my sid system,
 and today morning I cannot boot. Actually, it hangs after announcing
 it will run fsck. I know that the partition was scheduled to a routine
 check after 32 times (I receive a message before shutdown when that is
 about to occur), however today the system says that it will run fsck
 because the system was not cleanly mounted (which I do not understand,
 because I shutdown the system from the command line last night, no
 power failure or similar abnormal situation). Could this inconsistency
 be related to my problem?
 
 Anyway, is it possible to bypass the fsck at boot time? I am able to
 reach the boot prompt by typing c at the boot menu, but beyond that
 I don't know what to do. Googling has not helped me as it leads me to
 other issues with grub and fsck which do not seem to give me ideas I
 can apply to my problem.
 
 I think that if I can at least skip the check, I could do some work,
 check the filesystem manually and try to go ahead somehow.
 Hi again. Now I've been able to skip the check, after learning that
 adding the fastboot option at the boot command works. Of course, I do
 not intend to avoid checks forever, so now the problem is that fsck
 does not do anything (or doesn't seem to). Some issue with fsck? With
 my filesystem? Any suggestion as to how to diagnose this?
 
 Thanks again,
 
 Victor
 Boot from a live CD like systemrescueCD and run fsck manually.
 
 Also, make sure smart monitoring is turned on and check the disk's
 health status.

Hi, thanks for the suggestion. I am currently checking the disk with
smartctl. A short test said there was no problem, I am going now with
the long test. Then I will try to run fsck from a live CD.

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150517211940.gb2...@llacolen.ciencias.uchile.cl



Re: Transfering large files (was: Unison hangs on copy)

2011-07-30 Thread Victor Munoz
On Tue, Jul 26, 2011 at 03:24:11PM +0200, Claudius Hubig wrote:
 Victor Munoz vmu...@macul.ciencias.uchile.cl wrote:
 Both replicas are very large, and the few listed changes showed no
 large files, or so I thought. But it turns out I was wrong, and a 20M
 file was involved. I deleted the cache file, and reconstructed the
 mirror, and I finally discovered that unison hangs when this
 particular large files is involved. There are other large (and larger,
 4 times larger, for instance) files in the replicas, but they are
 identical, and unison doesn't complain. Only with this file, which
 differs. 
 
 So I tried rsyncinc another file, 23 M in size (with --progress
 option), and surprise, it stops when 11% transfer is reached. Tried
 with scp, and same magic number: 11% and it stops.
 
 What happens if you try to copy this file locally or on some other
 device or force reading it with, for example, dd (dd
 if=/path/to/yourfile of=/dev/null). Maybe the storage device on which
 it is located has some bad blocks. You could also try to run scp
 within strace to see where or what hangs.
 

I tried various combinations of this. I tried several different files,
all above 1M, none was fully transfered by rsync or scp :-( Looks like
an issue with keeping the connection alive. Using dd doesn't give
problems. scp within strace shows, at the end, messages like this:

write(6, )\377K\373)\377X\373#\377\373
\377n\373$\377\206\373\\377\231\373\36\377\257\373\\377\323\373...,
16384) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLOUT}], 1, -1)   = ? ERESTART_RESTARTBLOCK (To
be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---

By this time the copy is stalled. 

Victor




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110730230655.gb18...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-26 Thread Victor Munoz
On Tue, Jul 26, 2011 at 12:16:49AM +0300, Johannes Fichtinger wrote:
 Hi
 
 On Saturday 23 Jul 2011 06:07:58 Victor Munoz wrote:
 
  Today, I lost the ability to synchronize between two machines, one had
 
 I just wonder, are there any changes on this? If not, should we submit a bug 
 report in Debian?

Hi. I posted an update on this today. Now I don't think it's a problem
with unison, as I detected one particular file which was giving
trouble, but it seems I actually have a problem with large files (20M
is enough to hang it). Which does not make me happy anyway.

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110726131932.ga11...@llacolen.ciencias.uchile.cl



Re: Fwd: Unison hangs on copy

2011-07-26 Thread Victor Munoz
On Mon, Jul 25, 2011 at 09:10:35PM -0400, Brad Alexander wrote:
 
 I think that I read somewhere that Unison is barely being developed any more
 (I'll look for a citation), basically only major bug/security fixes, but no
 new features, as I recall. I have been looking for a replacement for it.
 Thus far, I found persy (http://persy.digitalkultur.net/), but have not had
 a chance to put it through its paces. I found it in an article on Debian
 Administration, which also lists a couple of other alternatives:
 
 http://www.debian-administration.org/article/667/Directory/File_synchronization_across_systems
 

Mm, it's a pity, because unison is such a nice program. But if
alternatives are better, so be it. Anyway, I'll stay with unison for a
while, thanks for the tip.

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110726132110.gb11...@llacolen.ciencias.uchile.cl



Re: Transfering large files (was: Unison hangs on copy)

2011-07-26 Thread Victor Munoz
On Tue, Jul 26, 2011 at 07:25:41AM -0400, Randy Kramer wrote:
  So I tried rsyncinc another file, 23 M in size (with --progress
  option), and surprise, it stops when 11% transfer is reached. Tried
  with scp, and same magic number: 11% and it stops.
 
 I'm somewhat surprised, because when I was thinking of large files, I 
 was thinking of CD image size files.  (I used to transfer these over a 
 33 kbps modem, requiring about 65 hours per image, spread out over 
 (typically) 5 nights.  Oh, the good old days ;-)

Indeed, this is very frustrating, 20M is not a huge file, but it's the
size which is giving me trouble (ok, it could be less, haven't tried,
but I don't want to be too obsessive :-)

 
 I don't really have any good thoughts to offer.  I'd be looking to make 
 sure that no temporary storage areas have been filled (presumably /tmp 
 on either machine), in fact, I'd probably do a df for all partitions on 
 both machines and make sure all of them have plenty of space (a nice 
 big multiple of 23 MB--I don't really know how much storage rsync, or 
 scp need, but I'm just grasping at straws looking for possibilities.
 
 While rsync may do some thinking (i.e., pause) during a 23 MB file 
 transfer, I don't think scp would, but there still might be something 
 that is timing out. 

I thought exactly the same thing, that's why I tried scp after rsync.
One of the machines reports this:

df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 178G  146G   24G  87% /
tmpfs1007M 0 1007M   0% /lib/init/rw
udev 1002M  172K 1002M   1% /dev
tmpfs1007M 0 1007M   0% /dev/shm

This is the remote machine I'm trying to synchronize with every night.
I will check at home the other one when I can. 


 
 All from me is just random speculation, however.  Good luck--I hope 
 someone else will have some better suggestions for you.

Fine, thanks for the speculation and the interest.

Victor



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110726132849.gc11...@llacolen.ciencias.uchile.cl



Re: Transfering large files (was: Unison hangs on copy)

2011-07-26 Thread Victor Munoz
On Tue, Jul 26, 2011 at 03:24:11PM +0200, Claudius Hubig wrote:
 Victor Munoz vmu...@macul.ciencias.uchile.cl wrote:
 
 So I tried rsyncinc another file, 23 M in size (with --progress
 option), and surprise, it stops when 11% transfer is reached. Tried
 with scp, and same magic number: 11% and it stops.
 
 What happens if you try to copy this file locally or on some other
 device or force reading it with, for example, dd (dd
 if=/path/to/yourfile of=/dev/null). Maybe the storage device on which
 it is located has some bad blocks. You could also try to run scp
 within strace to see where or what hangs.

Ok, I will try this and your other suggestions when I'm home later in
the day, since I don't have access to that machine now.

 
 So now I think I have a problem with transfering large files. Somehow
 the upgrade caused this, because almost all previous transfers
 involved that 20M file, but now I am unable to copy this and other
 large files between both machines. 
 
 Is only this one file the problem or maybe other files as well? What
 happens if you copy (not move!) that file to another location on your
 drive and then try to scp it over? 

After I noticed unison had problems with this file, I took another
file, about the same size, in other directory, and did the rsync and
scp experiments with those files. So I don't think it is a problem
with that particular file or disk sector. But I will check your other
suggestions as soon as I can.

Thanks,

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110726133425.gd11...@llacolen.ciencias.uchile.cl



Transfering large files (was: Unison hangs on copy)

2011-07-25 Thread Victor Munoz
On Fri, Jul 22, 2011 at 11:07:58PM -0400, Victor Munoz wrote:
 Today, I lost the ability to synchronize between two machines, one had
 lenny until today morning, and the other was sid. I was using
 apt-pinning to keep both unison versions compatible.

I few days ago I posted a problem with unison, which appeared after a
particular update I did. Someone suggested it could be a problem with
large files, and I said no, no large files involved. Ok, I should I
was wrong.

Both replicas are very large, and the few listed changes showed no
large files, or so I thought. But it turns out I was wrong, and a 20M
file was involved. I deleted the cache file, and reconstructed the
mirror, and I finally discovered that unison hangs when this
particular large files is involved. There are other large (and larger,
4 times larger, for instance) files in the replicas, but they are
identical, and unison doesn't complain. Only with this file, which
differs. 

So I tried rsyncinc another file, 23 M in size (with --progress
option), and surprise, it stops when 11% transfer is reached. Tried
with scp, and same magic number: 11% and it stops.

So now I think I have a problem with transfering large files. Somehow
the upgrade caused this, because almost all previous transfers
involved that 20M file, but now I am unable to copy this and other
large files between both machines. 

I'm also losing my connection to the remote machine as I type this
mail, so I have some kind of issue with the connection, and I really
hope it is the the reason, and not the size of the files itself.
Thought you guys who helped me with my original question would like to
know how this evolved. 

Regards,

Victor



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110726043218.ga7...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
On Fri, Jul 22, 2011 at 11:11:40PM -0600, Bob Proulx wrote:
 
 This makes me think that there is a NAT router or other device that is
 sometimes losing the virtual circuit between the machines.  Starting a
 new connection works but the old connection is sometimes idled out?
 Usually people run into that problem with idle connections and need to
 set up a diddle to keep the connection alive.  But you are using it so
 it doesn't quite match but I am mentioning it anyway.
 
 You might check your router hardware.  You might run a ping in another
 window and seeing if you are seeing any packet loss.  If you found a
 high packet loss between the systems then that would point to the
 hardware between them.

Mm... not obviouss this is the case. I have a ping to the router
simultaneously with the unison attempt, and while unison is waiting to
copy files, ping keeps responding, no packet loss. 

It might be something with the router. Now, I guess ping and unison
use different ports. Would it make sense? (I undertand unison uses
rsync, or a version of it, to synchronize files, and rsync works, so
I'd think that copying files with unison should work too, if it were a
port problem...)

Victor



 
 Bob



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723061145.gb7...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
On Sat, Jul 23, 2011 at 12:21:11AM -0600, Bob Proulx wrote:
 
 Ping is an ICMP (internet control message protocol) and rsync and
 unison both use TCP.  So not different ports but completely different
 protocols.  Both are part of IP (Internet Protocol).

Got it, not thinking clearly :-) I was actually thinking in something
like an iptables rule blocking selectively either of them, and mixed
that with ports. But of course, no rules currently active :-(

 
  Would it make sense? (I undertand unison uses rsync, or a version of
  it, to synchronize files, and rsync works, so I'd think that copying
  files with unison should work too, if it were a port problem...)
 
 I agree that if ssh and rsync is working then unison should work too.
 And so with this I am exhausted of ideas for you.

Fine, thanks for the attempt. Weird problem, and it's been a long day.
I'll have to make a few more systematic and controlled experiments
tomorrow. 

Victor



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723063815.gc7...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
On Sat, Jul 23, 2011 at 01:36:33PM +0200, Johannes Fichtinger wrote:
 Hi Victor
 
 Am Samstag, 23. Juli 2011 schrieb Victor Munoz:
 
  Today, I lost the ability to synchronize between two machines, one had
  lenny until today morning, and the other was sid. I was using
  apt-pinning to keep both unison versions compatible.
  
  Yesterday night I was able to sync both machines for the last time.
  Then, today morning, I was not. It connects to the server, it
  recognizes the changes, and it offers me all the changes for approval.
  Then, when it has to start copying, it just waits for ever, and no
  progress is done.
 
 From yesterday morning on I see exactly the same problem on my machine. I am 
 running latest SID here. On another machine with SID updated the last time 
 one 
 week ago running unison 2.32.52-3+b1 unison works perfectly.
 

At least I'm not the only one... 

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723153813.ga9...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
On Sat, Jul 23, 2011 at 01:25:10PM +0100, Roger Leigh wrote:
 
 I use unison several times a day to sync over 100GiB of data.
 I see it stall quite frequently.  I think it's a bug in unison,
 possibly timing related.  I see it only when syncing over the
 internet on a DSL connection, not over a LAN.

I have a lot of files being mirrored, but in this particular case there
is no big file involved, and it's only a few files, about 20.

 
 Note that sometimes it /does/ come back--you just have to wait,
 possibly several tens of minutes.  This can happen if you have
 changed a big (multi-GiB in size) file, and it wants to reconcile
 the changes.  But it can appear to be stuck.

I thought so, but at least one time I tried letting it go, and it
finally exited with a 'lost connection to server' message. 

 
 I have on occasion had to resort to deleting the cache/index files
 in ~/.unison/(arb|frp)* and getting it to rebuild them from scratch
 on both the client and server.

 Note that version 2.40.61 (not in Debian) fixes quite a few of these
 problems, but is still not perfect.  But if you have the time to
 build it, it's a big improvement.  The build scripts are slightly
 buggy though--it took me a while to work out and fix!
 

Mm, I guess I will have to consider this. Deleting the cache would
take a while given the number of files involved by now, but anyway,
maybe I should try.

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723154542.gb9...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
On Sat, Jul 23, 2011 at 09:21:22AM -0400, Randy Kramer wrote:
 On Saturday 23 July 2011 08:25:10 am Roger Leigh wrote:
  I use unison several times a day to sync over 100GiB of data.
  I see it stall quite frequently.  I think it's a bug in unison,
  possibly timing related.  I see it only when syncing over the
  internet on a DSL connection, not over a LAN.
 
 Don't know if this helps, but if unison uses rsync (which, iirc, someone 
 mentioned it does), you should be aware that rsync has quite a bit 
 of overhead (in some sense) to determine exactly which pieces of a 
 file are different and then transmits only those.  
 
 So, again, iirc, it does calculations both at the rsync server and the 
 rsync client to get checksums (not quite the word I'm looking for, 
 but close) of pieces of the file on both ends, then exchanges those 
 checksums to see where differences exist, then exchanges the necessary 
 pieces of the file, and finally reassembles the file.
 
 With very large files, it is not surprising to see the link quiet for 
 periods of time while calculations are being done at each end.
 
 (I once read the academic thesis that the author of rsync wrote about 
 the rsync algorithm--I don't accurately remember the details, but what 
 I wrote above gives the general idea.)
 

In this case, there are no big files or many files involved, so it
doesn't seem to be the problem.

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723155126.gc9...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
On Sat, Jul 23, 2011 at 09:10:12AM -0400, Gilbert Sullivan wrote:
 
 In reviewing /var/log/aptitude I notice that the only dependency of
 unison-gtk that was upgraded in the past couple of days was libc6
 (2.13-7 - 2.13-10), and that was during yesterday's upgrade session
 -- just before the trouble started.
 
 I have not bothered to re-instate ICMP filtering to its previous
 state of refusing ping and pong because -- a) I'm lazy, and b) its
 paranoid and silly and probably not good network etiquette for a
 network I've been given permission to visit. (I'm a consultant
 there.)
 
 What I'm reporting here is obviously not an exact match to the
 situations you (Victor and Johannes) are reporting. Victor
 specifically said he's not using any iptables rules, and I'm
 assuming Johannes would have mentioned any significant variation
 from that. Victor saw some more general network misbehavior, but
 Johannes didn't report any such issue. Of course, we're all using
 different versions of Debian.
 
 I'm only sending this because I found the confluence of similar
 behaviors on three (four?) different versions of Debian at exactly
 the same time period to be interesting. I thought there might be a
 peripheral -- if not a central -- connection here.
 

Yes, it's interesting what you mention. 

I've also thought that this is not specifically related to unison, so
I'm trying to update the sid machine, in case magic happens and some
relevant package is fixed. Unfortunately, I hadn't updated in a while,
and solving a few dependencies is braking other packages, so I have to
do that with care. In fact, last weekend update was complex, and it
was difficult for me to find a clue by checking the logs. 

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723160001.gd9...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-23 Thread Victor Munoz
Just noticed that my replies today to this thread went with copy to
the individual posters and the list... Sorry for the duplicate emails. 

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723160227.ge9...@llacolen.ciencias.uchile.cl



Unison hangs on copy

2011-07-22 Thread Victor Munoz
Today, I lost the ability to synchronize between two machines, one had
lenny until today morning, and the other was sid. I was using
apt-pinning to keep both unison versions compatible.

Yesterday night I was able to sync both machines for the last time.
Then, today morning, I was not. It connects to the server, it
recognizes the changes, and it offers me all the changes for approval.
Then, when it has to start copying, it just waits for ever, and no
progress is done.

Last weekend I upgraded the sid machine, so I thought that could be
the problem. I decided to upgrade the lenny machine to squeeze, just
in case. Nothing. I have unison version 2.32.52 in both. So,
basically, I don't know what to do know.

I haven't found ideas in google or Debian Bugs, only problems like
hanging when contacting server and such, but not after going through
all the stages before actually copying.

Any ideas?

Thanks in advance,

Victor


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723030758.ga6...@llacolen.ciencias.uchile.cl



Re: Unison hangs on copy

2011-07-22 Thread Victor Munoz
On Fri, Jul 22, 2011 at 09:51:07PM -0600, Bob Proulx wrote:
 
 I am using 2.27.57 and have not seen the problem.
 
 Both Sid and Squeeze have unison 2.27.57 available.  You might try
 downgrading both to 'unison2.27.57' and that seems like it should work
 just fine, since it has been working.  If it does then you can even
 double blind the test by upgrading again to 2.32.52 and if the problem
 is recreated.  If so then file a bug report and return to
 unison2.27.57 on both machines so that you can keep running.
 

Tried, but didn't work. I think it could be something not directly
related to unison, but wouldn't know what or where to look for. I have
a netbook with sid, and I could synchronize with the squeeze machine,
when both were with 2.32.52. Also, I have noticed today that I
suddenly lose the connection between both machines. (In fact, I'm
writing this at home, where the sid machine is, and connecting via ssh
to the squeeze machine, and I've had to restart this email twice
because the terminal hangs.) So maybe it's something to do with ssh,
but then again, wouldn't know what, as I can ssh, rsync, scp between
both and everthing looks fine. And unison itself is fine, until it is
time to copy files. 

Victor




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110723044643.ga7...@llacolen.ciencias.uchile.cl



Re: Broken perl

2008-11-02 Thread Victor Munoz
On Sat, Nov 01, 2008 at 07:45:20PM +0100, Florian Kulzer wrote:
  [...]
  Errors were encountered while processing:
  mono-gac
  mono-runtime
  libmono2.0-cil
  libgconf2.0-cil
  libmono-addins0.2-cil
  libmono-system-web2.0-cil
  libmono1.0-cil
  libgnome2.0-cil
  libmono-addins-gui0.2-cil
 
 I don't know mono so I cannot say much about this problem. It seems that
 the post-installation script looks for the files at the wrong locations:
 

Ok, thanks for the hint. That was the case indeed. However, I solved
it in another way: purging everything :-) It seems that the only
application that needed this mono stuff was tomboy, which I tried once
and don't use anyway. Not all unconfigured packages disappeared when
deinstalling tomboy, I had to purge them manually one by one, taking
care not to break anything, and eventually all the packages above
could be removed from my system. 

Now errors in my system have been reduce to one, only one:

Preparing to replace libcairo-perl 1.043-1 (using
.../libcairo-perl_1.060-1_i386.deb) ...
Unpacking replacement libcairo-perl ...
dpkg: error processing
/var/cache/apt/archives/libcairo-perl_1.060-1_i386.deb (--unpack):
 unable to make backup link of
./usr/share/doc/libcairo-perl/changelog.gz' before installing new
version: Operation not permitted
Errors were encountered while processing:
 /var/cache/apt/archives/libcairo-perl_1.060-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 A package failed to install.  Trying to recover:
 
 
Fortunately, this does not seem to block other packages upgrades, as
the original perl problem did, but it's still annoying.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Broken perl

2008-11-02 Thread Victor Munoz
On Sun, Nov 02, 2008 at 11:12:04AM -0300, Victor Munoz wrote:
 
 Preparing to replace libcairo-perl 1.043-1 (using
 .../libcairo-perl_1.060-1_i386.deb) ...
 Unpacking replacement libcairo-perl ...
 dpkg: error processing
 /var/cache/apt/archives/libcairo-perl_1.060-1_i386.deb (--unpack):
  unable to make backup link of
 ./usr/share/doc/libcairo-perl/changelog.gz' before installing new
 version: Operation not permitted
 Errors were encountered while processing:
  /var/cache/apt/archives/libcairo-perl_1.060-1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  

This has been solved too. Don't know what caused this, but this was
the output of lsattr on /usr/share/doc/libcairo-perl:

/usr/share/doc/libcairo-perl# !ls
lsattr *
--- changelog.Debian.gz
-a-Ac-Zt--- changelog.gz
--- copyright
--- examples/png-streams.pl
--- examples/simple.pl
--- examples/png
--- NEWS.gz

Using chattr I could take this to: 

lsattr changelog.gz

--Z changelog.gz

Could not change the Z attribute (as the chattr manpage stated). But
this was enough to solve the problem, libcairo-perl could be finally
upgraded. It is interesting that now no attributes have been set: 

/usr/share/doc/libcairo-perl# lsattr changelog.gz
--- changelog.gz


Finally, my system is in a clean state again. Thanks for the help,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Broken perl

2008-11-01 Thread Victor Munoz
On Sat, Nov 01, 2008 at 07:45:20PM +0100, Florian Kulzer wrote:
 
 I would try to comment out the entire dh_installdefoma stanza in
 /var/lib/dpkg/info/ttf-liberation.prerm and then run
 
 dpkg --purge ttf-liberation
 
 again.
 

  Amazing... this did the trick. I wouldn't have had the slightest
clue on how to solve it :-) Thank you!

 
 I don't know mono so I cannot say much about this problem. It seems that
 the post-installation script looks for the files at the wrong locations:
 

I haven't looked into the mono problem yet, but I will be posting on
any advances.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Broken perl

2008-10-31 Thread Victor Munoz
On Fri, Oct 31, 2008 at 10:20:32AM +0100, Florian Kulzer wrote:
 
 I think your problem is similar to this one:
 
 http://lists.debian.org/debian-user/2008/08/msg01904.html
 
 You can try to follow the same procedure. I can walk you through it
 step-by-step if necessary; in that case, start by posting the output of
 the three commands that I mention in my first message in the August
 thread.
 

Well, thanks for the offer. The problem is indeed similar, so I tried
to follow the steps, and it kind of work. It seems the problem with
perl is gone now, but there are still things blocking aptitude from
doing much. 

The solution for the perl problem involved:

dpkg -i /var/cache/apt/archives/perl-base_5.10.0-16_i386.deb
dpkg --configure perl perl-modules
dpkg -i /var/cache/apt/archives/liblocale-gettext-perl_1.05-4_i386.deb 
dpkg -i /var/cache/apt/archives/libtext-iconv-perl_1.7-1+b1_i386.deb
dpkg -i /var/cache/apt/archives/libtext-charwidth-perl_0.04-5+b1_i386.de

Now aptitude install -f does not complain about perl.

Thanks for the help!

However, aptitude still complains about other things:

Removing ttf-liberation ...
W: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf:
not registered.
W:
/usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf:
not registered.
W:
/usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf:
not registered.

[...]

dpkg: error processing ttf-liberation (--purge):
 subprocess pre-removal script returned error exit status 1
 Errors were encountered while processing:
  ttf-liberation
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
Setting up mono-gac (1.9.1+dfsg-4) ...
* Installing 1 assembly from libgmime2.2-cil into Mono
* Installing 4 assemblies from libmono-addins0.2-cil into Mono
* Installing 2 assemblies from libmono-addins-gui0.2-cil into Mono
* Installing 1 assembly from libndesk-dbus1.0-cil into Mono
* Installing 1 assembly from libndesk-dbus-glib1.0-cil into Mono
! Assembly
/usr/share/cli-common/policies.d/libmono-addins-gui0.2-cil/policy.0.2.Mono.Addins.Gui.dll
does not exist
! Assembly
/usr/share/cli-common/policies.d/libmono-addins0.2-cil/policy.0.2.Mono.Addins.dll
does not exist
! Assembly
/usr/share/cli-common/policies.d/libmono-addins0.2-cil/policy.0.2.Mono.Addins.Setup.dll
does not exist
dpkg: error processing mono-gac (--configure):
 subprocess post-installation script returned error exit status 3
 dpkg: dependency problems prevent configuration of mono-runtime:
  mono-runtime depends on mono-gac (= 1.9.1+dfsg-4); however:
Package mono-gac is not configured yet.

[...]
Errors were encountered while processing:
mono-gac
mono-runtime
libmono2.0-cil
libgconf2.0-cil
libmono-addins0.2-cil
libmono-system-web2.0-cil
libmono1.0-cil
libgnome2.0-cil
libmono-addins-gui0.2-cil
 
I think the 'mono' problems and the failure to purge ttf-liberation
package are different problems, but don't know for sure. There are
several other packages flagged for removal, but aptitude stops trying
after failing the first one.




Now, for the record, the detail of the solution for the perl problem:

This was the situation I started from:

$ dpkg -l perl\* | awk '/^i/{print $1,$2,$3}'
iU perl 5.10.0-16
ii perl-base 5.8.8-12
iU perl-modules 5.10.0-16
ii perl-tk 1:804.027-8
ii perlmagick 7:6.2.4.5.dfsg1-2

Pod/Usage.pm and File/Copy.pm, for instante, did not exist in the
5.8.8 tree, but they were in the 5.10.0 tree:

$ stat /usr/share/perl/5.10.0/File/Copy.pm
  File: /usr/share/perl/5.10.0/File/Copy.pm'
Size: 16067 Blocks: 32 IO
Block: 4096   regular file
Device: 1642h/5698d   Inode: 6439962 Links: 1
Access: (0644/-rw-r--r--)  Uid: (0/root)   Gid: (0/root)
Access: 2008-10-26 12:05:43.0 -0300
Modify: 2008-10-05 09:44:39.0 -0400
Change: 2008-10-26 12:06:01.0 -0300

# apt-get install perl-base=5.10.0-16

did not work, but 

dpkg -i /var/cache/apt/archives/perl-base_5.10.0-16_i386.deb

did:

#  dpkg -l perl\* | awk '/^i/{print $1,$2,$3}'
iU perl 5.10.0-16
ii perl-base 5.10.0-16
iU perl-modules 5.10.0-16
ii perl-tk 1:804.027-8
ii perlmagick 7:6.2.4.5.dfsg1-2

# dpkg --configure perl perl-modules
Setting up perl-modules (5.10.0-16) ...
Setting up perl (5.10.0-16) ...
# dpkg -l perl\* | awk '/^i/{print
$1,$2,$3}'
ii perl 5.10.0-16
ii perl-base 5.10.0-16
ii perl-modules 5.10.0-16
ii perl-tk 1:804.027-8
ii perlmagick 7:6.2.4.5.dfsg1-2

Then, aptitude install -f did things. It complained three times. First:

/usr/bin/perl: symbol lookup error:
/usr/lib/perl5/auto/Locale/gettext/gettext.so: undefined symbol:
Perl_Tstack_sp_ptr

So I installed manually:

dpkg -i /var/cache/apt/archives/liblocale-gettext-perl_1.05-4_i386.deb

And then aptitude install -f complained again:

/usr/bin/perl: symbol lookup error:
/usr/lib/perl5/auto/Text/Iconv/Iconv.so: undefined symbol:
Perl_Tstack_sp_ptr

So I installed 

Re: Broken perl

2008-10-31 Thread Victor Munoz
On Fri, Oct 31, 2008 at 11:13:25AM +0100, Sven Joachim wrote:
 On 2008-10-31 03:24 +0100, Victor Munoz wrote:
 
  Hello. I've got a very complex situation here with perl. I'm running
  sid, and last weekend's update left my system partially broken.
 
 It seems you had not upgraded for a long time (half a year at least).
 

Not really, but I had been upgrading specific packages or groups of
packages for several weeks/months. This was my first attempt at a
full, blind upgrade in months. 

 This is a well known and hard to solve problem of the perl 5.8 - 5.10
 upgrade.  See the following bugs, for example:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482140
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503712
 
 
 Thanks for the reference. Problems were similar indeed.

 
 The reason is that the new perl-modules was unpacked first, and before
 perl-base could be unpacked _another_ package was unpacked which had a
 command in its preinst or prerm script that required a perl module from
 the perl-modules package.  Since the /usr/bin/perl command can no longer
 find them (see the above Can't locate File/Copy.pm... error message),
 that script fails and apt aborts the whole operation, leaving the system
 in a bad state.
 

  Yes, I guessed so. System was pretty messed up

 
 You need to get the perl packages in sync first.  Since apt will not
 help you (it insists of fixing broken packages first, and that cannot be
 done), you have to invoke dpkg directly:
 
 # dpkg --unpack /var/cache/apt/archives/*perl*5.10.0-16*
 
 should do the trick¹, and aptitude will hopefully be able to fix the rest
 automatically afterwards.
 

I have managed to do that eventually as I wrote in detail in another
post of this thread, so now my system is not *so* broken. At least
perl is ok, I think. Thanks for the help.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Broken perl

2008-10-30 Thread Victor Munoz
Hello. I've got a very complex situation here with perl. I'm running
sid, and last weekend's update left my system partially broken.
Basically, perl was left in a partially installed status. This means
that perl itself and several other packages cannot be upgraded because
the system can't find some perl files. 

Currently, I've got several packages flaged for
removal/install/update. So when I start aptitude I press g, and then
it proceeds to do its stuff, but I get things like this:

Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 206704 files and directories currently installed.)
Removing ttf-liberation ...
Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at /usr/bin/defoma-font line 7.
BEGIN failed--compilation aborted at /usr/bin/defoma-font line 7.
dpkg: error processing ttf-liberation (--purge):
 subprocess pre-removal script returned error exit status 2
 Errors were encountered while processing:
  ttf-liberation
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:

And then a lot of similar stuff for all the other packages.
Eventually, it does nothing at all. 

Currently, all this packages fail to install correctly:

Errors were encountered while processing:
 libxml-parser-perl
 libperl5.10
 man-db
 mono-gac
 libgnome2-canvas-perl
 python
 libgnome2-perl
 libgnome2-vfs-perl
 libglib-perl
 libsnmp15
 libgtk2-perl
 deskbar-applet
 yelp
 perl
 libhtml-parser-perl
 gnome-system-tools
 gconf2
 hplip-data
 libbit-vector-perl
 gnome-applets
 libxml-twig-perl
 hplip
 libhtml-tagset-perl
 libnet-dbus-perl
 mono-runtime
 gnome-user-guide
 perl-modules
 libmono2.0-cil
 python-brlapi
 libgconf2.0-cil
 system-tools-backends
 fast-user-switch-applet
 libmono-addins0.2-cil
 liboobs-1-4
 libwww-perl
 libmono-system-web2.0-cil
 libmono1.0-cil
 libgnome2.0-cil
 libmono-addins-gui0.2-cil

And I guess most of it is due to the fact that perl failed to be
upgraded correctly, for whatever reason I don't understand. 

For reference, perl-base is flagged for update, from 5.8.8-12 to
5.10.0-16, but currently the perl package has a B flag and
perl-modules has a u flag, and aptitude says I have version
5.10.0-16 installed, which is the latest. But they've not been
configured completely, and several things do not work. 

None of my perl scripts work, and some other things don't either (xdvi
does not work, I have to start it directly with xdvi.bin; and printer
is not working either, don't know if perl is involved here).

I'd appreciate any help to return the system to a workable state. 

I thought of removing all perl packages and installing again, but I
would pass through a state where many dependences are broken, and I'm
not sure that's a safe thing to do now. 

Regards,

Victor




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Missing files in locatedb

2007-09-27 Thread Victor Munoz
Hello. Today I found a very strange problem. Some files seem to be
missing from locatedb database. 

It all started with one particular file I wanted to find. But 'locate
word' didn't find the file I was looking for. I went to the
directory it was supposed to be, and there it was!

I have a cron job to updatedb every night. In fact:

$ ls -l /var/cache/locate/
total 7020
-rw-r--r-- 1 root root 7173582 2007-09-27 06:26 locatedb

So it seems to be in order. The file I wanted was created in August. So?

In fact, none the files in this directory is in the database!

In case you're curious, the directory is named

~/textos/fisica/departamento_fisica/departamento

In /etc/updatedb.conf, there is the following line:

PRUNEPATHS=/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media

So I don't think updatedb should omit this directory. In fact, none of
the files in any subdirectory of ~/textos/fisica/departamento_fisica/
is indexed!

I've made some random search of files in other directories, and they
seem indexed. In fact files in ~/textos itself are indexed. 

Some files in the original problematic directory have permissions
-rw--- (does updatedb respect this), but the file I was looking
for in the first place has read permissions for all.

I don't understand. Does any?

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote:
  
  Some files in the original problematic directory have permissions
  -rw--- (does updatedb respect this), but the file I was looking
  for in the first place has read permissions for all.
  
  I don't understand. Does any?
 
 When were these files created?
 

There are 7 files with -rw--- permission, last modification times
between 2003-10-16 and 2007-06-11, and 9 files with -rw-r--r--
permissions, last modification times between 2007-05-02 and 2007-08-29.
Anyway, other directories which don't seem to be indexed either have
files with timestamps in various ranges, I don't see any correlation.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote:
 
 what are the permissions on the parent directories? that might be more
 relevant.
 

drwxr-xr-x in all cases.

Victor




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 08:23:14PM +0200, Johannes Wiedersich wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Victor Munoz wrote:
  Hello. Today I found a very strange problem. Some files seem to be
  missing from locatedb database. 
 
 [snip]
 
  I don't understand. Does any?
 
 Try running 'updatedb' as root manually and check if this helps.
 

It worked. All missing files are there now.

At first, this was a mystery, but now I understand why. updatedb is
not run as root, but as 'nobody', as set in /etc/updatedb.conf, so
the sequence

$ . /etc/updatedb.conf; updatedb

yields a lot of Permission denied messages, unlike $ updatedb. 

And I was wrong when I replied to another post in this thread, saying
that all directories had permissions drwxr-xr-x. ~/textos/fisica had
drwxr-xr--, and that was it.

So it's all working now, and much better, I understand :-) Thanks for
the help.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 03:31:23PM -0400, Victor Munoz wrote:
 On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote:
  
  what are the permissions on the parent directories? that might be more
  relevant.
  
 
 drwxr-xr-x in all cases.
 

Wrong. One had permissions drwxr-xr-- as I mention in other post, and
that's why it failed. 

Thanks,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Missing files in locatedb

2007-09-27 Thread Victor Munoz
On Thu, Sep 27, 2007 at 02:53:18PM -0500, Mumia W.. wrote:
 
 Check /etc/updatedb.conf and the LOCALUSER variable. LOCALUSER is set to 
 'nobody' by default, and 'nobody' has no ability to view directories 
 with -rwx-- permissions.
 

That was the problem, indeed. Thanks,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



UPDATE: Always falling to grub prompt (now I don't even have prompt)

2007-09-15 Thread Victor Munoz
On Mon, Sep 10, 2007 at 09:50:49AM -0700, Andrew Sackville-West wrote:
 I'm not positive that gparted will move the beginning of a partition,
 but its certainly worth a shot. This is what I'd do:
 
 1. Backup everything.
 2. Review 1 several times.
 3. launch a live-cd (knoppix or somesuch) 
 4. use a partition editor (gparted, qtparted, whatever) to rezise the
 existing / partition by moving the start of it up 500MB or so.
 5. create a new bootable partition at the front of the device.
 6. create a fs on the new partition
 7. mount the new and old partitions. 
 8. copy over all of /mnt/old-part/boot to /mnt/new-part
 9. edit up /mnt/old-part/etc/fstab
 10. umount /mnt/new-part and remount it on /mnt/old-part/boot
 11. chroot into /mnt/old-part
 12. update-grub or manually edit /boot/grub/menu.lst to reflect new
 root partitions in kernel=lines
 13. maybe have to run update-initrdfs to fix-up the initrd for new root
 partition.
 14. reboot...

Thank you very much for the very detailed response. I have spent the
last couple of days trying to fix this, but still I can't.

The first problem, creating a bootable partition at the beginning of
the disk, is already solved. GParted is actually an amazing tool.
Anyway, I had a Debian Etch Live CD, and the GParted version on it
didn't work (can't move the beginning of a partition). 
So I had to download a gparted Live CD (0.3.4-8), and it did the job
(took a couple of hours, though).

I then did all the other steps. I edited fstab, menu.lst, and ran
update-initramfs. Initially, the /boot partition was named /dev/hdd3,
but running fdisk I could change the order, and now it's /dev/hdd1
(/boot, 500 Mb), /dev/hdd2 (/, 160G), and /dev/hdd3 (swap).

However, when I boot, I get to the grub stage 1.5 line, then Error
15 (no further explanaition), and nothing, not even the grub prompt. 
I understand Error 15 means some file not found, but don't know what
to do.

Currently, my /etc/fstab is:

/dev/hdd2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdd1 /boot ext3 defaults,errors=remount-ro 0 2
/dev/hdd3 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/hda /media/cdrom udf,iso9660 user,noauto 0 0
/dev/fda /media/floppy auto rw,user,noauto 0 0

All menu.lst entries are of the form:

root (hd1,1)
kernel /boot/vmlinuz-version root=/dev/hdd2 ro
initrd /boot/initrd.img-version

And device.map is, as before:

(hd0) /dev/hdc
(hd1) /dev/hdd

And I have two bootable partitions, /dev/hdc (Windows), and /dev/hdd1
(/boot partition).

I've tried several things: boot from Debian Live CD/Etch Disk 1/Gparted Live
CD, then change the order of entries in /etc/fstab,
changing the pass-number parameter in /etc/fstab (hdd1 and hdd2
had pass number 1, and I changed it to be 2 and 1, respectively, have
run update-initramfs again, but nothing. 

I understand that, now that partitions are in order, /dev/hdd2, which
is the root filesystem according to fstab, will be (hd1,1) for grub, and
that kernels should be found in (hd1,1)/boot/, thus the kernel line
in menu.lst should be /boot/vmlinuz, if root=(hd1,1). Right?

Until now, the only strange thing is that 'update-initramfs -k all
-u' yields some grep: /proc/modules No such file or directory errors
for each kernel, but don't know if that's relevant. 

Sorry to keep bothering with this, but it's still not solved, I've
googled a lot, and can't find something that works.

Victor




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: UPDATE: Always falling to grub prompt (now I don't even have prompt)

2007-09-15 Thread Victor Munoz
On Sat, Sep 15, 2007 at 10:39:35AM +0200, Hans Hofker wrote:
   
 I think the 'root' command should specify the partition where the boot 
 directory is located, so it should be (hd1,0) rather than (hd1,1).
 Furthermore, the kernels are not located on the hdd2-partition, so they 
 are not in (hd1,1)/boot/, but they are in (hd1,0)/
 So you could try to change your entries in menu.lst to:
 
 root (hd1,0)
 kernel (hd1,0)/vmlinuz-version root=/dev/hdd2 ro
 initrd (hd1,0)/initrd.img-version
 
 or, omitting the device-specification in the 'kernel' and 'initrd' 
 command (since the device is equal to the root device):
 
 root (hd1,0)
 kernel /vmlinuz-version root=/dev/hdd2 ro
 initrd /initrd.img-version
 

Thanks, but it didn't work either. I had tried before, anyway. I could
reinstall Debian, after all I have a backup of /home, but I
feel it's only a little detail somewhere that's missing, and I'd
prefer not to do that.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



SOLVED: Always falling to grub prompt

2007-09-15 Thread Victor Munoz
Finally my problem is solved.

The problem was that I had to reinstall grub in the MBR of the first
disk, *telling it that /boot was in a different partition*. I booted
from a LiveCD (I was using GParted's one, as it booted faster than the rescue
option of Debian's LiveCD, and I had to boot quite a few times in the
last hours), then typed grub. This led to the grub prompt. I set the
root device to (hd1,0), since this is the boot partition (where
grub/stage1 file is):

grub root (hd1,0)

And then I install grub in the MBR of *the first disk*, where Windows
is installed, and quit the grub shell:

grub setup (hd0)
grub quit

Then reboot, and... voila, the grub menu I was missing so much, after
one week of absense. All my kernels and Windows are booting normally,
and I'm very happy. Thanks to all those of you who helped. It was
really difficult to be sure what to do just by browsing the web. Two
particularly useful websites were the grub manual,
http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-natively.html#Installing-GRUB-natively,
and 
http://www.terabyteunlimited.com/kb/article.php?id=232

Anyway, for the record, for anyone browsing the web, 
here is a short summary of this adventure :-)

1. Initial setup:
   hda  : cdrom
   hdc1 : Windows partition in first disk (10G)
   hdd1 : Linux bootable partition in second disk (160G)
   hdd2 : Linux swap in second disk
   
2. The problem:
   Some kernel upgrade left the system unbootable. Booting with the
   new kernel led to Error 18 (more cylinders than BIOS can manage).
   Old kernel booted. Subsequent kernel upgrades and playing with
   menu.lst completed the mess. In the end, I had two kernels (the
   oldest and the newest) booting, and two kernels with Error 18. 
   None of them booted normally, though, and I always got the grub
   prompt. I had to manually give root, kernel, initrd and 
   boot commands at the prompt, to boot.
   
3. The diagnostics: 
   As someone pointed out, kernels and menu.lst must
   have been written beyond the zone visible by the BIOS, so after
   months of normal operation, suddenly I could not boot. 

4. Solution (first step):
   Following suggestions from this list, I left a small boot partition
   at the beginning of /dev/hdd. I used GParted Live CD 0.3.4-8, which
   was able (amazingly) to move the beginning of the /dev/hdd1
   partition. I left 500 M free. With GParted, I set it as ext3. After
   executing pending actions, which meant 1h40m of waiting until the
   resize of hdd1 completed, I had a new /dev/hdd3 partition at 
   the beginning of the 160G disk. Then I set the bootable flag on it,
   also with GParted. 
   
   Now open a terminal, and followed the suggestions I received:
   
   - Mounted both partitions, /dev/hdd3 as /mnt/new-part and /dev/hdd1 as
   /mnt/old-part.
   - Copy /mnt/old-part/boot/* to /mnt/new-part
   - Moved /mnt/old-part/boot to /mnt/old-part/old-boot, 
 then mkdir /mnt/old-part/boot [probably not necessary?]. 
   - Edit /mnt/old-part/fstab (see later for the final setup that works)
   - Umount /mnt/new-part, remount on /mnt/old-part/boot
   - Chroot into /mnt/old-part
   - Edited menu.lst (see later for the final setup that works)
  
   I rebuilt initrd's:
   update-initramfs -k all -u
   
5. Solution (second, probably unnecessary, step)

   The previous procedure didn't work, and I was still left with an
   unbootable system. It failed with Error 15, and not even got a
   grub prompt. I thought there was a problem with partition order,
   and I fixed that. fstab and menu.lst were edited accordingly,
   and that's the setup that is working now, but I don't think 
   this step was necessary. Anyway:
   
   fdisk /dev/hdd
   
   Used commands: m (menu), p (print partition table), x (extra
  functionality), f (fix partition order),
  w (write partition table to disk)
  
   Final /etc/fstab:
   
   /dev/hdd2/   ext3defaults,errors=remount-ro  0 1
   /dev/hdd1/boot  ext3 defaults,errors=remount-ro  0 2
   /dev/hdd3none   swap sw  0 0
   [other lines]
   
   Final /boot/grub/device.map:
   
   (hd0) /dev/hdc
   (hd1) /dev/hdd
   
   Final /boot/grub/menu.lst [only relevant lines]:
   
   [...]
   # kopt=root=/dev/hdd2 ro
   [...]
   # groot=(hd1,0)
   [...]
   root (hd1,0)
   kernel   /vmlinuz-version root=/dev/hdd2 ro
   initrd   /initrd.img-version
   savedefault
   [...]
   titleWindows
   root (hd0,0)
   savedefault
   makeactive
   chainloader  +1

6. Solution (third and final, and critical, step)

   The problem persisted, and the solution was to reinstall grub
   in the MBR of the first disk (hd0, hdc), with root in (hd0,1) [hdd]:
   
   After booting from LiveCD:
   
   # grub
   grub root (hd0,1)
   grub setup (hd0)
   grub quit
   #
   
Ok, that's it. Thanks again for the help.

Victor
   
   


-- 
To UNSUBSCRIBE, email to [EMAIL 

Re: Always falling to grub prompt

2007-09-10 Thread Victor Munoz
On Sun, Sep 09, 2007 at 02:12:19PM -0700, Andrew Sackville-West wrote:
 
 yup. probably up until now you've always had this problem, but the
 kernels happened to be written within the first 1024 cylinders and
 thus caused no problem. Also, the same with menu.lst, it was probably
 within that boundary as well. Then last week, the menu.lst got
 rewritten to a part of the disk that the bios can't see and suddenly
 doesn't work. 
 
 At least that's the way I understand it. Reality may diverge
 drastically from my perception. ;)
 

Sounds very logical, so it must be true :-) Anyway, is there anyway to
make a nondestructive repartition? I'm aware gparted can resize
partitions, for instance, but in this case I need to split one big
partition into two, and I'm afraid I can't do it in a safe way, right?

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Always falling to grub prompt

2007-09-09 Thread Victor Munoz
On Sun, Sep 09, 2007 at 07:05:39AM -0500, Mumia W.. wrote:

 Hello Victor. I would try reinstalling the failing kernels; if you do 
 this, copy the kernel .deb files out of /var/cache/apt/archives first, 
 because those kernels are probably no longer available on the Debian 
 mirrors.

I tried leaving only one entry in menu.lst, corresponding to one
working kernel (2.6.18 I think), but got the boot prompt anyway.

 
 I *might* also try reinstalling Grub using grub-install yada yada. 
 However, if you install to the MBR, you must be sure that Grub will be 
 able to boot Windows. Have bootdisks for both Windows and Linux handy.
 

Using Debian disc 1 in rescue mode, I re-installed the boot loader,
and nothing. Maybe I should do it manually?

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Always falling to grub prompt

2007-09-09 Thread Victor Munoz
On Sun, Sep 09, 2007 at 01:15:58PM -0400, Wayne Topa wrote:
  
  Well, it was not me anyway :-). grub decided it was time to get
  confused last week, after months of normalVoperation.
 
 
 title   Debian GNU/Linux, kernel 2.6.22-2-686
 ---   root(hd1,0)
   kernel  /boot/vmlinuz-2.6.22-2-686 root=/dev/hdd1 ro
 initrd  /boot/initrd.img-2.6.22-2-686
 savedefault
 
 Grub did the 2 -- Lines?  The root line says hdb and the kernel line
 says hdd. No wonder it won't boot.  Yet the older kernels boot up with
 the same (wrong looking) root and kernel lines, so I am wrong.  I have
 not yet upgraded any of my sid partitions to the 2.6.22-2 kernel.
 Maybe I have this problem to look forward to or maybe I should wait
 till it (whatever 'it' is) gets fixed.
 

device.map, as posted in the original mail, correctly maps grub and
device names:

/boot/grub$ cat device.map 
(hd0)   /dev/hdc
(hd1)   /dev/hdd

So probably there's no problem here.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Always falling to grub prompt

2007-09-09 Thread Victor Munoz
On Sun, Sep 09, 2007 at 06:46:14PM +0100, Wackojacko wrote:
 
 Not necessarily.  Grub uses /boot/grub/device.map to identify which HDD 
 maps to which (hd?).  It might be useful to see the OP's device.map 
 file, but grub could just ignore hda and hdb as they are not HDD.
 

I did post it in the original post, and the map looks correct.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Always falling to grub prompt

2007-09-09 Thread Victor Munoz
On Sun, Sep 09, 2007 at 11:00:24AM -0700, Andrew Sackville-West wrote:
 
 One thing that might be helpful is what does the BIOS call those
 drives? In your bios setup screen there will be the usual table of
 harddrives and their positions on the motherboard, as the bios sees
 them. Can you provide that info for us? please include how the bios is
 addressing them (LBA etc).

Bios says this:

Primary master: HL-DL-ST GCE-8320B [that's the cdrom]
Primary slave: [Auto]
Secondary master: Fujitsu MPF3102AT [this is the 10G Windows disk]
Secondary slave: ST 3160212A [the 160G Debian disk]

Details for each drive follow:

Fujitsu: Cylinders 1024
 Head 255
 Sector 63
 CHS Capacity 8422 Mb
 Maximum LBA Capacity 10248 Mb

ST: Cylinders 1024
Head 255
Sector 63
CHS Capacity 8422 Mb
Maximum LBA Capacity 8455 Mb

Which is strange, since ST is 160G. Fujitsu data (10G), look ok.
 
 
 What motherboard is this and how old is it? It looks like you are
 facing an ancient problem with BIOS that couldn't see beyond the first
 1024 cylinders. With your large / partition, I'd bet those non-working
 kernels are beyond the range that the bios can see, and I'm willing to
 bet that your bios is configured incorrectly to see those higher
 cylinders. 
 

So your suggestion would be to repartition the disk, leaving a small
boot partition at the beginning of the 160G disk?

Anyway, the motherboard is not new.

lspci -v:

00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
Subsystem: ASUSTeK Computer Inc. A7V266-E Mainboard
Flags: bus master, medium devsel, latency 0
Memory at fc00 (32-bit, prefetchable) [size=32M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

Probably 6 years old? (I bought it used, in 2003)

Victor





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Always falling to grub prompt

2007-09-08 Thread Victor Munoz
Hello. It's been about a week that I've been unable to boot normally.
Every time I get the grub prompt, and then I have to go through the
sequence of commands root/kernel/initrd/boot. I understand that this
may occur due to some defective file, but I can't see anything
abnormal in menu.lst, device.map, or fstab.

This is a dual boot box, Windows in /dev/hdc [(hd0,0) for grub], Sid
in /dev/hdd [(hd1,0)]. I have several kernels installed: 2.6.18-4-686,
2.6.21-2-686, 2.6.22-1-686, 2.6.22-2-686.  21-2 and 22-1 can't
boot, saying something about BIOS being unable to handle the number of
cylinders. I don't know if this suggests something's wrong with my
system, but 18 and 22-2 boot just fine (except for the fact that I
always get the grub prompt), and the boot process was
normal until a couple of weeks ago. 

Any help will be appreciated. I have included below the files
menu.lst, devide.map, fstab, in case someone is interested. Regards,

Victor

menu.lst

# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader   +1
#
# title Linux
# root  (hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hdd1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##  howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##  memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title   Debian GNU/Linux, kernel 2.6.22-2-686
root(hd1,0)
kernel  /boot/vmlinuz-2.6.22-2-686 root=/dev/hdd1 ro 
initrd  /boot/initrd.img-2.6.22-2-686
savedefault

title   Debian GNU/Linux, kernel 2.6.22-2-686 (single-user mode)
root(hd1,0)
kernel  /boot/vmlinuz-2.6.22-2-686 root=/dev/hdd1 ro single
initrd  /boot/initrd.img-2.6.22-2-686
savedefault

title   Debian GNU/Linux, kernel 2.6.22-1-686
root

Re: Always falling to grub prompt

2007-09-08 Thread Victor Munoz
On Sat, Sep 08, 2007 at 05:45:03PM -0700, Andrew Sackville-West wrote:

 can you manually load the menu.lst?
 
 grub configfile (hd1,0)/grub/menu.list
 
 should get you a menu. Its at least easier than type all the root,
 kernel etc lines.

Thanks for the tip, didn't know the command, but no, it doesn't work:

Error 18: Selected cylinder exceeds maximum supported by BIOS

 
 hmmm... that's a little fishy. can we see your (as root)
 
 fdisk -l /dev/hda
 

hda is cdrom, the bootable disk is hdc:

/boot/grub# fdisk -l /dev/hda
/boot/grub# fdisk -l /dev/hdb
/boot/grub# fdisk -l /dev/hdc

Disk /dev/hdc: 10.2 GB, 10248118272 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa24df59a

   Device Boot  Start End  Blocks   Id  System
/dev/hdc1   *   11244 9992398+   7  HPFS/NTFS
/boot/grub# fdisk -l /dev/hdd

Disk /dev/hdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00014f58

   Device Boot  Start End  Blocks   Id  System
/dev/hdd1   *   1   19331   155276226   83  Linux
/dev/hdd2   19332   19457 1012095   82  Linux swap / Solaris

As I'm typing this, I notice for the first time that hdd1 is marked as
bootable. That's not correct, right? Is is possible that something
during some upgrade did it without me knowing? I will try to delete
the boot flag...


Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Always falling to grub prompt

2007-09-08 Thread Victor Munoz
On Sat, Sep 08, 2007 at 09:07:39PM -0400, Victor Munoz wrote:
 
 Disk /dev/hdd: 160.0 GB, 160041885696 bytes
 255 heads, 63 sectors/track, 19457 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0x00014f58
 
Device Boot  Start End  Blocks   Id  System
 /dev/hdd1   *   1   19331   155276226   83  Linux
 /dev/hdd2   19332   19457 1012095   82  Linux swap / Solaris
 
 As I'm typing this, I notice for the first time that hdd1 is marked as
 bootable. That's not correct, right? Is is possible that something
 during some upgrade did it without me knowing? I will try to delete
 the boot flag...
 

Ok, I'm disappointed. It didn't work. hdd has no bootable partitions,
and I still get the grub prompt, and using configfile complains about
cylinders. 

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Always falling to grub prompt

2007-09-08 Thread Victor Munoz
On Sat, Sep 08, 2007 at 10:53:20PM -0400, Wayne Topa wrote:
 It's late and I'm tired but something looks wrong to me.
 Do you have 4 hard drives or is this one (1) HD with 
 
 You say  /dev/hdd [(hd1,0)]
 
 But to me /dev/hda - (hd0,0)
   /hdb - (hd1,0)
   /hdc - (hd2,0)
   /hdd - (hd3,0)

That would be the logical order, but here hda and hdb have to do with
the cdrom. I get this from dmesg:

dmesg | grep hda
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
hda: HL-DT-ST GCE-8320B, ATAPI CD/DVD-ROM drive
hda: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache, DMA

Then hdc is the 10G disk for Windows, and hdd the 160G disk for sid.

If I type root hd( at the boot prompt, it only gives me 0 and 1 as
options, and a later kernel command actually finds vmlinuz in
(hd1,0)/boot. So I guess this is ok.
 
 I'm confused.  How many HD's do you have, 1 or 2 or ?
 

2, as I said, and a cdrom, recognized as hda. 

 
 I hope I'm wrong but I think you are confusing grub as much as me.
 

Well, it was not me anyway :-). grub decided it was time to get
confused last week, after months of normal operation.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Editing a text file with sed

2007-08-29 Thread Victor Munoz
On Wed, Aug 29, 2007 at 03:17:46PM +0200, Joe Hart wrote:
 
 I am having trouble using sed to edit text files, heres a good example of 
 what 
 I am looking for:
 
 begin 1.txt
 This is a test
 file, what I am
 trying to do is get the lines to join.
 
 It isn't a complicated thing,
 but I also want to keep the paragraphs
 separate.
 /end 1.txt
 
 I try this command:
 
 sed s/\n// / 1.txt  2.txt and I get an error, so:
 sed s'\n/ /' 1.txt  2.txt and nothing happens.
 
 I don't get it.  I though \n was end of line, which I am trying to replace 
 with spaces.
 

sed works line by line, separately. There's an N modifier to make it
work across lines. You may check
http://www.panix.com/~elflord/unix/sed.html for a nice tutorial, or
http://www-h.eng.cam.ac.uk/help/tpl/unix/sed.html for some examples. 

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Weird problems with laptop hibernate/boot/shutdown

2007-07-13 Thread Victor Munoz
On Wed, Jul 11, 2007 at 09:20:47PM +0200, Marcus Libäck wrote:
 
 Are you by chance using a 2.6.21 kernel and uswsusp? I have noticed the
 exact same thing with the above combination on testing. With 2.6.18
 everything works perfectly.
 
 My laptop is a ThinkPad X40.
 


I'm glad I'm not alone! I am using 2.6.21-2-686. For power management
I installed gnome-power-manager, and uswsusp is not installed. 

I have dual boot in this laptop, and I tried Windows yesterday, and
noticed nothing strange. Well, actually there was some message at the
end, something about the battery. It was in Japanese, though (ok, it's
a long story), and I didn't have time to read it carefully either. 

Anyway, it's a very annoying problem. Now boot in Linux seems to be
ok, but shutdown goes step by step, stimulated by space bar hits. 

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Weird problems with laptop hibernate/boot/shutdown

2007-07-10 Thread Victor Munoz
Hello. Since yesterday, several weird events occured with my laptop
(Thinkpad T43), and I don't know if I should worry or not. Hope
someone else here can help.

First thing, yesterday I tried to shut down, but it didn't really
turned off. The only unusual thing I can remember is that I had the
power chord unplugged from the mains, but it was still plugged on the
back of the laptop. I took it off, and it shutdown.

Today morning I hibernated the laptop, but again, it didn't turn off,
but stuck with a message on tty, something like turning off
consoles or something. Sorry, I don't remember. Later I turned it on,
and it didn't came up normally. I got the impression that if I hit
some key, then it advanced a little, until everything was up, X,
gnome, etc.

When it was time to shut down, it was very, very slow. I could see
windows disappear, then the panel... I lost my patience and switched
to tty, and then I could see shutdown messages, one by one. I could
confirm here that everytime I hit the space bar, one more step
occured, until I reached the final disk sync, and the laptop turned
off. 

I have the disk capacity almost fully occupied, but it has been so for a
while, and I had never seen this. Is it possible that some disk/memory
corruption is going on? That after the last upgrade (by the way, I'm
running sid), last weekend, something was not configured properly?
That some unnoticed power fluctuation damaged something physically? I
don't really know. 

I haven't booted up again, and I won't be able to try again until
tonight, but hopefully someone can give me a hint.

Thanks for any help,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Japanese fonts in gnome-terminal

2007-05-11 Thread Victor Munoz
On Thu, May 10, 2007 at 04:51:33PM +0100, Karl E. Jorgensen wrote:
 You may be onto something. I had a similar (but smaller) problem with a 
 Danish-speaking yahoo mailing list: A lot of the emails said they had 
 US-ASCII encoding, but they *really* were iso-8859-1 (yahoo email is 
 ...bad...).  End result: The Danish letters 'æøå' and their uppercase 
 equivalents 'ÆØÅ' showed up as question marks (I hope they display OK in 
 this mail!)
 
 Since iso8859 is a superset of ascii (I think), adding charset-hook 
 US-ASCII iso-8859-1 to my .muttrc solved the problem for me.
 
 Perhaps the same solution will work for you?
 

I have tried some of the charset variables in .muttrc, but nothing.
Some of the mails do declare an encoding (charset=ISO-2022-JP, for
instance, in the folder I am currently playing with), so I guess
playing with assumed_charset will not work here. Anyway, setting
other variables like file_charset has not worked. But maybe I should
be playing with gnome-terminal settings simultaneously, and see if
there is some combination of things that works... I don't know.
Anyway, I'll keep experimenting. 

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Japanese fonts in gnome-terminal

2007-05-11 Thread Victor Munoz
On Thu, May 10, 2007 at 12:22:26AM -0400, Greg Folkert wrote:
 In .muttrc you might try:
 
 set send_charset=us-ascii:iso-8859-1:iso-2022-jp:utf-8
 
 You can add more.
 

I understand this is for outgoing emails, but I don't intend to write
emails in Japanese, just displaying them when receiving. Anyway, I
haven't tried all combinations of charset variables in .muttrc.
Maybe some will work. Thanks for the tip. This has been a particularly
annoying problem to solve.

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Japanese fonts in gnome-terminal

2007-05-09 Thread Victor Munoz
On Tue, May 08, 2007 at 04:34:38PM +0200, Sven Arvidsson wrote:
 
 From the description you gave above, it sounds like you should have
 everything needed to at least display Japanese, so what exactly goes
 wrong? Can you for example copy text from the Japanese Wikipedia to
 gnome-terminal?

Well, your question made me investigate a bit more, and I discovered
that I am indeed able to see Japanese text... sometimes at least.

I copied text from Japanese Wikipedia, and it is copied correctly into
gnome-terminal. I can 'cat' emails in Japanese and I see them. I
alternate between locales ISO-8859-1 and EUC-JP, without problem. What I
*cannot* do is read these emails in mutt/jed (I use jed as the editor
for mutt).  I see things like:

^[$B3'MM$+$i$NB??t$N%;%C%7%g%sDs0F$r$*BT$A$$$?$7$F$*$j$^$9!#^[(J

Reading the email as a usual file with jed also fails. I would say the
problem is jed. Except that when I read the folder list with mutt
subjects also come out wrong; or when I simply read the mail, and I
understand jed is not involved here. 

So any ideas on how to fix mutt/jed? My problem seems to be
specifically to read mails in Japanese with mutt. I could change the
editor to xemacs, but 1) I'd prefer to stay with jed because it's
faster; 2) problems with reading mail and subject list would not be
solved by changing the editor.

Regards,

Victor




-- 
Hi! I'm a .signature virus. Copy me into
your ~/.signature to help me spread! 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Japanese fonts in gnome-terminal

2007-05-09 Thread Victor Munoz
On Wed, May 09, 2007 at 09:00:30AM +0200, Daniel Palmer wrote:
 What LANG or LC_CTYPE are you running it with? You generally need to 
 start applications with either EUC-JP or UTF (The variant of UTF 
 shouldn't matter, I have Japanese input/display with a British UTF8 
 locale). Run locale in a terminal and see what happens.

I have nothing of this set except LANG=en_US. However, my problem is
not running the application with Japanese menus or input capabilities
(I can run abiword/gedit/iceweasel in Japanese, with input
capabilities and all), only displaying Japanese text in the terminal.
As I said in other mail in this thread, my problem seems to be
specific to mutt and jed, and possibly other applications. The same
LANG environment and Terminal Character encoding that lets me 'cat' a
Japanese email and see it correctly in gnome-terminal, does not allow
me to read that email in mutt or edit it in jed.

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Japanese fonts in gnome-terminal

2007-05-09 Thread Victor Munoz
On Wed, May 09, 2007 at 12:42:47PM -0400, Greg Folkert wrote:
 You might want to change to an rxvt that does unicode or kxvt. It
 appears that mutt/jed are having a tough time picking up the right
 encoding from gnome-terminal. Some old hacks (from 2004) on the
 jed-users mailing list show this for jed, fixing russian input and
 reading issues. 
 
 Sheesh: 
 http://www.tlug.jp/craigoda/writings/linux-nihongo/node42.html
 
 Long time for this problem to persist. Looks like a kanji enabled rxvt
 is the ticket.
 
 You might also want to submit a bug against gnome-terminal for this.

Thanks for the tips, but I have been unable to make it work. I
installed rxvt-ml, rxvt-unicode-ml, mrxvt-cjk, kterm, and nothing. All
of them are able to show correctlty 'cat'-ted files, for instance, but
none of them works with mutt+Japanese mails. At least in kterm I found
a way to make a pop-up menu appear, so I could change the encoding,
but still no luck. I noticed, in the link you gave, that this guy not
only calls a kanji enabled terminal, but a kanji enabled mutt, which I
could not find in Debian. Calling mrxvt -km eucj/sjis doesn't help
either. 

All this is very strange of course, as I had this working in sarge,
and I recently tried successfully in Ubuntu, and I never needed
anything else but some fonts, locales, and the usual
mutt/jed/gnome-terminal. But if there's any other suggestion as to how
to make this work in *any* terminal I would be more than grateful :-)

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Japanese fonts in gnome-terminal

2007-05-07 Thread Victor Munoz
Hello. I had this working in sarge, but somehow things have changed in
etch, and I can't see Japanese fonts in gnome-terminal. Currently I
have installed packages like cjk-latex, hbf-kanji48, ttf-kochi-mincho,
among the japanese-related packages I can remember. In gnome-terminal,
going to Terminal-Set Character Encoding-Japanese (EUC-JP) does not
work. I have also tried with the current locale (ISO-8859-1), Unicode
(UTF-8) and Japanese (SHIFT-JIS). I have generated the locale
ja_JP.EUC-JP.  I also tried adding xfonts-intl-japanese, but it didn't
work. 

Sure I'm missing something, but I don't know. Any ideas?

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: lrc files: ASCII text?

2007-01-23 Thread Victor Munoz
On Mon, Jan 22, 2007 at 01:41:44PM -0300, Victor Munoz wrote:
 
 Now the Debian part:-)
 
 The command 'file' on the sample lrc says: 'ASCII English text, with
 CRLF line terminators'. The file from the web says: 'ASCII English
 text'. The file I have is 'ASCII text, with CRLF line terminators'.
 The first trial was with a version wich was 'ASCII text', and nothing
 either. First I thought it was a CRLF issue, but it is not. What about
 the 'English' tag. How does file knows it is English or non-English.
 In fact, my problematic song is a Japanese one, but lyrics are
 written in romanized form, no weird characters. I don't know what else
 to do, so any help will be appreciated.
 

Ok, I'll reply to myself, in case anybody wants to know out there...
The problem was, surprisingly, the length of the file name. The
problematic song had 28 characters in its basename. Problem arises
somewhere between 19 and 28 chars (haven't experimented). I cut the
filenames of the mp3 and the lrc, and lyrics were loaded by the
player. Weird indeed. 

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



lrc files: ASCII text?

2007-01-22 Thread Victor Munoz
Hello. This is probably not a Debian related problem, so sorry for
that, but maybe someone has an answer. I am trying to load lrc lyrics
files to an mp3 player. There was one lrc example file in it, and it
looked just like plain text, with time tags. So I made one for another
song, put it in the player, and nothing, lyrics are not shown. I
downloaded an lrc file from the web, uploaded it, and it works.

Now the Debian part:-)

The command 'file' on the sample lrc says: 'ASCII English text, with
CRLF line terminators'. The file from the web says: 'ASCII English
text'. The file I have is 'ASCII text, with CRLF line terminators'.
The first trial was with a version wich was 'ASCII text', and nothing
either. First I thought it was a CRLF issue, but it is not. What about
the 'English' tag. How does file knows it is English or non-English.
In fact, my problematic song is a Japanese one, but lyrics are
written in romanized form, no weird characters. I don't know what else
to do, so any help will be appreciated.

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: xmms-singit, japanese lyrics

2006-11-18 Thread Victor Munoz
On Fri, Nov 17, 2006 at 10:09:08PM +0100, Jan Willem Stumpel wrote:
 
 I tried to install xmms-singit, but how do you actually start it?
 This vital information seems to be missing from the README file. I
 could not manage it so far. 

I thought there would be a shortcut, but haven't found it. What I do is to
go to Visualization plugins in xmms (Ctrl-V), then enable the xmms-singit
plugin, and then use the Configure button to open its configuration
dialog. Then you go to Dialogs tab, then Show lyrics editor..., and then
you can type, load, edit lyrics, edit time tags, etc. Once you have a song
with time tags, and if it is in the directory xmms-singit expects (which you
can configure), next time, when xmms is about to play that song, it will
open the karaoke displayer and will follow the song. I also think this
explanation for first time users is missing from the documentation. I took
me a bit of time to figure out.

 However, I do know that kinput2 is
 obsolete, and should basically not be used for inputting Japanese.
 Better to use uim/anthy or scim/anthy. What is your locale?
 Perhaps you should consider changing to a UTF-8 locale
 (http://www.jw-stumpel.nl/stestu).
 

Thanks for the tip. I always used kinput2 (until last month in fact, when I
did the last major upgrade to my sid laptop) without problem. I don't have
UTF-8 locales installed, maybe I should try. It would be so cool to sing
along Japanese lyrics :-)


Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



xmms-singit, japanese lyrics

2006-11-14 Thread Victor Munoz
Hello. Does anyone know if it is possible to display japanese lyrics with
xmms-singit? I try the following:

kinput2 -canna -xim -kinput 
export LANG=ja_JP; export LC_ALL=ja_JP;export XMODIFIES=@im=kinput2
xmms

And then, if I open the lyrics editor for the singit plugin, I can actually
type japanese characters. Then I save. But the displayer does not show
characters correctly. I tried changing fonts. I tried the different
versions of 'mincho' fonts available in the font selector. Japanese
characters are displayed, but not correlated to what I wrote (for instance,
I write only hiragana, but only kanjis are displayed, and they do not
correspond to the hiragana I wrote of course). 

Has anybody done this? Thank you very much in advance,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Problems with LaTeX ruby package

2006-11-14 Thread Victor Munoz
Hello. I seem to have lost the ability to write in Japanese :-(

I'm trying to LaTeX a file using the ruby package. Something like:

\documentclass[12pt]{article}
\usepackage[overlap,CJK]{ruby}
\begin{document}

\ruby{...}{...}

\end{document}

I load it in emacs, load the cjk-enc library, write it as cjk file, and then
LaTeX the cjk file. But compilation fails in the \ruby line:

! Undefined control sequence.
[EMAIL PROTECTED]@range [EMAIL PROTECTED] [EMAIL PROTECTED]
  -*@nil @nnil
l.16 ...^?^^?�^^?252^^?}{^^?66^^?^^?^^?�^^?203^^?}
  \ruby{^^?66^^?^^?^^?�^^?22...


I compiled the same file last month with no problem.
ruby.sty is now version 4.7.0 (17-Oct-2006), and probably something
happened, but I see the \ruby command is defined in ruby.sty. Anybody can
help?

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: spanish characters

2006-11-07 Thread Victor Munoz
On Tue, Nov 07, 2006 at 12:37:38PM +0100, roberto wrote:
 
 both approaches were successfull but when i run latex over the
 document it produces no output at all instead of the magic ñ ... nor
 the simple n nor error, nothing
 
 maybe should i insert some specific package for spanish characters?
 

You should try something like \usepackage[latin1]{inputenc} if you want to
LaTeX a file with Spanish accents. Of course you can always input like \~n,
\'a. 

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



audio cd and system freeze

2006-11-06 Thread Victor Munoz
Hello. I'm having various problems related to audio cd. I'm using a T43 with
sid installed. Here is a list of the symptoms:

- If logged into my gnome session, I insert an audio cd and the system
freezes completely. I hear the sound of the cd when it is being recognized
by the system. An Audio CD appear on the Desktop, but when all this ends,
the system does not respond at all. I can only switch it off and reboot. 

  If the CD is in the tray at boot time, or if I insert the Cd before
logging into gnome, there is no problem.

- xmms does not find the audio tracks in /cdrom or /dev/cdrom
 
  However, other programs (grip, cdplay) are able to find the tracks and
play the CD. 

- I can not rip the audio CD. cdparanoia, from the command line, freezes the
system immediately (only output is cdparanoia version number, and then
silence, and then freeze). The same happens with grip. It can play the Cd as
I said, but trying to rip it freezes the system (I understand grip uses it's
a built in cdparanoia code).

Anyway, that's the situation. Any help? Thanks in advance,

Victor




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: audio cd and system freeze

2006-11-06 Thread Victor Munoz
On Mon, Nov 06, 2006 at 03:48:15PM +0100, Michael Ott wrote:
  
  Anyway, that's the situation. Any help? Thanks in advance,
 Problems with cdparanoia. Downgrade and it works
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391901
 

Ok, I'm not alone. Thanks for the tip!

[Though probably the bug is not cdparanoia alone. The system freezes only by
putting the disc. I would agree with the cdparanoia mantainer that it seems
to be a kernel issue]

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: keyjnote crashes computer

2006-10-02 Thread Victor Munoz
On Mon, Oct 02, 2006 at 12:47:05PM +0100, Anthony Campbell wrote:
 
 I don't think 3D does work here; at least, googlearth does not. I have a
 Matrox G550 using the standard mga driver.
 
 I'll try the program on my IBM Thinkpad, though that does not give 3D
 rendering either in spite of lengthy attempts to get googleearth working
 on it.
 

keyjnote 0.8.2 on a T43 working here. Haven't tried googleearth though, but
acceleration does work.

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



New windows without focus and in all workspaces

2006-04-11 Thread Victor Munoz
Hello.

I'm having an annoying problem with Gnome after a recent upgrade in sid
(last week). If I launch an application from gnome-terminal, the window
appears hidden by gnome-terminal, and does not get focus, unless I click on
it. This is not the case if I launch it from the panel. 

Also, the new window appears on the bar at the bottom, and in all
workspaces, and it kind of gets fixed in the workspace where I first
happen to click on it. 

I guess this is an intentional feature, but I don't like it. I have scripts
that launch several windows at once, and I don't want to click on all of
them to avoid having them in the wrong workspace by mistake. Is there any
way to switch this off? I was browsing the configuration editor, but didn't
find a place to do it.

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Workarround for No common CD-ROM drive was detected

2006-03-23 Thread Victor Munoz
On Thu, Mar 23, 2006 at 06:04:38PM +0530, Atul Talesara wrote:

 My Config: ThinkPad T43 (notebook)
 HDD : Hitachi PATA
 Optical : Matshita DVD-RAM UJ-822S
 Chipset : Intel 915PM
 
 Debian Etch Beta2 i386:
 http://cdimage.debian.org/cdimage/etch_di_beta2/i386/jigdo-dvd/
 
 Surprisingly, I don't see 'ata-piix'
 I don't have a SATA HDD, should I still be seeing this problem?
 Any solutions?
 TIA.
 

 Somewhere I read an explicit recommendation not to download the latest
images, but that was a few months ago.  I don't remember where I read it,
but maybe using a different version of the Etch installer might help. Mine
is also a T43, and the image I used worked.

Regards,
Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6 didn't recognize the CDROM, while 2.4 did

2006-02-01 Thread Victor Munoz
On Wed, Feb 01, 2006 at 08:30:06AM -0800, belahcene abdelkader wrote:
 
 I downloaded the last CD debian testing Disk 1 (janv
 30), the installation began correctly from the CD ( so
 it is detected ide cdrom  well known type) after a
 while, it gave an error : no cdrom detected , !!!
 So I went to the other screen ( ctrl+F2), there is
 neither  /dev/hd*, nor /dev/cdrom,
 
 With kernel 2.4, the cdrom is detected, and
 installation was doing OK.
 
 The Hard disk is SATA, ( ACER PC Pentium 4) detected
 as sda by kernel 2.6 and hda by kernel 2.4.
 

There's a workaround in 

http://lists.debian.org/debian-user/2006/01/msg02056.html

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Workarround for No common CD-ROM drive was detected

2006-01-18 Thread Victor Munoz
On Wed, Jan 18, 2006 at 04:24:31PM -0300, Jos?? Pablo Ezequiel Fern??ndez wrote:
 I am tring to install Debian Sarge in a computer with two SATA HDs and one 
 IDE 
 CD-ROM, I get the error No common CD-ROM drive was detected.
 I believe it is this bug: 
 http://lists.debian.org/debian-boot/2005/12/msg00351.html
 Any workaround to install Debian 3.1 with Linux 2.6 on that machine (Linux 
 2.4 
 works, but I need 2.6 for other reasons, Ubuntu with Linux 2.6 works) ?
 I tried floppies, they only have 2.4, any floppies with 2.6 ? can I install 
 from the netinst image like from the floppies (downloading everything, not 
 needing the CD itself ?).


You may try the suggestion in http://wiki.foosel.net/linux/t43

- Boot in expert26 mode.
- deselect ata-piix when asked for modules to enable
- CD-ROM will be detected
- Next prompt for modules should offer ata-piix. Select it.

That worked for me at least.

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Enabling kinput2-canna

2006-01-16 Thread Victor Munoz
On Tue, Jan 17, 2006 at 02:32:34AM +0800, Heimdall Midgard wrote:
 Aside from the key combinations in vim and emacs, I've never really
 used an input method. But I now have canna and kinput2-canna installed
 and nothing seems to happen.
 
 Besides the raw installataion of the two packages and their
 dependencies, what else do I need to do (install or configure) to use
 kinput2 in, say, an application like abiword? It seems the
 documentation on enabling the input method either doesn't work
 (ctrl-space) or is non-existent or in Japanese.
 

For me, it works to do this:

$ kinput2 -canna -xim -kinput 
$ export LANG=ja_JP; export LC_ALL=ja_JP;export XMODIFIERS=@im=kinput2
$ your_application 

probably the LANG and LC_ALL exports are not relevant. Then you activate
conversion with Shift-Space. 

Regards,
Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't detect CD-ROM in IBM T43

2006-01-09 Thread Victor Munoz
Hello. I've seen this question posted in many forums, but every idea I've
tried after reading the solutions simply doesn't work for me. I'm running
Sid in an IBM T43, but cdrom is not detected at all. According to 
http://kerneltrap.org/node/3971, a possible solution is to make a new initrd
image, where ide modules are loaded before the ata_piix module. That didn't
work for me. I tried exactly what the posting said: Added

ide-generic
ata_piix
sd_mod

to /etc/mkinitrd/modules, then mkinitrd -o /boot/initrd.img.2.6.15-1.686,
then reboot. Nothing new. Not really knowing what to do, 
I tried other combinations:

1)
ide-generic
cdrom
ata_piix
sd_mod

2)
ide_generic
ata_piix
sd_mod

3)
ide-generic
ide-cd
ata_piix

4)
ide-generic
ide-core
ide-cd
ata_piix

Anyway, in the last attempt I removed all modules in these files, made a new
initrd image... and the system would not boot! The only solution was to
uninstall/reinstall image 2.6.15-1

I have also tried modifying /etc/modules, inserting ata_piix after the ide
modules already there:

ide-cd
ide-disk
ide-generic
ata_piix 
psmouse
sd_mod

Didn't work. It seems as if /etc/modules is completely ignored. Knoppix
4.0.2, for instance, does recognize the CD, and the ide modules are loaded
before ata_piix, but I haven't found out how to force that in my case. 

Any help? Thanks,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Writing technical text

2005-11-18 Thread Victor Munoz
On Thu, Nov 17, 2005 at 06:21:47AM +, Joe Mc Cool wrote:
 How might I access non-standard document classes: shopping list, parts
 list, invoice, bill of materials, lesson plan, scheme of work, memo,
 ..?  Is there a repository of such things somewhere ?  Perhaps I
 can make my own ?
 

CTAN mirrors should have a lot of packages prepared for various needs,
though I'm not aware of classes like the one you mentions. But I really
don't know. You'd have to search the archives. 

Anyway, creating a class might be a bit difficult, as you need to know more
commands than you usually need as a normal user, but learning how to do it
is a good investment. LaTeX documentation has a document with a title like
LaTeX for class and package writers, which should explain the basic
structure of writing a class/package. In many cases, you can create your own
class based on one of the standard classes, plus some additional LaTeX
commands. For more complex layouts, you will probably need TeX knowledge,
and much more time learning. 

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problems with kinput2

2005-11-07 Thread Victor Munoz
On Sun, Nov 06, 2005 at 10:09:59PM -0500, Bryan Donlan wrote:
 I'm trying to configure kinput2 for Japanese text input, but as of yet
 I've had no success. I have the following lines in my ~/.Xdefaults and
 have merged them using xrdb:
 *KinputProtocol.XlcConversionStartKey:  ShiftKeyspace
 *ConversionStartKeys:  ShiftKeyspace
 *inputMethod: kinput2
 
 I also have the following in my ~/.xsession:
 [...]
 export LANG=en_US.UTF-8
 export LC_CTYPE=en_US.UTF-8
 export XMODIFIERS='@im=kinput2'
 kinput2 -xim -kinput -canna 
 [...]

I only occasionally need to input Japanese text, so I don't have any global
setting like that, only a script I run from the command line when needed,
which sets:

kinput2 -canna -xim -kinput 
export LANG=ja_JP; export LC_ALL=ja_JP;export XMODIFIERS=@im=kinput2

 
 However, kinput2 fails to trigger in either firefox or gvim.
 

After that I launch the browser (actually, it is launched by the same
script). It works with galeon at least. I think I've tried with firefox, but
not sure now.

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mathematica seg. faults with glibc 2.3.5

2005-10-23 Thread Victor Munoz
On Fri, Oct 21, 2005 at 11:32:06PM +0200, Jan wrote:
 
 Does anyone have a suggestion on how I can make Mathematica work?
 

This may not be very smart, but if nothing works, you could try  a sarge
install in a chroot environment. Then you could install Mathematica there.
I had the inverse problem, Mathematica 5.1 would not work in woody, then
stable, and I set up a chroot with sid until I got a new PC.


Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: latex notes

2005-10-16 Thread Victor Munoz
On Fri, Oct 14, 2005 at 10:06:45AM +0100, Jan T. Kim wrote:
  On 10/13/05, Victor Munoz [EMAIL PROTECTED] wrote:
  
   The 'article' class should be enough, as mentioned in other posts.
  
   \documentstyle{article}
  
 
 Indeed -- use the class, i.e.
 
 \documentclass{article}
 
 and not \documentstyle, which is an outdated command from the times
 before Latex 2e.
 

Sorry, my mistake. \documentclass indeed. (After two years of using 
C-c C-e in XEmacs to start LaTeX documents, I forgot the right 
command!) 


Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: latex notes

2005-10-13 Thread Victor Munoz
On Thu, Oct 13, 2005 at 04:05:17PM +0200, roberto wrote:
 hello
 i have to write down some simple mathematical notes for my co-workers
 and i need to write them down in latex, of course
 is there any simple document class without any title, bibliography and
 so on, just something to write a few formulas and some comments on
 them?
 

The 'article' class should be enough, as mentioned in other posts.

\documentstyle{article}

\begin{document}

\end{document}

You don't need more. If the formulas are simple, then that's all. If they
are not so simple, then adding \usepackage{amslatex} gives you many more
possibilities. 


Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: scp: file download history

2005-09-20 Thread Victor Munoz
On Mon, Sep 19, 2005 at 02:11:31AM -0700, Jared Hall wrote:
 Debian Users-
 
 I am trying to find a file which was uploaded to my server a couple of
 days ago over ssh using the scp command syntax.  I cannot remember the
 name of the file, or where it was placed.
 
 Is there any place I can look to see what files were uploaded to my
 computer via scp?
 Is there a command or log file which will show me all files which have
 been uploaded?
 

Maybe 'find'. You can give it time arguments, so you can find files
created/modified today, yesterday, or between two given dates (I think?). If
you know where in the tree it is, then it will take less time, but if you
don't know, well, 'find / ' is always an option.

This relies on the file having a useful timestamp (not a 10 years old file
transfered with 'scp -p', for instance).

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: error function erf(z) with complex z

2005-09-07 Thread Victor Munoz
On Wed, Sep 07, 2005 at 12:03:28PM +0200, Thomas Weber wrote:
 Hello, 
 
   from scipy.special import erf
   erf(2+3j)
  (-20.829461428577808+8.6873182710560588j) 
 Yes, thanks. Unfortunately, the library used for this is Fortran, so I'm
 still open for other suggestions.
 
 

It is not in Debian, but Matpack has an implementation for the Faddeeva
function:

 w(z) = exp(-z^2)*erfc(-i*z),
 
 where erfc is the complementary error function.
 
I extracted the stand-alone code, containing that function and adding the 
plasma zeta function Z(z) = i*sqrt{pi} w(z), in which I was really interested.

I made C++ (Matpack is written in C++) and Octave versions, but I don't know
if it's ok to redistribute it, as it is basically the same code, with a few
lines commented to make faddeeva(z) independent of the rest of Matpack code.
From the copyright notice:

The software may be modified for your own purposes, but modified versions
may not be distributed without prior consent of the author.

Does extracting a single function from the code constitute a modified
version? What about translating an algorithm to another language?

Regards,
Victor







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[sorry, wrong list] Re: error function erf(z) with complex z

2005-09-07 Thread Victor Munoz
On Wed, Sep 07, 2005 at 07:38:38PM +0900, Victor Munoz wrote:
 It is not in Debian, but Matpack has an implementation for the Faddeeva
 function:
 

Sorry, this post was for debian-science.

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't recover sound

2005-09-07 Thread Victor Munoz
On Wed, Sep 07, 2005 at 03:00:03PM +0200, Joachim Fahnenmüller wrote:
 
 So you did 'ps aux' and checked for possibly existing processes, did you?

I did.

 Another tool might be lsof, but I'm not sure how to use it.

This is a good tip, thank you. I tested and I can see that something like 

lsof | grep dsp

shows sox/mplayer/realplay. Next time sound hangs, I'll try. Still 'ps
aux' didn't show sound related applications running yesterday... Anyway,
I'll try.

 You could also try to remember which was the last sound program you used 
 before
 the problem came.

That's more difficult. Yesterday, as far as I remember, it happened the
first time I tried to see a movie in the day, so maybe something was left
hanging before the last X logout, or some plugin was launched during
browsing. I don't know.

Thanks again,
Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't recover sound

2005-09-07 Thread Victor Munoz
On Wed, Sep 07, 2005 at 09:59:37AM -0400, Michael Marsh wrote:
 
 Don't know if this helps, but I find that if I've used a java applet
 in Firefox that uses sound, it never releases the sound device.  The
 solution for that has been to quit Firefox and re-start it.  That also
 tends to bring about a speed improvement, since FF's java garbage
 collection seems to be pretty poor.
 

I don't use Firefox in this particular machine, and don't run java applets
either. It could be that some plugin was launched by Mozilla/Galeon, and
something failed. Sometimes, when I have this sound problem, I exit the
Gnome session and login again, but nothing. I did not do that yesterday,
though. But following the suggestion by someone else, maybe lsof will be
handy next time it happens.

Regards,
Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't recover sound

2005-09-07 Thread Victor Munoz
On Wed, Sep 07, 2005 at 07:28:38PM +0200, Philippe Grenard wrote:

 well, i assume you're running kde.

Gnome, in fact.

 in that case, you can start kcontrol, and find the sound and multimedia. 
 There 
 in sound system you can try to unselect and reselect enable sound system, 
 then click the apply button
 

I don't think there's something similar to that in Gnome, but I don't really
know what you're talking about as I don't use KDE. There is an Enable sound
server start up somewhere in the Gnome menu, to start esd, but I don't use it.


Regards,
Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't recover sound

2005-09-06 Thread Victor Munoz
Hello.

Sometimes I can't hear any sound (xmms, mplayer, play), getting things like
'Device or resource busy'. This happened in woody, now in sarge, sometimes
in sid, and everytime it happens, I do a Google search to try to find a
solution smarter than rebooting, but never find an answer, so I have to
reboot.

So the question is: How can I recover sound in this situation? Yesterday it
happened, for instance. There was no xmms, mplayer, play, skype, realplay or
whatever I could remember involving sound running in the background. I don't
run esd. But still, I could not play any movie or hear any sound from xmms.
I tried removing/reloading sound modules, but everytime I tried, it
complained that the module is being used and cannot be removed. There
doesn't seem to be a rmmod -f option. 

Is there a way to know which program is using the sound modules, so 
I can kill that, or any other way to recover a 'clean sound state' without
rebooting? There should be, but Google has not been my friend, probably for
my inability to make the right question.

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: diary with encryption

2005-08-17 Thread Victor Munoz
On Wed, Aug 17, 2005 at 06:57:53AM +0200, Laszlo Boszormenyi wrote:
 Hi,
 
 I am looking for an application which can store my notes in an
 _encrypted_ way. Preferably it is GTK+ or console based, and
 has some development to keep up with the current GTK+ version
 at least.
 


You could try gpge. It is not on Debian I think, but you can easily find it
with Google. It's a shell script which works as a front end to gpg. You call
it, the editor of your preference is opened, and when you save and exit the
file is encrypted.

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



cdrecord says empty disc is full!

2005-08-08 Thread Victor Munoz

Hello. Does anybody know what's happening here?

I have just burned a CD with audio tracks:

cdrecord -v dev=0,0,0 -speed=4  *.wav

Succeded. I tried to burn a second one, but now cdrecord complains:

[output deleted]

Track 84: audio7 MB (00:43.85) no preemp 
Track 85: audio   13 MB (01:22.81) no preemp 
Track 86: audio   19 MB (01:58.22) no preemp 
Track 87: audio   15 MB (01:35.02) no preemp 
Track 88: audio1 MB (00:08.73) no preemp 
Total size:  758 MB (75:11.69) = 338377 sectors
Lout start:  759 MB (75:13/52) = 338377 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11849 (97:24/01)
  ATIP start of lead out: 336075 (74:43/00)
Disk type:Long strategy type (Cyanine, AZO or similar)
Manuf. index: 25
Manufacturer: Taiyo Yuden Company Limited
Blocks total: 336075 Blocks current: 336075 Blocks remaining: -2302
cdrecord: WARNING: Data may not fit on current disk.
RBlocks total: 346856 RBlocks current: 346856 RBlocks remaining: 8479
cdrecord: Notice: Use -overburn option to write more than the
official disk capacity.
cdrecord: Notice: Most CD-writers do overburning only on SAO or RAW mode.

But the disk is empty. I've just opened the package!

I tried deinstalling/reinstalling the ide-scsi module, and then tried the
same with sg module, but didn't work. Then I rebooted :-(, and nothing, the
same error. Any idea?

I'm using sarge, with kernel 2.4.18-bf2.4 (coming from the previous woody
configuration... I still don't have time to change to a newer kernel :-(.
But I've recorded a few CDs after the sarge upgrade, without problem).

Thanks for any help,

Victor





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[SOLVED] cdrecord says empty disc is full!

2005-08-08 Thread Victor Munoz
Sorry for the previous post. I just noticed that the tracks I'm trying to
record are 732M in total, and the disc has 650M of capacity. I didn't notice
the problem before because I was using discs declaring 700M of capacity, and
thus the recording succeeded.

I never thought I should worry about reading that number on the CD case!
And I assumed it was complaining about a full disk because I had had the
same error last week, and that was the reason, the CD was not empty.

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



XEmacs TeX mode: Excessive syntax highlighting

2005-08-05 Thread Victor Munoz
Hello.

Since the sarge upgrade, everytime I open a TeX document, wherever I
have some \section{text} command, text appears in Big Bold Blue letters.
I don't like it. I'm perfectly happy with a change of color, but not a
change of size. 

Does anyone know how to get rid of this? I've played with the
Options-Syntax Highlighting menu (checking/unchecking the Fonts option),
and the varios levels (Least,More,Even More,Most), but no success.

Thanks for any help,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XEmacs TeX mode: Excessive syntax highlighting

2005-08-05 Thread Victor Munoz
On Fri, Aug 05, 2005 at 02:14:00PM +0100, michael wrote:

 The emacs (sic) command to toggle font-lock (syntax highlighting) is
  font-lock-mode
 

Yes, except that it disables all syntax highlighting. I don't want that. I
want syntax highlighting to change only font colors if needed, 
not the font size for the argument in \section commands (which is the only
anomaly I've noticed so far).

Regards,
Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: TWO logos in a prosper presentation

2005-08-02 Thread Victor Munoz
On Tue, Aug 02, 2005 at 08:39:00AM -0100, David A. Anisi wrote:
 Does anyone know if it is possible, and in that case how to, include TWO
 logos when making presentations with the latex prosper class??
 

I use prosper but I don't use the logo feature of prosper (prefer to simply
put the relevant logos in the first slide only). However, if you look at one
of the style files, you can find out how to modify the layout.

Check PPRcontemporain.sty, for instance. You will notice that the relevant
command is \ContempFrame, which defines the layout for every slide. The
logo is put by the command \PutLogo (defined in prosper.cls). You could 
either modify \PutLogo to include two logos. Maybe this?:

\newcommand{\PutLogo}{%
  [EMAIL PROTECTED]([EMAIL PROTECTED])[EMAIL PROTECTED]
  [EMAIL PROTECTED]([EMAIL PROTECTED])[EMAIL PROTECTED]
  }
  
and you will have to define the 'secondlogo' commands.

Or you could use pstrick commands inside \ContempFrame
(e.g. \rput itself) to add a second logo or whatever other feature you want
to have in all slides. 

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to capture sound from streaming flash player?

2005-07-07 Thread Victor Munoz
Hello.

I'm trying to capture sound from a website. Sound comes from flash player,
so I can't use mplayer.

It seems the only solution is to capture the sound from the sound card,
but after much googling and experimenting for hours, I can't do it. 
Would anyone please help?

Basically, I understand that I should select some correct combination
of settings in alsamixer to capture sound.

Then say something like

arecord -f cd -t wav -D hw:0,0 foobar.wav

Then I should launch the page which plays the flash stream.
When the sound plays, it will be captured.

But all I get is noise in foobar.wav.

My first problem is alsamixer. I activated capture in the Capture slide
I have, and raised this slide's volume to 100%. Then I activated capture
in the Line slide, and raised its volume too (77%). Then try to launch the
sound. Nothing. Changing Line with CD, Mic, and the other possibities
available, gave same result.

I tried arecord, and ecasound (ecasound -i alsahw,0,0 -o somefile.wav).
Nothing.

There must be something terribly wrong with what I'm doing, because I
haven't been able to capture other sounds either. I played a movie with
mplayer, while I was trying to capture (in some combination of settings),
and I got sound via mplayer, and noise in the wav file. 

Also, the flash player page displays a bar to indicate it's loading the
page, and when it's ready, starts playing, and indicates the minutes+seconds
played until now. If I try to capture, though, only the initial bar is
displayed, until it shows the page has loaded, but then no indication of
actual playing. 

I'm using sarge, alsa-driver-1.0.1:

lspci | grep audio
:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)


Any ideas welcome. I'm considering of doing this with a mike
and a cassette recorder...

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



woody-sarge: aptitude cache lock problem

2005-07-04 Thread Victor Munoz

Hello. I'm trying to upgrade the system from woody to sarge. Followed the
steps in the Debian release notes for sarge
(http://www.debian.org/releases/sarge/i386/release-notes/index.en.html):
that is:

- edit sources.list
- apt-get update
- aptitude install aptitude
- aptitude install doc-base
- aptitude -f --with-recommends dist-upgrade

At this point I end with the following error:

W:Warning: could not lock the cache file. Opening in read-only mode.

I don't know what to do. All the references I've found on the web to
the same error, say something like 'apt/dpkg/aptitude' is (possible) running
in another process, just kill it and go on, but I can't see any other
related process... 

Any help is appreciated.

Regards,
Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Japanese input

2005-06-27 Thread Victor Munoz
On Sun, Jun 26, 2005 at 02:36:55PM -0500, Eric P wrote:
 I installed Debian a few weeks back in Japanese.
 
 This installed Canna (which correctly starts up as a service on boot).
 Also, Kinput (kinput2-canna-wnn) and Freewnn-jserver (not sure what this
 does) were installed.
 
 Entering the following 2 commands on the command line (inside X) gets
 kinput2 up and running, and any programs ran from this terminal will now
 accept Japanese input (if they're capable of such).
 $ pidof kinput2 /dev/null || kinput2 
 $ export [EMAIL PROTECTED]
 
 But I'd like to have these commands executed somewhere so Japanese input
 is available in X when I log in.
 
 Any suggestions?
 

Put those lines in ~/.bash_profile or ~/.bashrc (never remember which one), 
and try. 

Just for the record, I use these lines when I need to launch an application
accepting Japanese input:

kinput2 -canna -xim -kinput 
export LANG=ja_JP; export LC_ALL=ja_JP;export XMODIFIERS=@im=kinput2

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: thread indicator symbols in mutt

2005-05-20 Thread Victor Munoz
On Thu, May 19, 2005 at 10:27:23PM -0600, s. keeling wrote:
 Incoming from Ron Peterson:
  My mutt installation isn't displaying the character symbols used in
  thread mode to show relationships between messages; I'm seeing other
  special characters instead.  What do I do to fix this?
 
 Use another font.  I like:
 
   -*-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60-iso8859-1
 
 xterm -fn -*-lucida... -e mutt 

I had a similar problem, and this line in .muttrc fixed it:

set ascii_chars=yes

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Help with Zip drive

2005-05-20 Thread Victor Munoz
On Fri, May 20, 2005 at 07:39:13AM -0700, Jerry Turba wrote:
 I just got a parallel port Zip 100 drive. I have the ppa module loaded,
 along with scsi support, scsi disk support. I do not have any scsi drives,
 only the zip on /dev/sda4. The zip is recognized during boot, and I can
 read it, format it with the iomegaware tool (iw), mount it, all without
 problem. I have problems when I  try to write to it. After the cp command
 the system hangs for a while. When it comes back I have lost the use of
 the keyboard but not the mouse, and I have to reboot.
 Here is what seems to be the relevant part of /var/log/messages.
 

This will not help probably. I had similar problems with my own parallel Zip
100 drive. At some point, I began getting 'input/output' errors when using
cp. I never understood why. I had backup of everything on hard disk, so I
eventually stopped using the zip drive. 

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't open files in gnome applications

2005-01-09 Thread Victor Munoz

Hello. I have been running sid using chroot+debootstrap in my woody machine
for a few days. Today I noticed something unexecpected. No Open File dialog
seems to work for any gnome-related applications. I first noticed when
trying to use Gimp for the first time. Open File hangs the application
forever, and I have to kill it. Same with abiword, gnumeric, pdf viewer,
ggv, epiphany. Other applications like xpdf or mozilla don't have this
problem. There is something very wrong with the installation, but I don't
know what. 

After the initial installation of the basic system with debootstrap (first
woody, then upgrade to sarge, then to sid), I installed a few additional 
applications. Regarding GUI, I installed gdm, gnome, and x-window-system. 
And I have this problem. 

What could be wrong? Thanks for any help,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[SOLVED] Fatal error in gallery: undefined canread()

2005-01-06 Thread Victor Munoz
 
 Fatal error: Call to undefined function: canread() in
 /usr/share/gallery/classes/User.php on line 90
 

For the record, my self-reply to this post. The only solution I found was to
upgrade to a newer version of gallery, 1.4.4, to replace the woody package. 

The problem is mentioned in gallery user forums, e. g.

http://gallery.menalto.com/index.php?name=PNphpBB2file=viewtopict=163highlight=fatal+error+canreadsid=c519ea2ebf49d8f3e3a1e24921e8af0e
http://gallery.menalto.com/index.php?name=PNphpBB2file=viewtopict=11798highlight=fatal+error+canreadsid=c519ea2ebf49d8f3e3a1e24921e8af0e

but the suggestion is always to upgrade. 

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Fatal error in gallery: undefined canread()

2004-12-31 Thread Victor Munoz
Hello. Today I found an unexpected error in gallery. It returns:

Fatal error: Call to undefined function: canread() in
/usr/share/gallery/classes/User.php on line 90

When connecting to the main gallery (http://host/gallery). I just don't
understand. There is a call to $album-canRead() [note capitalization is
different than the error message] in User.php, l.90. This function is
defined in Album.php. There is no explicit include of Album.php in User.php.

However, everything was working well two weeks before, as I recall. I
regularly check/update the gallery. I'm using woody, and I also follow all
security updates, but I can't see any php/gallery related security update in
december in http://www.debian.org/security/.

A google search of my error message only leads me to a similar error in
someone else's gallery. At least I'm not alone. But I'm very confused. Help?

Regards,
Victor




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: chroot: login console does not ask root password

2004-12-29 Thread Victor Munoz

Thanks for the answers! The problem was indeed that I had not yet set the
password for root in the chroot environment. Now everything is normal. 

 Victor
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



chroot: login console does not ask root password

2004-12-28 Thread Victor Munoz

Hello. I've been playing with chroot + debootstrap to have some sid
environment in my woody machine, following the suggestions in 

http://www.debian.org/doc/manuals/reference/ch-tips.en.html

I got to the point of setting up login for chroot (Sec. 8.6.35.2). 
tty8 is available now for login, but surprinsingly, I type root, and
I am logged in without password. I have created a normal user in the sid 
environment, and when I try to login as such in tty8, I am asked for the 
password. 

To have the login console I added this to /etc/inittab (in woody system),

8:23:respawn:/usr/sbin/chroot /disco/sid /sbin/getty 38400 tty8

I haven't found a mention in my web searches of a similar problem. How can I
force the system to ask for password if root wants to login?

 Regards,
 
 Victor
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Change gnumeric splash screen?

2004-12-02 Thread Victor Munoz

I recently did an upgrade of my sid system, and got gnumeric 1.3.93. Fine,
except that I don't really like the splash screen. I usually don't mind, but
in this particular case, it is a stock market image, with Kennedy
assassination references... I'm not in business, I'm Chilean, none of the
symbols there mean much to me and it made me think it could be the same for
most users in the world (please, I don't want to offend anyone, just my view
as someone far from this cultural background). But the splash screen
doesn't seem to be configurable. 'info gnumeric', 'locate splash' or 'dpkg
-L gnumeric', or browsing the gnumeric website, didn't give me a clue
(except 'gnumeric --no-splash').

Ideas? That's the way it is?

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Laptop choice, first boot issues

2004-11-26 Thread Victor Munoz

Thanks to all for the very useful comments. I feel now much better informed. 

Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Laptop choice, first boot issues

2004-11-23 Thread Victor Munoz

Hello. I'm thinking of buying a new laptop. I don't know much about the
subject (I've only had one old laptop, which I bought from a friend, and he
had already installed sid). From what I've learned googling, IBM Thinkpads
seem to be one of the best options. I live in Japan, and Japanese brands are
cheaper, but IBM looks like a safer bet. 

Currently I'm considering R50, T41, T42 models, but I'm open to suggestions!

It will probably not be possible to buy a laptop without XP installed. I've
read that one has to be very careful when first booting, because Windows XP
converts the file system from VFAT to NTFS. There's also the issue of the
special recovery partition somewhere in the hard disk. And there's the
issue of hardware detection. 

As I still don't have the big picture, my questions:

1. If I naively do a normal boot, then filesystem conversion will take
place, and I will not be able to (easily) resize partitions to make room for
Linux later? Or the only problem with NTFS is that they're read-only?
   
2. If I keep XP, then I also have to keep the recovery partition. Right?
   
3. If I keep XP, what would be a suitable partition size for it? I will not
really use it, just a backup in case I need to know about some hardware,
until I'm sure sid is working properly with all hardware.

4. A simpler alternative would be to boot first time with Knoppix, which
seems to do a very good job detecting hardware. Learn all I have to learn
with Knoppix, and then delete all partitions and start with a pure Debian
system. Any horror stories out there?

5. This recovery partition, is of use only to Windows? The delete all
partitions part above is safe if I intend to have Debian only?

  Sorry for all the if questions, but I'm trying to get some advice and
information beforehand.


Regards,

Victor



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   >