FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-26-2012, 09:50 AM
Sian Mountbatten
 
Default Backup backup backup -- sound problem SOLVED using a backup

I was playing a music track while using XBMC when suddenly the sound
stopped. I tried everything I could to restore sound. None of my
multimedia programs produced sound. Even speaker-test produced nothing.


I tried rebooting, purge xbmc from the system: nothing.

Well, this morning, I unpacked my latest backup of my directory tree
into /var/tmp and issued the command

diff -q -u -r /home/sian /var/tmp/home/sian >/tmp/sian.diff
The command ran for a few seconds. Looking at /tmp/sian.diff showed no
obvious reason why I no longer had sound.


So, I logged out of KDE4 Plasma Desktop, keyed Ctrl-Alt-F1 and, at the
VT, logged in as root. Then I issued the commands

init 3 # that stopped kdm and X
rm -rf /home/sian # deleted all my files
rm -rf /var/tmp/home # deleted the files I had put into /var/tmp
tar -xjf /opt/cdrw/bd21319-04-25/Phoenicia.sian.tar.bz2 --directory /
# That tar command extracted all the files from the backup and put them
# into their proper places (each file was preceded by home/sian because
# tar removes the initial /

I then did the usual sid upgrade commands:
apt-get update
apt-get dist-upgrade
reboot
After the reboot, I logged in and ran speaker-test:
speaker-test -tsine -c2
Sound from both speakers!
played some music using Deadbeef (Audio player)

So there you are: a backup saved my bacon.
--
Sian Mountbatten
ex-Algol 68 specialist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: jnb5pf$46j$1@speranza.aioe.org">http://lists.debian.org/jnb5pf$46j$1@speranza.aioe.org
 
Old 04-26-2012, 02:54 PM
Indulekha
 
Default Backup backup backup -- sound problem SOLVED using a backup

Sian Mountbatten <poenikatu@fastmail.co.uk> wrote:
> I was playing a music track while using XBMC when suddenly the sound
> stopped. I tried everything I could to restore sound. None of my
> multimedia programs produced sound. Even speaker-test produced nothing.
>
> I tried rebooting, purge xbmc from the system: nothing.
>
> Well, this morning, I unpacked my latest backup of my directory tree
> into /var/tmp and issued the command
> diff -q -u -r /home/sian /var/tmp/home/sian >/tmp/sian.diff
> The command ran for a few seconds. Looking at /tmp/sian.diff showed no
> obvious reason why I no longer had sound.
>
> So, I logged out of KDE4 Plasma Desktop, keyed Ctrl-Alt-F1 and, at the
> VT, logged in as root. Then I issued the commands
> init 3 # that stopped kdm and X
> rm -rf /home/sian # deleted all my files
> rm -rf /var/tmp/home # deleted the files I had put into /var/tmp
> tar -xjf /opt/cdrw/bd21319-04-25/Phoenicia.sian.tar.bz2 --directory /
> # That tar command extracted all the files from the backup and put them
> # into their proper places (each file was preceded by home/sian because
> # tar removes the initial /
> I then did the usual sid upgrade commands:
> apt-get update
> apt-get dist-upgrade
> reboot
> After the reboot, I logged in and ran speaker-test:
> speaker-test -tsine -c2
> Sound from both speakers!
> played some music using Deadbeef (Audio player)
>
> So there you are: a backup saved my bacon.
>

Without knowing the cause of the original problem one
cannot really call it "solved" though...
Or am I missing something?

--
❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120426145447.GA12153@radhesyama">http://lists.debian.org/20120426145447.GA12153@radhesyama
 
Old 04-26-2012, 03:24 PM
keith
 
Default Backup backup backup -- sound problem SOLVED using a backup

Indulekha wrote:

Without knowing the cause of the original problem one
cannot really call it "solved" though...
Or am I missing something?
I think I remember him saying he had 'been messing around' before losing
his sound; so for him the problem is solved, i.e. he has his system back
where it was, before he broke it.



--
Sent from Free Open Source Software
Debian GNU/Linux


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4F9968B0.90208@gmail.com">http://lists.debian.org/4F9968B0.90208@gmail.com
 
Old 04-26-2012, 07:35 PM
Sian Mountbatten
 
Default Backup backup backup -- sound problem SOLVED using a backup

On 26/04/12 16:10, Indulekha wrote:

Sian Mountbatten<poenikatu@fastmail.co.uk> wrote:

Without knowing the cause of the original problem one
cannot really call it "solved" though...
Or am I missing something?

I was doing something with xbmc (just trying things out), but why it
muted sound is beyond me. Because I'm willing to use DeadBeef for
playing music and Kaffeine for Digital TV and DVDs, I don't really need
xbmc. So I'll steer clear of it.


--
Sian Mountbatten
ex-Algol 68 specialist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: jnc816$6ag$1@speranza.aioe.org">http://lists.debian.org/jnc816$6ag$1@speranza.aioe.org
 
Old 04-28-2012, 01:54 AM
Chris Bannister
 
Default Backup backup backup -- sound problem SOLVED using a backup

On Thu, Apr 26, 2012 at 10:50:40AM +0100, Sian Mountbatten wrote:
> I then did the usual sid upgrade commands:
> apt-get update
> apt-get dist-upgrade
> reboot
> After the reboot, I logged in and ran speaker-test:
> speaker-test -tsine -c2
> Sound from both speakers!
> played some music using Deadbeef (Audio player)
>
> So there you are: a backup saved my bacon.

It could easily have been the "apt-get update" followed by the "apt-get
dist-upgrade" which solved it?

Did you try "speaker-test -tsine -c2" **BEFORE** upgrading but **AFTER**
restoring the backup?

--
"Religion is excellent stuff for keeping common people quiet."
-- Napoleon Bonaparte


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120428015427.GC9759@tal">http://lists.debian.org/20120428015427.GC9759@tal
 
Old 04-28-2012, 02:50 AM
Sian Mountbatten
 
Default Backup backup backup -- sound problem SOLVED using a backup

On 28/04/12 03:10, Chris Bannister wrote:

On Thu, Apr 26, 2012 at 10:50:40AM +0100, Sian Mountbatten wrote:

I then did the usual sid upgrade commands:
apt-get update
apt-get dist-upgrade
reboot
After the reboot, I logged in and ran speaker-test:
speaker-test -tsine -c2
Sound from both speakers!
played some music using Deadbeef (Audio player)

So there you are: a backup saved my bacon.


It could easily have been the "apt-get update" followed by the "apt-get
dist-upgrade" which solved it?

Did you try "speaker-test -tsine -c2" **BEFORE** upgrading but **AFTER**
restoring the backup?


Yes.

--
Sian Mountbatten
ex-Algol 68 specialist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: jnflth$d7h$1@speranza.aioe.org">http://lists.debian.org/jnflth$d7h$1@speranza.aioe.org
 

Thread Tools




All times are GMT. The time now is 07:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org