Re: apt has wrong links

2006-07-17 Thread John O'Hagan
On Monday 17 July 2006 12:56, Chuckk Hubbard wrote:
> On 7/16/06, John O'Hagan <[EMAIL PROTECTED]> wrote:
> > On Monday 17 July 2006 02:51, Chuckk Hubbard wrote:
> > [...]
> >
> > > Can anyone tell me just what the error messages I was getting to start
> > > with meant?
> > >
> > > -
> > > W: Couldn't stat source package list http://demudi.agnula.org
> > > demudi/main/updates Packages
> > > (/var/lib/apt/lists/demudi.agnula.org_packages_demudi_dists_demudi_main
> > >_upd ates_binary-i386_Packages) - stat (2 No such file or directory)
> > > -
> >
> > I think it means that a package-list file on your system is non-existent,
> > incomplete or corrupt, due to an interrupted download, a mirror problem,
> > filesystem corruption or whatever. It can normally be fixed by re-running
> > apt-get update. (Stat is a command which displays files.)
>
> Sorry to dwell on this, but- so it was looking for the files to match
> the URLs it was checking?  And when I hit "reload" it replaces the
> files...

I don't use synaptic so I don't know what "reload" means in that context, but 
as you probably know, synaptic is a front-end for apt-get, so I'll try to 
give my non-expert understanding of it, hoping that any apt-get gurus will 
correct my errors.

Each Debian-style mirror has a file called Packages which contains an up-to 
date list of packages available in that repository. When you do apt-get 
update, for each mirror in sources.list that file is copied into 
your /var/lib/apt/lists directory, overwriting any older files with the same 
name. Apt-get reads these files so it knows what it is looking for when doing 
installs. If a Packages file is not there or not right, you get an error like 
the one above. 

HTH,

John


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



Re: USB mouse not working, after installation Kernel 2.6.17

2006-07-17 Thread Pol Hallen
> After installation Kernel 2.4 --> 2.6.17 my USB mouse
> stopped working
> (Just working touch pad).
Could u try others usb device?!

what say lsusb? and dmesg?

U also can look xorg.conf for verify that your configuration is right :-)

> Do I did something wrong with installation Kernel?
maybe :-)

try with lsmod (or modconf) 4 add the right modules ;-)

Pol


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



/etc/rc2.d/ several links

2006-07-17 Thread Pol Hallen
Hey all :-)

I have several doubt about several script into /etc/rc2.d

In /etc/rc2.d read:

dbus-1, dirmngr, binfmt-support, stop-bootlogd

Are they really useful (or however) essentials?!

They are that since installation of os.

Thanks :-)
 
Pol


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



Re: Sequential background tasks

2006-07-17 Thread Gary R. Leaf

T wrote:


hi

I find that in many cases I need my background tasks to be executed in
sequence. Ie, I need background task-b to start right after background
task-a has properly started. 


So far I haven't found a good way to do it. I used

task-a & sleep 2; task-b &

but that 'sleep 2' has changed to 'sleep 5' and still sometimes task-b
starts before task-a. I can raise the wait time, but it means that task-b
would normally start too late... 

Any good way? 


thanks




Set up a script that checks the return codes.

if  return code of task A is 0 then
  task B
else
 do something else

if rturn code of task B is 0 then
  task C
else
  do something else

and so on

execute the controlling script in the background




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




Re: Failed to find suitable ramdisk generation tool for kernel version

2006-07-17 Thread Chris Bannister
On Tue, Jul 11, 2006 at 09:57:03AM -0500, Kent West wrote:
> >Setting up linux-image-2.6.14-2-686-smp (2.6.14-6bpo1) ...
> >Running depmod.
> >Finding valid ramdisk creators.
> >Failed to find suitable ramdisk generation tool for kernel version
> >2.6.14-2-686-smp on running kernel 2.4.27-2-686-smp in mkinitrd.yaird
> >mkinitramfs
> >dpkg: error processing linux-image-2.6.14-2-686-smp (--configure):
> > subprocess post-installation script returned error exit status 9
> >
> >
> >I've searched with Google and don't understand it.
> >
> >I'd appreciate comments, advice etc.
> >  
> 
> I had this problem a few weeks ago, but I'm afraid I don't recall what 
> fixed it. I vaguely remember having to reinstall initrd-tools or 
> something similar.

What is ouput of 'apt-cache policy initramfs-tools'?

Also I think the 2.4 kernel uses a different system of creating an
initrd than the 2.6 kernel.

-- 
Chris.
==


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



Re: Unidentified subject!

2006-07-17 Thread Justin Piszcz



On Mon, 17 Jul 2006, Bassam wrote:

i recently installed debian sarge by netinst minimal cd and the installer did 
not recognise my motorola sb5100 cable modem which was conneted by usb

i have no router, it was a direct connection

this is a cable modem distributed by Optus which is a very large telco in 
Australia so i am sure many people have this problem


debian needs a linux driver on floppy, the problem is motorola doesent make a 
linux driver, i have searched extensively and found this is a common problem 
among debian sarge users


strangely enough when using "damn small linux" which is a variant of debian, 
for some reason it automatically detected my modem allowed me to browse 
perfectly, this was the livecd version.


perhaps whatever it is that allows DamnSmallLinux to make this troublesome 
modem work could it be put into debian



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




Why use USB? Use the 100mbps cat5 connector on the back :)


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




Re: Sequential background tasks

2006-07-17 Thread Digby Tarvin
On Mon, Jul 17, 2006 at 06:36:55AM -0400, Gary R. Leaf wrote:
> >hi
> >
> >I find that in many cases I need my background tasks to be executed in
> >sequence. Ie, I need background task-b to start right after background
> >task-a has properly started. 
> >
> >So far I haven't found a good way to do it. I used
> >
> >task-a & sleep 2; task-b &
> >
> >but that 'sleep 2' has changed to 'sleep 5' and still sometimes task-b
> >starts before task-a. I can raise the wait time, but it means that task-b
> >would normally start too late... 
> >
> >Any good way? 
> >
> >thanks
> >
> >
> >
> Set up a script that checks the return codes.
> 
> if  return code of task A is 0 then
>   task B
> else
>  do something else
> 
> if rturn code of task B is 0 then
>   task C
> else
>   do something else
> 
> and so on
> 
> execute the controlling script in the background

You don't need a script - just use the 'conditional and' operator
of the shell:

(cmd1 && cmd2 && cmd3)&

will execute cmd1 to cmd3 in sequence, aborting if any fail. If you
don't want to abort on error, use ';' to separate the commands...

from the 'sh' manpage:
   ``&&'' and ``||'' are AND-OR list operators.  ``&&'' exe-
   cutes the first command, and then executes the second com-
   mand iff the exit status of the first command is zero.
   ``||'' is similar, but executes the second command iff the
   exit status of the first command is nonzero.  ``&&'' and
   ``||'' both have the same priority.

DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Chatting with Debian GNU/Linux (was: A question about chatting)

2006-07-17 Thread Rodolfo Medina
Rodolfo Medina <[EMAIL PROTECTED]> writes:

> My sister wants to chat with MS Windows users who use a chat
> program called `messenger'.
> Can she do that using Debian GNU/Linux, and will any IRC client
> be fine? A command line tool would be better, as `ircii'.


Many thanks to Rob, Kelly and Alejandro for their replies.
Through Gaim I'm also trying to chat via ICQ, but when asked for
a room name I don't know what to put there.
A hint about the proper syntax or what on earth I should
type in there? (I've never chatted before.)

Thanks, cheers,
Rodolfo


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



Re: little project

2006-07-17 Thread Thibaut Paumard
Le samedi 15 juillet 2006 à 14:51 -0700, Felipe Leon a écrit :
> the harddrive (20 gb) I had from a broken laptop

Your project will make a nice use of Debian, but I can predict that the
harddrive will fail (too) soon (a few years? months?). Install the SMART
tools and check the drive now, then make sure it is checked regularly. I
suppose you don't want to loose your data, so do think of some
backup/redundancy scheme (software RAID with two cheap drives,
perhaps?). I can't help you much with that, but I believe that's a
fairly important aspect you might be overlooking.

Best regards, Thibaut.




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



Re: Something has gone wrong with Mutt

2006-07-17 Thread Chris Bannister
On Fri, Jul 14, 2006 at 06:08:52PM +, p wrote:
> On Fri, Jul 14, 2006 at 12:08:56PM -0400, Alec Berryman wrote:
> 
> > > Fetchmail is downloading messages but mutt is not displaying them?  I
> > > have not changed any settings and I saw nothing in the latest
> > > dist-upgrade of testing which related to mutt.  What can have gone
> > > wrong?
> > 
> 
> hmm...if you're using exim, what's the setting
> for 
> 
> "smtp_accept_queue_per_connection = *"
> 
> in /etc/exim/exim.conf

Good point! Assuming it is exim4 with monolithic config then
stick smtp_accept_queue_per_connection=0 in
/etc/exim4/exim4.conf.template

And each time exim4 is updated remember to add it again. :-)

-- 
Chris.
==


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



Re: kernel 2.6.17 and Realtime-lsm-source

2006-07-17 Thread Chris Bannister
On Thu, Jul 13, 2006 at 11:15:24PM +1000, John O'Hagan wrote:
> #m-a update
> 
> which checks which module packages are already on your system; and
> 
> #m-a a-i realtime-lsm
> 
> (auto-install) which ensures you have the kernel headers and other necessary 
> packages installed, downloads the module source if needed, then builds and 
> installs it. Simple as that!
> 
> One little quirk I've noticed on my system is that a freshly-built realtime 
> module won't load at first until I reboot. It's fine after that.

Maybe a dpkg-reconfigure  instead would save a reboot.
Or a depmod -a

-- 
Chris.
==


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



Re: CUPS (Sid) not printing.

2006-07-17 Thread David Baron
On Monday 17 July 2006 05:04, Katipo wrote:
> David Baron wrote:
> >Jobs get queued and simply stay that way?
> >
> >What's happening?
> >
> >Using latest 2.6.17 kernel, Sid
>
> Happened to me too.
> Reinstalling foomatic modules fixed it.

Did that, does not help.

Some more info:

NO lp module was installed. Easy enough to modprobe it. DIdn't help

The parallel port /dev/lp0 was listed with attributes c-.
Set rw for owner (root) and group (lp) as in all the (unused) /dev/lp1, etc.
Didn't help.

Maybe need to reboot? Kernel bug?


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



Re: [Etch] Text disappearing in Gnome

2006-07-17 Thread Johannes Wiedersich

[EMAIL PROTECTED] wrote:

This is happening in different places :
- desktop icons : I open an application that is hiding the icon, then
when I close the application part of the icon text disappeared. After I
move the mouse over the missing text it is visible again.
- firefox : On some site there is some text missing. For example if I go
on forum.hardware.fr and select any category I only see the first one or
two words of the subject, after I move the mouse over the missing text
it becomes visible.


Other workaround: shortly switch to another window (alt-tab in kde) and 
back.



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




Re: Encoding avi's to DVD format

2006-07-17 Thread Dominique Dumont
John Oxley <[EMAIL PROTECTED]> writes:

> I have a whole bunch of home movies which I'd like to encode into DVD
> format.  I would like to do this with a selection screen as well.  The
> command that I want to run in my mind is:
>
> encode --use-an-index mymovie1.avi mymovie2.avi mymovie3.avi --outfile
> dvd.iso
>
> Can anyone help me?

You can try mkdvd:

http://fredrik.hubbe.net/hacks/mkdvd.html

HTH

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner


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



Re: CUPS (Sid) not printing. (SOLVED?)

2006-07-17 Thread David Baron
On Monday 17 July 2006 15:17, David Baron wrote:
> On Monday 17 July 2006 05:04, Katipo wrote:
> > David Baron wrote:
> > >Jobs get queued and simply stay that way?
> > >
> > >What's happening?
> > >
> > >Using latest 2.6.17 kernel, Sid
> >
> > Happened to me too.
> > Reinstalling foomatic modules fixed it.
>
> Did that, does not help.
>
> Some more info:
>
> NO lp module was installed. Easy enough to modprobe it. DIdn't help
>
> The parallel port /dev/lp0 was listed with attributes c-.
> Set rw for owner (root) and group (lp) as in all the (unused) /dev/lp1,
> etc. Didn't help.
>
> Maybe need to reboot? Kernel bug?

I went into http://localhost:631/ and "started" the printer.

I never had to do this before so how to I make this happen automatically?



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



Installing Debian with Raid and LVM , help

2006-07-17 Thread Eduardo

Hi, I tried to install Debian in my machine with 2 sata hd's and first
I created a partition with the whole size of the disk in both of HD's
and set bootable them..

Then I configured it with the option to configure Software Raid and
created the md0 device.
This md0 device I put it to work as a Physical Volume to LVM (set
bootable too), and then I've entered in the LVM configure option.

I made my Volume Group, then two Logial Volumes, and set it to be
bootable (only the root LV) and Finished the Changes.

Ok, then the Debian Installer started to install the Base System, and
when the LILO option comes, and I have only the option to install in
'/dev/md/0' device, I choose it, but LILO says that the partition
isn't active yet, and asks me if I want it to activate. I choose YES,
but LILO return the error that cannot change it.


Does anybody knows where I'm doing wrong?

Thanks!!


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




Re: [Fwd: Re: Why?]

2006-07-17 Thread Owen Heisler
On Sun, 2006-07-16 at 16:20 -0500, John Hasler wrote:
> Owen Heisler writes:
> > Still, I was thinking more of packages like "login" that could surely be
> > considered "essential" for 99% of Debian systems out there, along with
> > the common frontends to apt for package management, like aptitude and
> > dselect, so other packages can be installed using the preferred program.
> 
> Packages that are considered absolutely essential are tagged 'essential'
> and dpkg will refuse to remove them.  'login' is 'essential'.
> 
> Packages in section 'base' form the minimum set required to run the package
> management system and install packages.  Not all 'base' packages are
> 'essential' or 'required' as packages such as ppp which not all users will
> need are in 'base'.
> 
> Priorities are:
> 
>required
> 
>Packages which are necessary for the proper functioning of the
>system (usually, this means that dpkg functionality depends on
>these packages). Removing an required package may cause your
>system to become totally broken and you may not even be able to
>use dpkg to put things back, so only do so if you know what you
>are doing. Systems with only the required packages are probably
>unusable, but they do have enough functionality to allow the
>sysadmin to boot and install more software.
> 
>important 
>
>Important programs, including those which one would expect to
>find on any Unix-like system. If the expectation is that an
>experienced Unix person who found it missing would say "What on
>earth is going on, where is foo?", it must be an important
>package.[4] Other packages without which the system will not run
>well or be usable must also have priority important. This does
>not include Emacs, the X Window System, TeX or any other large
>applications. The important packages are just a bare minimum of
>commonly-expected and necessary tools.
>
>standard
> 
>These packages provide a reasonably small but not too limited
>character-mode system. This is what will be installed by default
>if the user doesn't select anything else. It doesn't include
>many large applications.   
>   
> 
>optional   
>   
> 
>(In a sense everything that isn't required is optional, but
>that's not what is meant here.) This is all the software that
>you might reasonably want to install if you didn't know what it
>was and don't have specialized requirements. This is a much
>larger system and includes the X Window System, a full TeX
>distribution, and many applications. Note that optional packages
>should not conflict with each other.
> 
>  extra
>   
>  
>This contains all packages that conflict with others with
>required, important, standard or optional priorities, or are
>only likely to be useful if you already know what they are or
>have specialized requirements.

Interesting; thanks!  I would be thinking of, then, all the packages in
"required" and "important".  Perhaps "standard".  What does the
installer do now, if tasksel is not used?


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



Re: kde headers not found, kdelibs-dev needed?

2006-07-17 Thread Marc Wilson
On Mon, Jul 17, 2006 at 01:55:15AM -0400, H.S. wrote:
> I am guessing I need kdelibs-dev package. However, if I try to install 
> this, apt-get says it wants to remove gnome and gnome-core etc! What am 
> I missing here?

Nothing.  That's how it works.

-- 
 Marc Wilson | Cheit's Lament: If you help a friend in need, he is
 [EMAIL PROTECTED] | sure to remember you-- the next time he's in need.


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



RE: Daylight Savings Time Extended

2006-07-17 Thread Tony Heal
 
Yes I did check the change log and it states:
- debian/patches/90_glibc232-timezones.dpatch: Update to tzdata2005h

But I can not find out what the 'Update to tzdata2005h' consisted of

 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
[EMAIL PROTECTED]
 

-Original Message-
From: Ron Johnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 10:59 AM
To: debian-user@lists.debian.org
Subject: Re: Daylight Savings Time Extended

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tony Heal wrote:
> 
> This sure has caused a lot of BS jabber. But none of said jabber
> has answered the original question. Does libc6 already have these
> updates and if not when will it get them?

Have you looked in

/usr/share/doc/libc6/changelog.Debian.gz

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEt7E6S9HxQb37XmcRAheaAJ0UQNUQP/BioKJix9/h924JG9oBqACgwrOm
Wx5d2h9NcLbJk3zdzJh4Kb8=
=fy43
-END PGP SIGNATURE-


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


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



RE: Daylight Savings Time Extended

2006-07-17 Thread Tony Heal
 in fact the change log at debian.org for he stable branch states:

- debian/patches/90_glibc232-timezones.dpatch: Update to tzdata2006b

But that is still no help.


 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
[EMAIL PROTECTED]
 

-Original Message-
From: Tony Heal [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 10:54 AM
To: debian-user@lists.debian.org
Subject: RE: Daylight Savings Time Extended

 
Yes I did check the change log and it states:
- debian/patches/90_glibc232-timezones.dpatch: Update to tzdata2005h

But I can not find out what the 'Update to tzdata2005h' consisted of

 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
[EMAIL PROTECTED]
 

-Original Message-
From: Ron Johnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 10:59 AM
To: debian-user@lists.debian.org
Subject: Re: Daylight Savings Time Extended

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tony Heal wrote:
> 
> This sure has caused a lot of BS jabber. But none of said jabber
> has answered the original question. Does libc6 already have these
> updates and if not when will it get them?

Have you looked in

/usr/share/doc/libc6/changelog.Debian.gz

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEt7E6S9HxQb37XmcRAheaAJ0UQNUQP/BioKJix9/h924JG9oBqACgwrOm
Wx5d2h9NcLbJk3zdzJh4Kb8=
=fy43
-END PGP SIGNATURE-


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


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


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



Re: Sequential background tasks

2006-07-17 Thread T
On Mon, 17 Jul 2006 00:10:43 -0500, Ron Johnson wrote:

>> I find that in many cases I need my background tasks to be executed in
>> sequence. Ie, I need background task-b to start right after background
>> task-a has properly started.
>> 
>> So far I haven't found a good way to do it. I used
>> 
>>  task-a & sleep 2; task-b &
>> 
>> but that 'sleep 2' has changed to 'sleep 5' and still sometimes task-b
>> starts before task-a. I can raise the wait time, but it means that
>> task-b would normally start too late...
>> 
>> Any good way?
> 
> "background" and "in sequence" are a bit (no, a *lot*) contradictory.

yeah, so true. 

hi, thanks everyone who replied.

> What you probably want is a *sequence* and put *it* in the background.
> This, maybe:
> 
>   (task-a && sleep 2 && task-b) &

or as Cameron suggested

{ task-a ; task-b ; } &

to avoid needlessly forking. 

This is the common theme for all the answers so far. But the problem is
that my background tasks are real background tasks, eg. emacs and tk
scripts, that they'd not finish and return. 

So I guess that I have to rely on longer sleeping then?




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



Re: Daylight Savings Time Extended

2006-07-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Maybe ask the D-D?

Tony Heal wrote:
>  in fact the change log at debian.org for he stable branch states:
> 
> - debian/patches/90_glibc232-timezones.dpatch: Update to tzdata2006b
> 
> But that is still no help.
> 
> 
> 
> -Original Message-
> From: Tony Heal [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 17, 2006 10:54 AM
> To: debian-user@lists.debian.org
> Subject: RE: Daylight Savings Time Extended
> 
>  
> Yes I did check the change log and it states:
> - debian/patches/90_glibc232-timezones.dpatch: Update to tzdata2005h
> 
> But I can not find out what the 'Update to tzdata2005h' consisted of
> 
>  
> 
> -Original Message-
> From: Ron Johnson [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 14, 2006 10:59 AM
> To: debian-user@lists.debian.org
> Subject: Re: Daylight Savings Time Extended
> 
> Tony Heal wrote:
>>> This sure has caused a lot of BS jabber. But none of said jabber
>>> has answered the original question. Does libc6 already have these
>>> updates and if not when will it get them?
> 
> Have you looked in
> 
> /usr/share/doc/libc6/changelog.Debian.gz

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFEu6rAS9HxQb37XmcRAnhCAKCMjUKAZd4WepxOkzrmChz9JvIURACY9Ujw
Qc3r5SF4un4pbXeFlC1ezw==
=ceiu
-END PGP SIGNATURE-


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



Re: Sequential background tasks

2006-07-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

T wrote:
> On Mon, 17 Jul 2006 00:10:43 -0500, Ron Johnson wrote:
> 
>>> I find that in many cases I need my background tasks to be executed in
>>> sequence. Ie, I need background task-b to start right after background
>>> task-a has properly started.
>>>
>>> So far I haven't found a good way to do it. I used
>>>
>>>  task-a & sleep 2; task-b &
>>>
>>> but that 'sleep 2' has changed to 'sleep 5' and still sometimes task-b
>>> starts before task-a. I can raise the wait time, but it means that
>>> task-b would normally start too late...
>>>
>>> Any good way?
>> "background" and "in sequence" are a bit (no, a *lot*) contradictory.
> 
> yeah, so true. 
> 
> hi, thanks everyone who replied.
> 
>> What you probably want is a *sequence* and put *it* in the background.
>> This, maybe:
>>
>>   (task-a && sleep 2 && task-b) &
> 
> or as Cameron suggested
> 
> { task-a ; task-b ; } &
> 
> to avoid needlessly forking. 
> 
> This is the common theme for all the answers so far. But the problem is
> that my background tasks are real background tasks, eg. emacs and tk
> scripts, that they'd not finish and return. 
> 
> So I guess that I have to rely on longer sleeping then?

But *logically* how do you sequence these events?  Once you have a
firm, explicit, unambiguous plan, then it can be coded.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEu6txS9HxQb37XmcRAsSIAJ9IGJXGNYBkAypY038x5TLFq6FkIwCfb/ri
u6U2rUZGBPEEvbSMXbF61fU=
=DwpY
-END PGP SIGNATURE-


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



RAID, mdadm shift dev point

2006-07-17 Thread Andrea Ganduglia

Hi, I have a problem with unexpected raid behavior. On my machine I have
configured two raid5 (raid software, mdadm) over 5 disks + 1 spare disk.

md0: sda1 sdb1 sdc1 sdd1 sde1 [U] (spare: sdf1)
md1: sda2 sdb2 sdc2 sdd2 sde2 [U] (spare: sdf2)

Now. I have set fails sdb2 on md1
~$ mdadm --fail /dev/md1 /dev/sdb2

md1: sda2 sdc2 sdd2 sde2 [U_UUU] (spare: sdf2)

and hot added sdf2 on same disk array. Array has been rebuild including sdf2
into it:
~$ mdadm --add /dev/md1 /dev/sdf2

md1: sda2 sdc2 sdd2 sde2 sdf2 [U] (spare: none)

Ok, it works well.

Now, for emulate disaster scenario I have halted machine and phisically remove
/dev/sdb. System booted well but /dev point has been shifted by one position,
or, in other words:

sda -now-is-> sda
sdb -now-is-> sdc
sdc -now-is-> sdd
sdd -now-is-> sde
sdf -now-is-> sde

while sdf is not recognized by the system. Why system reallocate /dev point in
this way? It's a disaster for daily maintenance. Now my /proc/mdstat said:

md0: sda1 sdb1 sdc1 sdd1 sde1 [U] (spare: none)
md1: sda2 sdb2 sdc2 sdd2 sde2 [U] (spare: none)

/dev/sdf do not exist, but it is phisically in my machine.
while
/dev/sdb found into raid arrays, but it is phisically on my desk!

Please, help me to understand mdadm logic.


--
Openclose.it - Idee per il software libero
http://www.openclose.it


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




Inode Errors

2006-07-17 Thread Peter Collins
Hi, Sorry for the lack of information but I am having problems at home with inode errors on one of my harddrives, I have run fsck -y which found loads of problems and didn't really help, My question is as I have a hardware RAID1 setup, if I replace SDA with a new drive, do you think it would mirror everything over onto the new drive nicely or is SDB likely to be suffering the same problems?
Also does anyone have any tips on inode errors who could maybe point to a good source of help.Many ThanksPeter.


Re: RAID, mdadm shift dev point

2006-07-17 Thread Guillaume

Andrea Ganduglia a écrit :

Hi, I have a problem with unexpected raid behavior. On my machine I have
configured two raid5 (raid software, mdadm) over 5 disks + 1 spare disk.

md0: sda1 sdb1 sdc1 sdd1 sde1 [U] (spare: sdf1)
md1: sda2 sdb2 sdc2 sdd2 sde2 [U] (spare: sdf2)

Now. I have set fails sdb2 on md1
~$ mdadm --fail /dev/md1 /dev/sdb2

md1: sda2 sdc2 sdd2 sde2 [U_UUU] (spare: sdf2)

and hot added sdf2 on same disk array. Array has been rebuild including 
sdf2

into it:
~$ mdadm --add /dev/md1 /dev/sdf2

md1: sda2 sdc2 sdd2 sde2 sdf2 [U] (spare: none)

Ok, it works well.

Now, for emulate disaster scenario I have halted machine and phisically 
remove
/dev/sdb. System booted well but /dev point has been shifted by one 
position,

or, in other words:

sda -now-is-> sda
sdb -now-is-> sdc
sdc -now-is-> sdd
sdd -now-is-> sde
sdf -now-is-> sde

while sdf is not recognized by the system. Why system reallocate /dev 
point in

this way? It's a disaster for daily maintenance. Now my /proc/mdstat said:

md0: sda1 sdb1 sdc1 sdd1 sde1 [U] (spare: none)
md1: sda2 sdb2 sdc2 sdd2 sde2 [U] (spare: none)

/dev/sdf do not exist, but it is phisically in my machine.
while
/dev/sdb found into raid arrays, but it is phisically on my desk!

Please, help me to understand mdadm logic.




Hi,

It's not a mdadm logic problem...

That's "/dev" logic problem... Linux assign the first disk as sda, the 
second as sdb, and so on


If you remove the first disk, all is shifted by one !!! :-(

Regards
Guillaume


--
Guillaume
E-mail: silencer__free-4ever__net
Blog: http://guillaume.free-4ever.net

Site: http://www.free-4ever.net


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




video file information

2006-07-17 Thread Pol Hallen
Hey all :-)

i need a program (or script) to do a check of information of video file 
(resolution, which codecs uses, etc)

which program i could use?!

thanks! ;-)
 
Pol


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



Re: [Fwd: Re: Why?]

2006-07-17 Thread John Hasler
Owen Heisler writes:
> What does the installer do now, if tasksel is not used?

You get everything up through "standard" plus a few "base" packages that
are "optional" priority but are in "base" because some users may need them
to proceed with the installation.
-- 
John Hasler


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



Re: kde headers not found, kdelibs-dev needed?

2006-07-17 Thread Mumia W.

On 07/17/2006 09:48 AM, Marc Wilson wrote:

On Mon, Jul 17, 2006 at 01:55:15AM -0400, H.S. wrote:
I am guessing I need kdelibs-dev package. However, if I try to install 
this, apt-get says it wants to remove gnome and gnome-core etc! What am 
I missing here?


Nothing.  That's how it works.



Not here. When I simulate installing kdelibs-dev (virtual 
package fulfilled by kdelibs4-dev) on Sarge, aptitude does not 
threaten to remove Gnome.



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




APT can't find packages...

2006-07-17 Thread Redefined Horizons

I'm having some trouble installing a couple of Debs. I've got them in
a repository on my local hard drive. I've run dpkg-scanpackages on the
repository and I can see the packages in Synaptic. When I try to
install the packages Synaptic tells me how much disk space is required
and alerts me that it can't verify the source of the packages.

After I tell Synaptic that I want to install the packages anyways it
gives me an error message stating that it can't find the files:

"W: Failed to fetch file. File not found."

I get the same problem when I try to install the packages directly
from Apt using the command line.

I have double checked the path to the repository, and I know that the
Debs I'm trying to install are in the directory.

Any suggestions on what is causing the problem? Why is Apt telling me
that it can't find the files? It obviously "sees" them if it knows
their disk space requirements and that they aren't verified.

(The files are the Sun Java packages from the non-free section of the
official Debian package repository. I don't know if this makes a
difference.)

Scott Huey

P.S. - I'm running Debian Etch.


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




Re: CUPS (Sid) not printing. (SOLVED?)

2006-07-17 Thread Arthur Marsh

David Baron wrote:

On Monday 17 July 2006 15:17, David Baron wrote:

On Monday 17 July 2006 05:04, Katipo wrote:

David Baron wrote:

Jobs get queued and simply stay that way?

What's happening?

Using latest 2.6.17 kernel, Sid

Happened to me too.
Reinstalling foomatic modules fixed it.

Did that, does not help.

Some more info:

NO lp module was installed. Easy enough to modprobe it. DIdn't help

The parallel port /dev/lp0 was listed with attributes c-.
Set rw for owner (root) and group (lp) as in all the (unused) /dev/lp1,
etc. Didn't help.

Maybe need to reboot? Kernel bug?


I went into http://localhost:631/ and "started" the printer.

I never had to do this before so how to I make this happen automatically?





If you put

lp

in /etc/modules

and reboot, is /dev/lp0 created with the correct permissions?

If so, does CUPS then start-up and make the printer available without 
manual intervention?


I had to add lp to /etc/modules sometime after a 2.6.16.x upgrade.

Arthur.


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




Re: Sequential background tasks

2006-07-17 Thread Mumia W.

On 07/17/2006 03:59 AM, T wrote:

[...]
{ task-a ; task-b ; } &

to avoid needlessly forking. 


This is the common theme for all the answers so far. But the problem is
that my background tasks are real background tasks, eg. emacs and tk
scripts, that they'd not finish and return. 


So I guess that I have to rely on longer sleeping then?






Some years ago, I had to solve a problem like this, and my 
solution was "done-files." I was writing a system programs 
that relied on each others input. Platform constraints that I 
can't remember obliged me to start all three programs 
asynchronously, so I made each program write a file name of 
-done.$$$ upon finishing.


For example, if the programs were named stage1, stage2 and 
stage3; stage1 would create a zero-byte file named 
stage1-done.$$$, and stage2 would write stage2-done.$$$ when 
it was finished. Stage3 didn't need to write a "done-file."


Stage2 would wait for stage1-done.$$$ to appear before doing 
anything, and stage3 would wait for stage2-done.$$$ before 
doing anything. So I was able to get three asynchronously run 
programs to act synchronously.


HTH




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




Re: Unidentified subject!

2006-07-17 Thread Andrew Sackville-West
On Mon, Jul 17, 2006 at 12:50:43PM +1000, Bassam wrote:
> i recently installed debian sarge by netinst minimal cd and the 
> installer did not recognise my motorola sb5100 cable modem which was 
> conneted by usb
> i have no router, it was a direct connection

its been a long time for me, but when a cable modem is connected by
usb, you need to have the usb stuff in place for it to function. I
suspect the net install does not include this. Is there an ethernet
port on your modem and a corresponding NIC in your machine? if so, you
should connect it that way. Then it should "just work".

> 
> this is a cable modem distributed by Optus which is a very large telco 
> in Australia so i am sure many people have this problem
> 
> debian needs a linux driver on floppy, the problem is motorola doesent 
> make a linux driver, i have searched extensively and found this is a 
> common problem among debian sarge users
> 
> strangely enough when using "damn small linux" which is a variant of 
> debian, for some reason it automatically detected my modem allowed me to 
> browse perfectly, this was the livecd version.

you could boot up DSL and see what modules it is using to drive the
internet connection through USB. Then grab those modules from
somewhere and modprobe then from a virtual terminal in the
installer. that may work to get ethernet over usb. 

> 
> perhaps whatever it is that allows DamnSmallLinux to make this 
> troublesome modem work could it be put into debian

its not an issue of getting the modem to work so much as getting
debian to recognize that you want ethernet to work over USB. That's a
different issue. As I said above, your best bet is to use the ethernet
port on your modem to a NIC on your machine.

hth

A


signature.asc
Description: Digital signature


Re: How do I turn on LVM on RAID in 32-bit etch?

2006-07-17 Thread Andrew Sackville-West
On Sun, Jul 16, 2006 at 09:26:33PM -0400, [EMAIL PROTECTED] wrote:
> A fresh install from the debian-testing-i386-netinst
> CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
> It now dual-boots 32-bit or 64-bit etch.
> 
> I don't remember any such problems when I installed the 64-bit system.
> But that was months ago and my memory may be shaky.
> 
> However, on my 64-bit system, it recognises my LVM partitions on my 
> RAID, and on ny 32-bit system, it does not.
> 
> When I ask the 32-but system to mount one of the LVs, it just 
> complains that it can't find the special device /dev/VG2/LV1
> The 64-bit system just goes ahead and mounts it.
> 
> What packages/modules do I have to install/configure/modprobe or
> whatever to get the 32-bit system to recognise this stuff.

just for kicks and grins, do you have lvm-common, lvm2 and lvm10
installed?

A




signature.asc
Description: Digital signature


Re: Sequential background tasks

2006-07-17 Thread Andrew Sackville-West
On Mon, Jul 17, 2006 at 10:59:30AM +0200, T wrote:
> On Mon, 17 Jul 2006 00:10:43 -0500, Ron Johnson wrote:
> 
> >> I find that in many cases I need my background tasks to be executed in
> >> sequence. Ie, I need background task-b to start right after background
> >> task-a has properly started.
> >> 
> >> So far I haven't found a good way to do it. I used
> >> 
> >>  task-a & sleep 2; task-b &
> >> 
> >> but that 'sleep 2' has changed to 'sleep 5' and still sometimes task-b
> >> starts before task-a. I can raise the wait time, but it means that
> >> task-b would normally start too late...
> >> 
> >> Any good way?
> > 
> > "background" and "in sequence" are a bit (no, a *lot*) contradictory.
> 
> yeah, so true. 
> 
> hi, thanks everyone who replied.
> 
> > What you probably want is a *sequence* and put *it* in the background.
> > This, maybe:
> > 
> >   (task-a && sleep 2 && task-b) &
> 
> or as Cameron suggested
> 
> { task-a ; task-b ; } &
> 
> to avoid needlessly forking. 
> 
> This is the common theme for all the answers so far. But the problem is
> that my background tasks are real background tasks, eg. emacs and tk
> scripts, that they'd not finish and return. 

does this mean you need to start task-a, wait a little and then start
task b to run concurrently with task-a? 

A


signature.asc
Description: Digital signature


Re: Going back to stable

2006-07-17 Thread Andrew Sackville-West
On Sat, Jul 15, 2006 at 09:51:42AM -0400, Rich Johnson wrote:
> 
> On Jul 15, 2006, at 5:53 AM, Dave Ewart wrote:
> 
> >On Saturday, 15.07.2006 at 01:00 -0400, Roberto C. Sanchez wrote:
> >>
> >>That is not exactly supported.  Especially since there are *huge*
> >>differences between stable and unstable.  Gnome has been upgraded  
> >>twice,
> >>XFree86 was replaced by X.org.  Those two alone would be enough to  
> >>scare
> >>me off.  Your best bet is to reinstall.  If you kept /home on a
> >>sepearate partition from the beginning, this should be relatively
> >>trivial to accomplish without losing many settings.
> >
> >I'd second this advice.  Re-install, don't even *try* to downgrade...
> 
> I agree as well.
> 
> Though it has been possible in the past, at the current time that  
> ''not exactly supported'' is at best a rather gracious euphemism.
> I tried to go from testing->stable the other day with disastrous  
> results.   Things really got wedged when apt-get/dpkg objected to  
> removing some files shared by debian-utils and some other package  
> whose name escapes me.
> 
> I gave up and reinstalled from scratch. 

That's gotta be the best way to do it. Otherwise I think you'd want to
basically purge everything but the most basic install, then downgrade,
then reinstall everything that you purged. might as well reinstall
from scratch. Though, I think it would be fun to try ;)

A



signature.asc
Description: Digital signature


Re: [Fwd: Re: Why?]

2006-07-17 Thread Owen Heisler
On Mon, 2006-07-17 at 10:16 -0500, John Hasler wrote:
> Owen Heisler writes:
> > What does the installer do now, if tasksel is not used?
> 
> You get everything up through "standard" plus a few "base" packages that
> are "optional" priority but are in "base" because some users may need them
> to proceed with the installation.

Okay, sounds good.


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



Re: APT can't find packages...

2006-07-17 Thread Arthur Marsh

Redefined Horizons wrote:

I'm having some trouble installing a couple of Debs. I've got them in
a repository on my local hard drive. I've run dpkg-scanpackages on the
repository and I can see the packages in Synaptic. When I try to
install the packages Synaptic tells me how much disk space is required
and alerts me that it can't verify the source of the packages.

After I tell Synaptic that I want to install the packages anyways it
gives me an error message stating that it can't find the files:

"W: Failed to fetch file. File not found."

I get the same problem when I try to install the packages directly
from Apt using the command line.

I have double checked the path to the repository, and I know that the
Debs I'm trying to install are in the directory.

Any suggestions on what is causing the problem? Why is Apt telling me
that it can't find the files? It obviously "sees" them if it knows
their disk space requirements and that they aren't verified.

(The files are the Sun Java packages from the non-free section of the
official Debian package repository. I don't know if this makes a
difference.)

Scott Huey

P.S. - I'm running Debian Etch.




you could quit synaptic, then cd to the directory containing the .deb 
files, then run:


dkpg -i sunjavablah1.deb sunjavablah2.deb

(obviously substituting the correct .deb file name(s)) to install the 
packages.


I was stuck at one stage trying to install some .deb files until I found 
out about dpkg -i


Arthur.


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




Re: kde headers not found, kdelibs-dev needed?

2006-07-17 Thread H.S.

Marc Wilson wrote:

On Mon, Jul 17, 2006 at 01:55:15AM -0400, H.S. wrote:

I am guessing I need kdelibs-dev package. However, if I try to install 
this, apt-get says it wants to remove gnome and gnome-core etc! What am 
I missing here?



Nothing.  That's how it works.



Well, it turns out this is not the only way it works. I tried using 
dselect to install kdelib4-dev (kdelibs-dev was not available in 
dselect). This time gnome-* was not going to be removed. Here is what I 
ended up installing:


The following packages will be REMOVED
  gamin libgamin0 update-notifier
The following NEW packages will be installed
  aspell-en comerr-dev deborphan dialog doc-base fam hspell 
kdelibs4-dev libacl1-dev libart-2.0-dev
  libarts1-dev libartsc0-dev libasound2-dev libaspell-dev libattr1-dev 
libaudiofile-dev
  libavahi-client-dev libavahi-common-dev libavahi-qt3-dev libbz2-dev 
libcairo-perl libdbus-1-dev
  libesd0-dev libfam-dev libfam0 libglib-perl libglib2.0-dev 
libgnome2-canvas-perl libgnome2-perl
  libgnome2-vfs-perl libgtk2-perl libidn11-dev libjack0.100.0-dev 
libjasper-1.701-dev libkadm55
  libkrb5-dev liblua50-dev liblualib50-dev libmad0-dev libogg-dev 
libopenexr-dev libpcre3-dev
  libpcrecpp0 libsasl2-dev libssl-dev libtiff4-dev libtiffxx0c2 
libvorbis-dev libxml2-dev libxslt1-dev

  lua50
0 upgraded, 51 newly installed, 3 to remove and 0 not upgraded.
Need to get 15.3MB of archives.
After unpacking 53.9MB of additional disk space will be used.
Do you want to continue [Y/n]?


The difference between using apt-get and dselect to install kdelibs 
seems to be huge here.


->HS



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




Re: Shutdown my Laptop? Why should I?

2006-07-17 Thread Owen Heisler
On Sun, 2006-07-16 at 02:06 +0300, Micha Feigin wrote:
> On Thu, 13 Jul 2006 22:51:03 -0500 Jay C Vollmer wrote:
> > On Thursday 13 July 2006 21:24, Carl Fink wrote:
> > > I'm not an electrochemist, but modern Li-ion batteries don't develop
> > > memory, they just lose capacity each time they're charged. 
> > 
> > Isn't what you're describing 'memory?'
> > 
> The end effect may be similar in terms of degraded performance, but the
> chemical point of view is different.
> 
> I don't remember the specifics, but IIRC NiCad develop a 'memory' in that the
> material 'remembers' it's charged state and won't discharge. It is recommended
> to completely discharge these batteries on occasion to avoid this.
> 
> Li-ion don't have this effect, but on the other hand they don't like to be
> completely discharged. The problem is that they have several cells, and some
> discharge faster then others. When some of the cells completely discharge and
> others haven't yet, an effect of back-flow occurs which burns out those cells.

Well, well.  I have always tried to completely discharge the battery in
my laptop before charging it; maybe I shouldn't.

> There is another problem with all batteries, (a problem of the charging
> circuits actually) that if they are charged too fast they will over heat which
> damages them. The second problem is that none of the batteries like to be over
> charged, something which usually isn't handled properly either usually.
> 
> The integrated circuits may get out of sync with the battery (usually when the
> battery degrades with age and the circuit isn't calibrated any more, which
> causes false information, but doesn't effect performance). It is sometimes
> recommended to discharge the battery completely when that happens to 
> recalibrate
> it, but isn't recommended on a regular basis with Li-ions.

My laptop's lithium ion had no clue what the percentage was.  It would
stay between 100 and 50 percent most of the time, then drop suddenly to
0.

I read in a Popular Science magazine that freezing a battery may help.
I had little to lose as this battery was getting very bad, so I tried
it.  ...It didn't work.  Now the battery will charge, but seems to reset
every ten seconds or so; it flashes full and then goes back to <10%.  It
holds absolutely no charge.

It is unfortunate that lithium ion batteries cost so much.  To replace
this one costs more than what I gave for the laptop.


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



Re: kde headers not found, kdelibs-dev needed?

2006-07-17 Thread H.S.

Mumia W. wrote:

On 07/17/2006 09:48 AM, Marc Wilson wrote:


On Mon, Jul 17, 2006 at 01:55:15AM -0400, H.S. wrote:

I am guessing I need kdelibs-dev package. However, if I try to 
install this, apt-get says it wants to remove gnome and gnome-core 
etc! What am I missing here?



Nothing.  That's how it works.



Not here. When I simulate installing kdelibs-dev (virtual package 
fulfilled by kdelibs4-dev) on Sarge, aptitude does not threaten to 
remove Gnome.





Your post makes more sense.  After all, why in the world should 
kdelibs-dev need to remove gnome-*? In any case, things worked out with 
dselect as I mentioned in my other post.


->HS



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




Re: /dev/video absent

2006-07-17 Thread kruton
Hello folks,
I am reposting my problem again.. I am hoping to get a
webcam (a TV tuner card later) working on a
Debian/Unstable box with 2.6.17-1-486 kernel and
evga's graphics card with nVidia GForce 6600LE
chipset.

The webcam in concern is a Logitech Quickcam IM. The
material I dug up from the net says to compile a
certain driver against the kernel headers.

But there are no /dev/video* devices. I have put the
v4l module (videodev) using modconf. lsmod gives the
following list:

Module  Size  Used by
quickcam   91336  0
smbfs  55800  0
usbvideo   23812  0
c_qcam 11160  0
compat_ioctl32  1408  2 usbvideo,c_qcam
videodev8832  3
quickcam,usbvideo,c_qcam
uhci_hcd   19464  0
nls_cp437   5888  0
vfat   11520  0
fat45852  1 vfat
sd_mod 18448  0
usb_storage69952  0
nls_iso8859_1   4224  1
isofs  31672  1
udf71812  0
appletalk  30384  2
ax25   46168  2
ipx23084  2
p8023   2176  1 ipx
binfmt_misc10376  1
speedstep_lib   4484  0
freq_table  4356  0
ipv6  210784  17
button  6544  0
ac  4868  0
battery 9220  0
dm_mod 48568  0
ide_generic 1408  0 [permanent]
mousedev   10400  1
tsdev   7360  0
snd_ens137122432  1
gameport   13448  1 snd_ens1371
snd_rawmidi21792  1 snd_ens1371
snd_seq_device  7692  1 snd_rawmidi
snd_pcm_oss35616  0
snd_mixer_oss  15616  1 snd_pcm_oss
psmouse34184  0
snd_intel8x0   29596  2
snd_ac97_codec 82336  2
snd_ens1371,snd_intel8x0
snd_ac97_bus2304  1 snd_ac97_codec
8250_pnp8704  0
evdev   8960  1
i2c_nforce2 6656  0
serio_raw   6276  0
pcspkr  2816  0
i2c_core   19216  1 i2c_nforce2
snd_pcm71432  4
snd_ens1371,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer  19716  1 snd_pcm
snd45668  15
snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore   8800  1 snd
parport_pc 31396  0
parport31944  2 c_qcam,parport_pc
rtc11444  0
snd_page_alloc  9480  2 snd_intel8x0,snd_pcm
floppy 52868  0
ext3  114952  1
jbd45588  1 ext3
ide_cd 35104  1
cdrom  32288  1 ide_cd
ide_disk   14976  3
sata_nv 9220  0
libata 60300  1 sata_nv
scsi_mod  120840  3
sd_mod,usb_storage,libata
ohci_hcd   17412  0
ehci_hcd   26888  0
amd74xx12700  0 [permanent]
usbcore   108544  7
quickcam,usbvideo,uhci_hcd,usb_storage,ohci_hcd,ehci_hcd
generic 4356  0 [permanent]
ide_core  107940  6
usb_storage,ide_generic,ide_cd,ide_disk,amd74xx,generic
forcedeth  25228  0
thermal12680  0
processor  21440  1 thermal
fan 4484  0

-

udev seems to take care of the devices... when i try
to "MAKEDEV video", i get the following message..

udev active, devices will be created in
/dev/.static/dev/

yes there are all sorts of device files in that
directory with access only to root. 

So what should i do?
thanks in advacne
kruton.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: ssh in debian

2006-07-17 Thread Johannes Wiedersich

Christopher Nelson wrote:

On Sun, Jul 16, 2006 at 11:33:34PM +0200, mattias jonsson wrote:

how to activate ssh in debian?
i run colinux debian


Client or server?  (I'm assuming here that colinux lets linux talk to
the host's networking, I don't how to set it up if it doesn't)

The client should be installed by default--to run it just type
`ssh `

The server will (I think) be installed by default in stable, but in
testing/unstable you'll need to install the package 'openssh-server'.
With that taken care of, it should start automatically, if not issue
`/etc/init.d/ssh start`
If it doesn't start, take note of the error messages and search on
those.

IIRC, neither ssh client nor server are installed by default (unless you 
select task server, workstation, etc. when prompted by the installer).


aptitude install ssh

should install both client and server and set it up for you (debian 
stable and etch).


Johannes


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




Re: Why?

2006-07-17 Thread Johannes Wiedersich

Paul E Condon wrote:

On Fri, Jul 14, 2006 at 10:40:07AM +0200, Johannes Wiedersich wrote:

Paul E Condon wrote:

But some posters to this thread seem to be unaware that selecting
"Desk top" during install of Debian causes -both- kde -and- gnome to
be installed. So, I believe almost all of those newbies about whom we
are genuinely concerned already have both on their computer.  And
-both- gdm -and- kdm can be told to start up either kdm or gnome.
(xdm doesn't seem to have this feature.)
Yes, but still I believe the question should be asked. Newbies don't 
know there is a choice and find themselves in default gnome before they 
have a chance to decide. Experts have to know that they manually have to 
select kde before they log in.


I don't remember how often I sat in front of a newly installed computer, 
thoughtlessly entering username and password, accidentially starting 
gnome, switching to the console, removing all the autogenerated gnome 
config files, selecting kde or xfce and logging in again


It certainly isn't an unnecessary question to be asked on installation!


Strictly speaking, it is unnecessary. The installation gets done successfully
without it being asked. A more appropriate question might be, it is useful?


Agreed.


For a real newbie, the idea that there different competing user interfaces is
a real mind bender. For a person like you who knows about it and knows what 
he wants, the question would be a useful reminder to choose now what you will
otherwise choose later. 


Well, when I switched our workstation park from suse to debian I wasn't 
in a position to know how to change that default to kde, so that our 
users would 'automatically' find their familiar desktop. It would have 
helped me to have that question asked.


There could be a short dialogue stating the main differences between 
-say gnome, kde, icewm- and offering a default selection. Experts with 
many systems to install to will skip that question by preseeding.


That's just my opinion.

Johannes


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




Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread S Scharf
On 7/17/06, Eduardo <[EMAIL PROTECTED]> wrote:
Hi, I tried to install Debian in my machine with 2 sata hd's and firstI created a partition with the whole size of the disk in both of HD'sand set bootable them..Then I configured it with the option to configure Software Raid and
created the md0 device.This md0 device I put it to work as a Physical Volume to LVM (setbootable too), and then I've entered in the LVM configure option.I made my Volume Group, then two Logial Volumes, and set it to be
bootable (only the root LV) and Finished the Changes.Ok, then the Debian Installer started to install the Base System, andwhen the LILO option comes, and I have only the option to install in'/dev/md/0' device, I choose it, but LILO says that the partition
isn't active yet, and asks me if I want it to activate. I choose YES,but LILO return the error that cannot change it.Does anybody knows where I'm doing wrong?My recollection is that you cannot have the /boot directory
on a Logical Volume. I created two RAID partitions, onefor the /boot directory and one for the LVM for everythingelse. 


Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread Eduardo

But the /boot will be under RAID, right?

On 7/17/06, S Scharf <[EMAIL PROTECTED]> wrote:

On 7/17/06, Eduardo <[EMAIL PROTECTED]> wrote:

> Hi, I tried to install Debian in my machine with 2 sata hd's and first
> I created a partition with the whole size of the disk in both of HD's
> and set bootable them..
>
> Then I configured it with the option to configure Software Raid and
> created the md0 device.
> This md0 device I put it to work as a Physical Volume to LVM (set
> bootable too), and then I've entered in the LVM configure option.
>
> I made my Volume Group, then two Logial Volumes, and set it to be
> bootable (only the root LV) and Finished the Changes.
>
> Ok, then the Debian Installer started to install the Base System, and
> when the LILO option comes, and I have only the option to install in
> '/dev/md/0' device, I choose it, but LILO says that the partition
> isn't active yet, and asks me if I want it to activate. I choose YES,
> but LILO return the error that cannot change it.
>
>
> Does anybody knows where I'm doing wrong?



My recollection is that you cannot have the /boot directory
on a Logical Volume. I created two RAID partitions, one
for the /boot directory and one for the LVM for everything
else.





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




Re: video file information

2006-07-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pol Hallen wrote:
> Hey all :-)
> 
> i need a program (or script) to do a check of information of video file 
> (resolution, which codecs uses, etc)
> 
> which program i could use?!
> 
> thanks! ;-)

Using this command:
$ apt-cache search video info | grep -v ^xserv

I find :
mpgtx - toolbox to manipulate MPEG files (video, system, and audio)
mpeg4ip-utils - end-to-end system to explore streaming multimedia

Also, mplayer dumps the data when it plays a file.  There must be a
way to tell it to play 0 frames.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEu+MeS9HxQb37XmcRAuerAJsHvgEfaKVi0Llx9Kcq1ODaupYMtgCgjLJi
Nq8utBAoPFZVzi+WwsmJUo8=
=ewGY
-END PGP SIGNATURE-


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



Re: kde headers not found, kdelibs-dev needed?

2006-07-17 Thread Marc Wilson
On Mon, Jul 17, 2006 at 01:56:09PM -0400, H.S. wrote:
> The difference between using apt-get and dselect to install kdelibs 
> seems to be huge here.

 As opposed to the difference between attempting to install two
different packages.  Gee, wonder why that might make the behavior
different.

-- 
 Marc Wilson | Life does not begin at the moment of conception or
 [EMAIL PROTECTED] | the moment of birth.  It begins when the kids leave
 | home and the dog dies.


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



CD writer wear out?

2006-07-17 Thread Art Edwards
I have had several CD burners die. They read just fine, but they stop
writing after a very finite number (say tens) of CD's. My hardware vendor
says that this is rare. Has anyone else had this experience? Is there
something I should be doing?

Art


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



Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread S Scharf
On 7/17/06, Eduardo <[EMAIL PROTECTED]> wrote:
But the /boot will be under RAID, right?Yes. You create /dev/md0 for /boot and /dev/md1 for the LVM. Seehttp://www.tldp.org/HOWTO/Software-RAID-HOWTO-11.html
 fora similiar setup


Re: CUPS (Sid) not printing. (SOLVED?)

2006-07-17 Thread David Baron
On Monday 17 July 2006 18:50, Arthur Marsh wrote:
> > I went into http://localhost:631/ and "started" the printer.
> >
> > I never had to do this before so how to I make this happen automatically?
>
> If you put
>
> lp
>
> in /etc/modules
>
> and reboot, is /dev/lp0 created with the correct permissions?

My /dev is static. I am not using udev. I have set the permissions to
crw.rw Somehow, it had been changed to NO rw at all.
>
> If so, does CUPS then start-up and make the printer available without
> manual intervention?

> I had to add lp to /etc/modules sometime after a 2.6.16.x upgrade.
I will add it to /set/modules and see. I did not have this problem with 2.6.16 
kernels but then again, I do not do all that much printing so maybe I did.
Cups writes printer.conf with the default printer (with the data switch 
setting the parallel line to it) as "idle" and the second printer (not live) 
to "stopped". So why did I need to manually "start" the supposedly "idle" 
printer?

See what happens after next reboot.


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



Re video file information

2006-07-17 Thread Sergio Cuéllar Valdés

On 7/17/06, Pol Hallen <[EMAIL PROTECTED]> wrote:


i need a program (or script) to do a check of information of video file
(resolution, which codecs uses, etc)

which program i could use?!



Hello, I think mplayer can do that. It displays some information when
the file is played.

To install it, you should add:

deb http://www.debian-multimedia.org etch main

to your /etc/apt/sources.list, (replace etch with stable or sid, if
your case) and then:

# apt-get update && apt-get install mplayer


--
"Meine Hoffnung soll mich leiten
Durch die Tage ohne Dich
Und die Liebe soll mich tragen
Wenn der Schmerz die Hoffnung bricht"


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




Re: RAID, mdadm shift dev point

2006-07-17 Thread S Scharf
On 7/17/06, Guillaume <[EMAIL PROTECTED]> wrote:
Andrea Ganduglia a écrit :> Hi, I have a problem with unexpected raid behavior. On my machine I have> configured two raid5 (raid software, mdadm) over 5 disks + 1 spare disk.>> md0: sda1 sdb1 sdc1 sdd1 sde1 [U] (spare: sdf1)
> md1: sda2 sdb2 sdc2 sdd2 sde2 [U] (spare: sdf2)>> Now. I have set fails sdb2 on md1> ~$ mdadm --fail /dev/md1 /dev/sdb2>> md1: sda2 sdc2 sdd2 sde2 [U_UUU] (spare: sdf2)>
> and hot added sdf2 on same disk array. Array has been rebuild including> sdf2> into it:> ~$ mdadm --add /dev/md1 /dev/sdf2>> md1: sda2 sdc2 sdd2 sde2 sdf2 [U] (spare: none)
>> Ok, it works well.>> Now, for emulate disaster scenario I have halted machine and phisically> remove> /dev/sdb. System booted well but /dev point has been shifted by one> position,
> or, in other words:>> sda -now-is-> sda> sdb -now-is-> sdc> sdc -now-is-> sdd> sdd -now-is-> sde> sdf -now-is-> sde>> while sdf is not recognized by the system. Why system reallocate /dev
> point in> this way? It's a disaster for daily maintenance. Now my /proc/mdstat said:>> md0: sda1 sdb1 sdc1 sdd1 sde1 [U] (spare: none)> md1: sda2 sdb2 sdc2 sdd2 sde2 [U] (spare: none)
>> /dev/sdf do not exist, but it is phisically in my machine.> while> /dev/sdb found into raid arrays, but it is phisically on my desk!>> Please, help me to understand mdadm logic.
>>Hi,It's not a mdadm logic problem...That's "/dev" logic problem... Linux assign the first disk as sda, thesecond as sdb, and so onIf you remove the first disk, all is shifted by one !!! :-(
RegardsGuillaumeI imagine that it should be possibe to write a set of udev rules to fix the mount point for eachdrive.


Re: Sequential background tasks

2006-07-17 Thread T
On Mon, 17 Jul 2006 09:58:33 -0700, Andrew Sackville-West wrote:

>> >> I find that in many cases I need my background tasks to be executed
>> >> in sequence. Ie, I need background task-b to start right after
>> >> background task-a has properly started.
>> >> 
>> >> So far I haven't found a good way to do it. I used
>> >> 
>> >>  task-a & sleep 2; task-b &
>> >> 
>> >> but that 'sleep 2' has changed to 'sleep 5' and still sometimes
>> >> task-b starts before task-a. I can raise the wait time, but it means
>> >> that task-b would normally start too late...
>> >> 
>> >> Any good way?
>> > 
>> > "background" and "in sequence" are a bit (no, a *lot*) contradictory.
>> 
>> yeah, so true.
>> 
>> hi, thanks everyone who replied.
>> 
>> > What you probably want is a *sequence* and put *it* in the background.
>> > This, maybe:
>> > 
>> >   (task-a && sleep 2 && task-b) &
>> 
>> or as Cameron suggested
>> 
>> { task-a ; task-b ; } &
>> 
>> to avoid needlessly forking.
>> 
>> This is the common theme for all the answers so far. But the problem is
>> that my background tasks are real background tasks, eg. emacs and tk
>> scripts, that they'd not finish and return.
> 
> does this mean you need to start task-a, wait a little and then start task
> b to run concurrently with task-a?

Exactly. 

One example is my TK script. I guess I can use Mumia's done-file approach. 

The other is actually plain emacs. I started my 1st emacs session with
-geometry parameter to position it at a exact location on my x-win, then
the 2nd one is grouped to it by my fluxbox -- the nice feature of fluxbox
that allows applications that you choose to share the very same place on X.

It sound a bit confusion but the bottom line is, yes, I need to do exactly
what you've described. 




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



Re: CD writer wear out?

2006-07-17 Thread T
On Mon, 17 Jul 2006 13:54:03 -0600, Art Edwards wrote:

> I have had several CD burners die. They read just fine, but they stop
> writing after a very finite number (say tens) of CD's.

10? that's absurd. and then you need to reboot, or it just won't burn any
further? 





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



Re: Cannot install openoffice

2006-07-17 Thread S Scharf
On 7/15/06, Christopher Nelson <[EMAIL PROTECTED]> wrote:
On Sat, Jul 15, 2006 at 09:31:44AM +0200, Pol wrote:> As i try to install openoffice in debian/testing i get:>> apt-get install  openoffice.org-bin>> The following packages have unmet dependencies:
>   openoffice.org-bin: Depends: libmyspell3 but it is not installable>   Depends: libneon23 (>= 0.23.9.dfsg.3) but it is not> installable>   Depends: 
libstlport4.6 but it is not installable>   Depends: openoffice.org (> 1.1.2+1.1.3) but it is not> going to be installed> E: Broken packages
This problem, I think is because you are trying to install the oldversion (the one in stable) which uses old versions of the libraries.What happens when you issue just `apt-get install openoffice.org`> Same result, trying debian/stable
Exact same error messages?  It should work in a pure stableenvironment..have you issued a `apt-get update` recently?  If theproblem persists, try installing each package listed as 'uninstallable'until you get to the one(s) which are actually holding it up.
--Christopher Nelson -- [EMAIL PROTECTED]---No act of kindness, no matter how small, is ever wasted.
-- Aesop--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]On testing I don't even show a openoffice.org-bin package. Did you tryapt-get install 
openoffice.org?


Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread hendrik
On Mon, Jul 17, 2006 at 03:03:09PM -0400, S Scharf wrote:
> 
> My recollection is that you cannot have the /boot directory
> on a Logical Volume. I created two RAID partitions, one
> for the /boot directory and one for the LVM for everything
> else.

My experience is that , using LILO, you can't have the files LILO needs
at boot time on an LVM on a RAID.  I don't know whether it's RAID or LVM 
or both that cause the problem.  My /usr is an LVM on a RAID.  But lilo 
seems to need some files on /usr at boot time.  I presume it can't find
their block addresses when I run
lilo -v
and therefore cannot set up to boot.

If I knew what these files were, I could try putting them on /boot 
and symbolically linking to them.  Or is my whole analysis completely 
wrong?  /boot is on a reiserfs.  Could that be the problem instead?

grub boots OK.  The 32-bit grup even boots the 64-bit alternate boot 
partition OK.  (i've got an AMD64) But I'd like to use lilo to set 
up a boot floppy -- just in case.

-- hendrik


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



Re: Sequential background tasks

2006-07-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

T wrote:
> On Mon, 17 Jul 2006 09:58:33 -0700, Andrew Sackville-West wrote:
> 
[snip]
>> does this mean you need to start task-a, wait a little and then start task
>> b to run concurrently with task-a?
> 
> Exactly. 
> 
> One example is my TK script. I guess I can use Mumia's done-file approach. 
> 
> The other is actually plain emacs. I started my 1st emacs session with
> -geometry parameter to position it at a exact location on my x-win, then
> the 2nd one is grouped to it by my fluxbox -- the nice feature of fluxbox
> that allows applications that you choose to share the very same place on X.
> 
> It sound a bit confusion but the bottom line is, yes, I need to do exactly
> what you've described. 

Then how about:

{task-a &} && sleep 5 && {task-b &}

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEu/kdS9HxQb37XmcRAsf3AKDcYpK1LZJwuw0gGCOqpJWeu7iRQgCg5qvX
WscT0N8chxo9m7vZQ6Im1+Y=
=2ePy
-END PGP SIGNATURE-


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



Re: CD writer wear out?

2006-07-17 Thread Alan Ianson
On Mon July 17 2006 12:54 pm, Art Edwards wrote:
> I have had several CD burners die. They read just fine, but they stop
> writing after a very finite number (say tens) of CD's. My hardware vendor
> says that this is rare. Has anyone else had this experience? Is there
> something I should be doing?

Really!? I have CD burners here that go back 7 years and they still work. I 
don't know what to suggest but I don't think the burner is worn out.


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



Re: kde headers not found, kdelibs-dev needed?

2006-07-17 Thread H.S.

Marc Wilson wrote:

On Mon, Jul 17, 2006 at 01:56:09PM -0400, H.S. wrote:

The difference between using apt-get and dselect to install kdelibs 
seems to be huge here.



 As opposed to the difference between attempting to install two
different packages.  Gee, wonder why that might make the behavior
different.



I am aware of difference between the name of the packages. Apt-get 
wanted to do similar things when either of these were to be installed -- 
why would I report it otherwise?


->HS


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




Re: Sequential background tasks

2006-07-17 Thread Andrew Sackville-West
On Mon, Jul 17, 2006 at 04:09:32PM +0200, T wrote:
> On Mon, 17 Jul 2006 09:58:33 -0700, Andrew Sackville-West wrote:
> 
> >> >> I find that in many cases I need my background tasks to be executed
> >> >> in sequence. Ie, I need background task-b to start right after
> >> >> background task-a has properly started.
[snippage ...]

> >> 
> >> or as Cameron suggested
> >> 
> >> { task-a ; task-b ; } &
> >> 
> >> to avoid needlessly forking.
> >> 
> >> This is the common theme for all the answers so far. But the problem is
> >> that my background tasks are real background tasks, eg. emacs and tk
> >> scripts, that they'd not finish and return.
> > 
> > does this mean you need to start task-a, wait a little and then start task
> > b to run concurrently with task-a?
> 
> Exactly. 
> 
> One example is my TK script. I guess I can use Mumia's done-file approach. 
> 
> The other is actually plain emacs. I started my 1st emacs session with
> -geometry parameter to position it at a exact location on my x-win, then
> the 2nd one is grouped to it by my fluxbox -- the nice feature of fluxbox
> that allows applications that you choose to share the very same place on X.
> 
> It sound a bit confusion but the bottom line is, yes, I need to do exactly
> what you've described. 
> 

so you want the emacs to be fully started so that fluxbox can grab the
next and group it properly, right? maybe you can wrap the second
instance in something that checks the status of the first one before
proceeding. maybe something as simple as checking its xprop's though
that's probably not the right tool, so that when it is assigned
properties by X, then you know that fluxbox knows where it is and can
proceed. this is out of my league, but maybe I've helpd clarify the
problem better.

A


signature.asc
Description: Digital signature


Question about variably depending packages

2006-07-17 Thread Jerry DuVal








Can a package have a variable depends in the control file?  

 

I have created the following packages

 

test-database_1_i386.deb

test-application_1_i386.deb

test-storage_1_i386.deb

 

On my server I have a /etc/test.properties

 

IP=192.168.1.60

DATABASEIP=192.168.1.65

STORAGEIP=192.168.1.60

 

 

 

My question is there a way to make the application package
variably depend on the database package only if

 

. /etc/test.properties

 

$IP == $DATABASEIP

 

 

Basically if I want to variably install packages based on
the properties file already on the server, but do this without user
interaction, just reading the properties.

 

 

Thanks in advance,

 

Jerry

 

 

 

 








Re: Chatting with Debian GNU/Linux

2006-07-17 Thread Rodolfo Medina
Rodolfo Medina <[EMAIL PROTECTED]> writes:

>> Through Gaim I'm also trying to chat via ICQ, but when asked for
>> a room name I don't know what to put there.
>> A hint about the proper syntax or what on earth I should
>> type in there? (I've never chatted before.)



Kai Schroeder <[EMAIL PROTECTED]> writes:

> Do you mean Screen Name instead of room name? You have to put your ICQ
> number there obtained from www.icq.com.


No, just room name.
I created my icq account the way you say, but then:
how do I actually chat?
When I click the `chat' icon a room name is required,
which I don't know (sorry, I've never chatted before).

Thanks,
Rodolfo


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



Re: CUPS (Sid) not printing. (SOLVED?)

2006-07-17 Thread Roger Leigh
David Baron <[EMAIL PROTECTED]> writes:

> On Monday 17 July 2006 18:50, Arthur Marsh wrote:
>> > I went into http://localhost:631/ and "started" the printer.
>> >
>> > I never had to do this before so how to I make this happen automatically?
>>
>> If you put
>>
>> lp
>>
>> in /etc/modules
>>
>> and reboot, is /dev/lp0 created with the correct permissions?
>
> My /dev is static. I am not using udev. I have set the permissions to
> crw.rw Somehow, it had been changed to NO rw at all.

This doesn't help if the module isn't loaded.  Make sure it shows up
in the lsmod output, along with parport.

>> If so, does CUPS then start-up and make the printer available without
>> manual intervention?
>
>> I had to add lp to /etc/modules sometime after a 2.6.16.x upgrade.
> I will add it to /set/modules and see. I did not have this problem
> with 2.6.16 kernels but then again, I do not do all that much
> printing so maybe I did.  Cups writes printer.conf with the default
> printer (with the data switch setting the parallel line to it) as
> "idle" and the second printer (not live) to "stopped". So why did I
> need to manually "start" the supposedly "idle" printer?

Run

/usr/sbin/tunelp -s /dev/lp0

and see what it says.  It should ideally say online/ready.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please sign and encrypt your mail.


pgph4uf5cJOw0.pgp
Description: PGP signature


rsync error

2006-07-17 Thread Pupeno
Hello,
I have a Debian Sarge server that makes a daily backup to an rsync server, 
while doing that I always get an error. The error is:

rsync: writefd_unbuffered failed to write 1 bytes: phase "unknown" [sender]: 
Connection reset by peer (104)
rsync: connection unexpectedly closed (65734 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)

and the command for the backup is (some internal data, like the long list 
of --excludes, or the username, host and address were remove/replaced):

rsync --recursive --relative --links --delete --delete-excluded --compress 
--password-file=/etc/rsyncpassword --exclude=/some/excluded/files /etc/ /root/ 
/home/ /var/ 
[EMAIL PROTECTED]::my-space/

Any ideas ? Is it on my side the problem ?

Checking what's on the other side, it seems the backup is there, at least some 
directories and files (I haven't made a diff of the whole thing, there might 
be some differences).

Any ideas what is going on ? how bad it is ? and how to solve it ?

Thanks.
-- 
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)


pgp81kW9uosij.pgp
Description: PGP signature


Re: How do I turn on LVM on RAID in 32-bit etch?

2006-07-17 Thread hendrik
On Mon, Jul 17, 2006 at 09:55:42AM -0700, Andrew Sackville-West wrote:
> On Sun, Jul 16, 2006 at 09:26:33PM -0400, [EMAIL PROTECTED] wrote:
> > A fresh install from the debian-testing-i386-netinst
> > CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
> > It now dual-boots 32-bit or 64-bit etch.
> > 
> > I don't remember any such problems when I installed the 64-bit system.
> > But that was months ago and my memory may be shaky.
> > 
> > However, on my 64-bit system, it recognises my LVM partitions on my 
> > RAID, and on ny 32-bit system, it does not.
> > 
> > When I ask the 32-but system to mount one of the LVs, it just 
> > complains that it can't find the special device /dev/VG2/LV1
> > The 64-bit system just goes ahead and mounts it.
> > 
> > What packages/modules do I have to install/configure/modprobe or
> > whatever to get the 32-bit system to recognise this stuff.
> 
> just for kicks and grins, do you have lvm-common, lvm2 and lvm10
> installed?

OK.  I'm so embarassed to admit I hadn't.
Now I have lvm-common and lvm2, and am wondering why it didn't get 
installed automatically by the installer, when it could see I had
LVM on RAID on my file system.  Perhaps because I didn't ask it to
make it available during the partitioning phase of the initial
minimal install.

However, I now have lvm-common and lvm2, ans still get the boot-time 
message

mount: special device /dev/VG1/LV1 does not exits
* Mount local filesystems failed with error code 96

So there's something *else* that has to be done.

I could try reinstalling on /dev/hda2 from scratch, and this time
telling the partitioner to mount my lvm partitions somewhere.
Maybe if I do that it will figure out what has to be installed for it?

I'm interested in getting the thing going, but I'm also interested in 
why it didn't work out of the box, so to speak.

-- hendrik


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



Re: CD writer wear out?

2006-07-17 Thread Nate Bargmann
* Alan Ianson <[EMAIL PROTECTED]> [2006 Jul 17 16:00 -0500]:
> On Mon July 17 2006 12:54 pm, Art Edwards wrote:
> > I have had several CD burners die. They read just fine, but they stop
> > writing after a very finite number (say tens) of CD's. My hardware vendor
> > says that this is rare. Has anyone else had this experience? Is there
> > something I should be doing?
> 
> Really!? I have CD burners here that go back 7 years and they still work. I 
> don't know what to suggest but I don't think the burner is worn out.

I have a Sony I bought in '01.  About 18 months ago it started making
discs that were nearly unreadable on my T23.  I bought an Iomega USB
writer and that helped for a while.  Finally I replaced the CD-ROM in
the T23 with a CD/DVD-RW drive.  Since it's much faster than my old
Sony, I just use it.

I suspect minor alignment problems over time especially on a laptop.

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB  |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
 http://www.qsl.net/n0nb/   |  "Debian, the choice of
 My Kawasaki KZ-650 SR @| a GNU generation!"
http://www.networksplus.net/n0nb/   |   http://www.debian.org


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



[OT] LinuxFormat old KDE programming articles in PDF

2006-07-17 Thread H.S.

Hi,

I was wondering if somebody has old articles regarding development in 
KDE by LinuxFormat lying around. There are most PDFs available here (in 
LXF Archives page):

http://www.linuxformat.co.uk/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=5

I am looking for these KDE and Qt programming articles:
Issue 55 (July 2004): Writing KDE apps (JB)
Issue 54 (June 2004): Coding in KDevelop (JB)

Thanks,
->HS


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




Re: RAID, mdadm shift dev point

2006-07-17 Thread Andrea Ganduglia

On 7/17/06, S Scharf <[EMAIL PROTECTED]> wrote:

On 7/17/06, Guillaume <[EMAIL PROTECTED]> wrote:
> Andrea Ganduglia a écrit :
> > Now, for emulate disaster scenario I have halted machine and phisically
> > remove
> > /dev/sdb. System booted well but /dev point has been shifted by one
> > position,



> That's "/dev" logic problem... Linux assign the first disk as sda, the
> second as sdb, and so on
>
> If you remove the first disk, all is shifted by one !!! :-(



I imagine that it should be possibe to write a set of udev rules to fix the
mount point for each
drive.


I imagine too, but how?


--
Openclose.it - Idee per il software libero
http://www.openclose.it



Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread Eduardo

On 7/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

On Mon, Jul 17, 2006 at 03:03:09PM -0400, S Scharf wrote:
>
> My recollection is that you cannot have the /boot directory
> on a Logical Volume. I created two RAID partitions, one
> for the /boot directory and one for the LVM for everything
> else.

My experience is that , using LILO, you can't have the files LILO needs
at boot time on an LVM on a RAID.  I don't know whether it's RAID or LVM
or both that cause the problem.  My /usr is an LVM on a RAID.  But lilo
seems to need some files on /usr at boot time.  I presume it can't find
their block addresses when I run
lilo -v
and therefore cannot set up to boot.



I run another server with /boot under LVM, I think that RAID isnt
supported, donno...


If I knew what these files were, I could try putting them on /boot
and symbolically linking to them.  Or is my whole analysis completely
wrong?  /boot is on a reiserfs.  Could that be the problem instead?


There's no problem to use reiserfs on /boot



grub boots OK.  The 32-bit grup even boots the 64-bit alternate boot
partition OK.  (i've got an AMD64) But I'd like to use lilo to set
up a boot floppy -- just in case.

-- hendrik



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




Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread Eduardo

So, I'm stuck here... look what I did:

I have 2 sata hd, the sda is 160Gb and sdb is 80 Gb.

First I create 1 partition in both HD's using 200 mb, to set as /boot
for LILO. This is the md0.
Then I create other partition in both HD's using the left space, and
create the md1 device. With 79.8 Gb.

Then I make md0 bootable and set to use ReiserFs mounted on /boot.
And I set the md1 to be a physical volume to LVM, and I create my VG
and LV's as I wish. Without problem.

After all this, the installer starts to install the base system, and
when the LILO prompts to choose where I want to install it, it gives
me the options:

/dev/md0 (Master Boot Record)
/dev/md0 Partition ... I dont remember very well what was there...but
it something like this.
Advanced (Experts Only)

Then I choose the second option cause seems what I want...somethink
like a boot partition on /dev/md0 ... and then LILO tells me that the
partition isn't active (but I made it bootable) and asks me if I want
to make it active, I choose YES but it returns me an error.
Saying that cannot do that.


Does anybody knows what should I do?

Thanks in advance!









On 7/17/06, S Scharf <[EMAIL PROTECTED]> wrote:




On 7/17/06, Eduardo <[EMAIL PROTECTED]> wrote:
> But the /boot will be under RAID, right?
>
>

Yes. You create /dev/md0 for /boot and /dev/md1 for the LVM. See
http://www.tldp.org/HOWTO/Software-RAID-HOWTO-11.html for
a similiar setup




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




USB serial adapters

2006-07-17 Thread Digby Tarvin
I have just tried connecting a USB serial adapter to my Debian Etch
system, and happily it seems to have been recognised and worked right
out of the box

But these things seem to come with very little documentation, and what
I havn't yet discovered how to interrogate it to find out what
baud rates, formats or other stty options it supports (other than
using trial and error)?

Anyone know if this information can be found?

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: Installing Debian with Raid and LVM , help

2006-07-17 Thread hendrik
On Mon, Jul 17, 2006 at 07:43:59PM -0300, Eduardo wrote:
> On 7/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >On Mon, Jul 17, 2006 at 03:03:09PM -0400, S Scharf wrote:
> >>
> >> My recollection is that you cannot have the /boot directory
> >> on a Logical Volume. I created two RAID partitions, one
> >> for the /boot directory and one for the LVM for everything
> >> else.
> >
> >My experience is that , using LILO, you can't have the files LILO needs
> >at boot time on an LVM on a RAID.  I don't know whether it's RAID or LVM
> >or both that cause the problem.  My /usr is an LVM on a RAID.  But lilo
> >seems to need some files on /usr at boot time.  I presume it can't find
> >their block addresses when I run
> >lilo -v
> >and therefore cannot set up to boot.
> >
> 
> I run another server with /boot under LVM, I think that RAID isnt
> supported, donno...

It probably is RAID that lilo doesn't support.

> 
> >If I knew what these files were, I could try putting them on /boot
> >and symbolically linking to them.  Or is my whole analysis completely
> >wrong?  /boot is on a reiserfs.  Could that be the problem instead?
> 
> There's no problem to use reiserfs on /boot

Good.

> 
> >
> >grub boots OK.  The 32-bit grup even boots the 64-bit alternate boot
> >partition OK.  (i've got an AMD64) But I'd like to use lilo to set
> >up a boot floppy -- just in case.

Now if I only knew what files lilo is trying to find on /usr ...

-- hendrik


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



Re: RAID, mdadm shift dev point

2006-07-17 Thread hendrik
On Tue, Jul 18, 2006 at 12:42:50AM +0200, Andrea Ganduglia wrote:
> On 7/17/06, S Scharf <[EMAIL PROTECTED]> wrote:
> 
> >I imagine that it should be possibe to write a set of udev rules to fix the
> >mount point for each
> >drive.
> 
> I imagine too, but how?

I seem to remember that just this point was sicussed on debian-user in 
the past month or two -- something oabout specifying the volume label
or other kind of unique colume ID in the udev rules.

-- hendrik


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



Digital Camera Flash Memory won't Mount

2006-07-17 Thread Mike McCarty

My girlfriend has a Sony Mavica MVC FD200 with Flash Memory
cards. The card reader is a Dazzle USB card reader. It mounts
just fine with Windows XP, but does not mount with Debian.

Googling around produced simply reports of problems reading
these things at all. One recommended using Belkin, but another
recommended against Belkin, for example.

I found more than one "How To", but thjey were dated ca.2001,
and seemed to be more how to mount *any* USB device, rather
than specifically how to use cameras, and was more about how
to install the USB support modules. This machine mounts an
external USB hard drive with no problems.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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




Re: Digital Camera Flash Memory won't Mount

2006-07-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike McCarty wrote:
> My girlfriend has a Sony Mavica MVC FD200 with Flash Memory
> cards. The card reader is a Dazzle USB card reader. It mounts
> just fine with Windows XP, but does not mount with Debian.
> 
> Googling around produced simply reports of problems reading
> these things at all. One recommended using Belkin, but another
> recommended against Belkin, for example.
> 
> I found more than one "How To", but thjey were dated ca.2001,
> and seemed to be more how to mount *any* USB device, rather
> than specifically how to use cameras, and was more about how
> to install the USB support modules. This machine mounts an
> external USB hard drive with no problems.

"Flash Memory" is too ambiguous.  SD, MMC, CF, or (probably, since
this is Sony) Memory Stick?

The 4-1 flash card reader that comes with my Antec Aria case works
starting with Etch kernel 2.6.8, and the generic USB multi-function
reader that I bought for $20 has worked since kernel 2.6.1.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvEZaS9HxQb37XmcRApszAKCSiSX0Axl660HkR2+81CIal75cGACfdZip
F6kjP26K5WrWabWCm0csP0s=
=WGiW
-END PGP SIGNATURE-


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



resizing /var

2006-07-17 Thread Rick Pasotto
I have /var as a logical volume and have expanded it. Now I need to run
resize2fs to actually use the extra space. In order to run resize2fs
/var needs to be unmounted but practically everything uses /var so I
would need to stop pretty much all services.

What is the best way to handle this? Should I temporarily add a script
to one of the /etc/rc?.d directories and then reboot? 

-- 
"The means of defense against foreign danger historically have become
 the instruments of tyranny at home." -- James Madison  
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


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



Re: kernel 2.6.17 and Realtime-lsm-source

2006-07-17 Thread John O'Hagan
On Monday 17 July 2006 21:19, Chris Bannister wrote:
> On Thu, Jul 13, 2006 at 11:15:24PM +1000, John O'Hagan wrote:
[...]
> >
> > One little quirk I've noticed on my system is that a freshly-built
> > realtime module won't load at first until I reboot. It's fine after that.
>
> Maybe a dpkg-reconfigure  instead would save a reboot.
> Or a depmod -a
>
Depmod doesn't seem to work in this case; but I'll try dpkg-reconfigure next 
time.

Thanks,

John


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



xorg: Ctrl + Alt + F7 does'nt bring me back to WindowMaker

2006-07-17 Thread CN Liou

Hi!

I don't know since when Ctrl+Alt+F7 does not bring me back to WindowMaker  
any more. Once I switch from WindowMaker to console by hitting Ctrl+Alt+F1  
~ F6, I lose my GUI forever and killing process xinit is my only  
"solution" to this problem for the time being.


Helps will be much appreciated.

Regards,

CN


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




Re: resizing /var

2006-07-17 Thread Richard Blumel

Rick Pasotto wrote:

I have /var as a logical volume and have expanded it. Now I need to run
resize2fs to actually use the extra space. In order to run resize2fs
/var needs to be unmounted but practically everything uses /var so I
would need to stop pretty much all services.

What is the best way to handle this? Should I temporarily add a script
to one of the /etc/rc?.d directories and then reboot? 

  

Just use a live cd like slax that has lvm support..

Good luck.


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




Re: resizing /var

2006-07-17 Thread Raquel Rice
On Mon, 17 Jul 2006 20:17:55 -0700
Richard Blumel <[EMAIL PROTECTED]> wrote:

> Rick Pasotto wrote:
> > I have /var as a logical volume and have expanded it. Now I need
> > to run resize2fs to actually use the extra space. In order to
> > run resize2fs /var needs to be unmounted but practically
> > everything uses /var so I would need to stop pretty much all
> > services.
> >
> > What is the best way to handle this? Should I temporarily add a
> > script to one of the /etc/rc?.d directories and then reboot? 
> >
> >   
> Just use a live cd like slax that has lvm support..
> 
> Good luck.
> 

And if one doesn't have a cd player on a server?

-- 
Raquel

Defense of Marriage? It's like the old V-8 commercial. As though if
this act didn't pass, heterosexual men all over the country would
say, [smacking head] 'I could have married a guy!'
  --Barney Frank


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



Re: Sequential background tasks

2006-07-17 Thread T
On Mon, 17 Jul 2006 15:54:53 -0500, Ron Johnson wrote:

>>> does this mean you need to start task-a, wait a little and then start
>>> task b to run concurrently with task-a?
>> 
>> Exactly. [...]
>> 
>> It sound a bit confusion but the bottom line is, yes, I need to do
>> exactly what you've described.
> 
> Then how about:
> 
> {task-a &} && sleep 5 && {task-b &}

thanks a lot Ron. It definately seems promising. I'll give it a try. It'll
take a while to proof though 

thanks again





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



Re: xorg: Ctrl + Alt + F7 does'nt bring me back to WindowMaker

2006-07-17 Thread Patrick Wiseman
On 7/17/06, CN Liou <[EMAIL PROTECTED]> wrote:
Hi!I don't know since when Ctrl+Alt+F7 does not bring me back to WindowMakerany more. Once I switch from WindowMaker to console by hitting Ctrl+Alt+F1~ F6, I lose my GUI forever and killing process xinit is my only
"solution" to this problem for the time being.Doesn't Alt-F7 (no Ctl) do it?  It's only from within X that Ctl is required to switch consoles in my experience.Patrick


Re: xorg: Ctrl + Alt + F7 does'nt bring me back to WindowMaker

2006-07-17 Thread Michael Marsh

On 7/17/06, CN Liou <[EMAIL PROTECTED]> wrote:

I don't know since when Ctrl+Alt+F7 does not bring me back to WindowMaker
any more. Once I switch from WindowMaker to console by hitting Ctrl+Alt+F1
~ F6, I lose my GUI forever and killing process xinit is my only
"solution" to this problem for the time being.


I know Bastille will log to 7, moving X to a higher vt.  Try running
"fgconsole" to find out which tty X is using.  It might be 8 or 9.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com


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




Re: Question about variably depending packages

2006-07-17 Thread Kevin Mark
On Mon, Jul 17, 2006 at 05:10:10PM -0400, Jerry DuVal wrote:
> Can a package have a variable depends in the control file?  
> 

Hi Jerry,
I would suggest that you post this to the debian-mentors list as they
would know alot more than the average debian-user.
cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |


signature.asc
Description: Digital signature


xorg: Ctrl+Alt+F7 doesn't bring back WindowMaker

2006-07-17 Thread CN Liou

Hi!

I don't know since when Ctrl+Alt+F7 does not bring me back to WindowMaker  
any more. Once I switch from WindowMaker to console by hitting Ctrl+Alt+F1  
~ F6, I lose my GUI forever and killing process xinit is my only  
"solution" to this problem.


Helps will be much appreciated.

Regards,

CN


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




Re: CD writer wear out?

2006-07-17 Thread Willie Wonka
Art Edwards wrote:
> I have had several CD burners die. They read just fine, but they stop
> writing after a very finite number (say tens) of CD's. My hardware vendor
> says that this is rare. Has anyone else had this experience? Is there
> something I should be doing?

You must be joking!
You're "hardware vendor" is playing games with you... The *only* thing even
remotely similar occurs from Flashing the Firmware -- Are you  guilty ??

Regards

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: resizing /var

2006-07-17 Thread Gilles Mocellin
Le mardi 18 juillet 2006 04:46, Rick Pasotto a écrit :
> I have /var as a logical volume and have expanded it. Now I need to run
> resize2fs to actually use the extra space. In order to run resize2fs
> /var needs to be unmounted but practically everything uses /var so I
> would need to stop pretty much all services.
>
> What is the best way to handle this? Should I temporarily add a script
> to one of the /etc/rc?.d directories and then reboot?

It seems that online resizing is supported :

[EMAIL PROTECTED]:~$ aptitude search ~donline~dresize~dext2
p   ext2resize - an ext2 filesystem 
resizer

Paquet : ext2resize
État: non installé
Version : 1.1.19-7
Priorité : supplémentaire
Section : admin
Responsable : Petter Reinholdtsen <[EMAIL PROTECTED]>
Taille décompressée : 377k
Dépend: libc6 (>= 2.3.6-6)
Recommande: e2fsprogs (>= 1.36rc1-1)
Description : an ext2 filesystem resizer
 ext2resize resizes ext2 and ext3 filesystems. This is useful if you run out 
of space on one partition, or
 have too much free space on another.

 Online resizing is also supported, this allows to enlarge mounted filesystem.  
It is similar to the
 resize2fs program from e2fsprogs. Online resizing support was added to the 
linux kernel in version 2.6.10.

 Warning: Although the program is quite safe these days, if you do something 
wrong things will go wrong
 badly. Watch out when using programs like this.


pgpjlqTQIgVTn.pgp
Description: PGP signature


Re: xorg: Ctrl + Alt + F7 does'nt bring me back to WindowMaker

2006-07-17 Thread CN Liou

I know Bastille will log to 7, moving X to a higher vt.  Try running
"fgconsole" to find out which tty X is using.  It might be 8 or 9.


fgconsole reports 7.

Regards,

CN



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




Re: xorg: Ctrl + Alt + F7 does'nt bring me back to WindowMaker

2006-07-17 Thread Kent West
CN Liou wrote:
>> I know Bastille will log to 7, moving X to a higher vt.  Try running
>> "fgconsole" to find out which tty X is using.  It might be 8 or 9.
>
> fgconsole reports 7.

I had a similar (but not exact) problem last week; turns out my /var
partition was full.

-- 
Kent


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



need help logging into sarge for i386

2006-07-17 Thread mike williams
OS username:mike  pass:1     when i try to type in the pass,nothing goes into the space,but when i type in the name,it works. how can i fix this or take out the whole password bit

Re: xorg: Ctrl + Alt + F7 does'nt bring me back to WindowMaker

2006-07-17 Thread CN Liou

Doesn't Alt-F7 (no Ctl) do it?


It doesn't.

Regards,

CN


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




Re: need help logging into sarge for i386

2006-07-17 Thread Kent West
mike williams wrote:
> OS username:mike
> pass:1
>  
> when i try to type in the pass,nothing goes into the space,but when i
> type in the name,it works. how can i fix this or take out the whole
> password bit

When you type in the password, you don't see any feedback; this is by
design. It's supposed to work that way. Once you've typed in the correct
password blindly and press , you should be in.

-- 
Kent


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



Re: need help logging into sarge for i386

2006-07-17 Thread Mihira Fernando

mike williams wrote:

OS username:mike
  pass:1
   
  when i try to type in the pass,nothing goes into the space,but when i type in the name,it works. how can i fix this or take out the whole password bit


Unless I'm mistaken, it doesnt show anything when you type the password 
in command prompt.

After typing the password, just press enter.



--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.

Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers 
has been approved.



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