Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread Mick
On Saturday 19 September 2009, meino.cra...@gmx.de wrote:
  cleaner shutdown.  This is taken from a email that was sent to me during
  that horrible xorg-server and hal upgrade.
 
   Hold down Atl, hold down SysRq, press each of the keys in turn. The
   usual full sequence is R-E-I-S-U-B Reboot Even If System Utterly
   Broken By ${DEITY} - this tagline picker is spooky at times :-O
   -- Neil Bothwick
 
  I tried this once when I was unable to get my keyboard to respond to
  anything else.  I made it through the first three or four and was
  returned to a console with a working keyboard.  Since you are shutting
  down, you may want to go through them all to be safe.  I think the last
  one does a reboot.
 
  Hope that helps.
 
  Dale
 
  :-) :-)

 Hi Dale,

 thanks a lot for your help!!!  :)

 This will help to bring donw the machine in an more
 cleaner way as simply pressing the power switch ;-)

 But:
 How can I figure out, what hangs the shutdown process itsself?

Last time I came across a problem like this I had forgotten to select the 
right chipset under Graphics support/AGP Support/ in the kernel.  So I 
suggest you revisit your kernel and xorg drivers setups for your card.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] hald failed to start

2009-09-19 Thread felix
Bummer.  I upgraded X and followed all the steps, it did come up, but
hald won't start, so I have to ssh in and kill X to get my screen back
even as a tty.  Seems a shame to go thru all that X upgrade stuff and
have something else fail.  Here are the versions:

  sys-apps/hal-0.5.13-r2
  x11-base/xorg-server-1.6.3.901-r2

This is the only error message in /var/log/messages:

  Sep 19 02:32:36 crowfix /etc/init.d/hald[4485]: ERROR: hald failed to start

Nothing I can see in dmesg.  The X log is pretty unhelpful:

  (EE) config/hal: couldn't initialise context: unknown error (null)

This is a ~amd64 system.  It fails the same on both 2.6.30-r6 and
2.6.31.

I guess what I would really like is some way to get more info on why
hald won't start.  I ran it manually with --verbose=yes --use-syslog
and got 8699 lines of syslog, only 9 of which had error in them.  7
of those were for lid, battery, etc -- laptop stuff.  Only 2 looked
like real errors:

  Sep 19 02:46:45 crowfix hald[5888]: 02:46:45.936 [E] hald_runner.c:671: Error 
running 'hald-addon-storage': org.freedesktop.DBus.Error.Disconnected: 
Connection was disconnected before a reply was received
  Sep 19 02:46:45 crowfix hald[5888]: 02:46:45.944 [E] hald_runner.c:671: Error 
running 'hald-addon-hid-ups': org.freedesktop.DBus.Error.Disconnected: 
Connection is closed

Does this mean anything to somebody?  Is there a better way to get
more useful info from hald?  Did I forget to read some update notice?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread Pupino
2009/9/19 Mick michaelkintz...@gmail.com:
 On Saturday 19 September 2009, meino.cra...@gmx.de wrote:
  cleaner shutdown.  This is taken from a email that was sent to me during
  that horrible xorg-server and hal upgrade.
 
   Hold down Atl, hold down SysRq, press each of the keys in turn. The
   usual full sequence is R-E-I-S-U-B Reboot Even If System Utterly
   Broken By ${DEITY} - this tagline picker is spooky at times :-O
   -- Neil Bothwick
 
  I tried this once when I was unable to get my keyboard to respond to
  anything else.  I made it through the first three or four and was
  returned to a console with a working keyboard.  Since you are shutting
  down, you may want to go through them all to be safe.  I think the last
  one does a reboot.
 
  Hope that helps.
 
  Dale
 
  :-) :-)

 Hi Dale,

 thanks a lot for your help!!!  :)

 This will help to bring donw the machine in an more
 cleaner way as simply pressing the power switch ;-)

 But:
 How can I figure out, what hangs the shutdown process itsself?

 Last time I came across a problem like this I had forgotten to select the
 right chipset under Graphics support/AGP Support/ in the kernel.  So I
 suggest you revisit your kernel and xorg drivers setups for your card.
 --
 Regards,
 Mick


Hi,
I got a similar problem too once... and what was making the system
hang wasn't the last shutting down thing listed, but the one just
after (so i don't think it's net.lo fault in your case). So i suggest
to have a look at which services are started at boot, but aren't
shutted down. Turning off parallel boot could help you find out the
responsible service.
In my case it was a misconfiguration of the alsa module, which
shouldn't be unloaded at shotdown time...
HTH
Davide



Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
 Hi,
 I got a similar problem too once... and what was making the system
 hang wasn't the last shutting down thing listed, but the one just
 after (so i don't think it's net.lo fault in your case). So i suggest
 to have a look at which services are started at boot, but aren't
 shutted down. Turning off parallel boot could help you find out the
 responsible service.
 In my case it was a misconfiguration of the alsa module, which
 shouldn't be unloaded at shotdown time...
 HTH
 Davide
 
 Hi Davide,

 Is there any way to figure out, in which sequence what is shut down 
 *without* actually shutting down ther system?

 Have a nice weekend! :)
 Best regards,
 mcc




-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread pk
meino.cra...@gmx.de wrote:

  Is there any way to figure out, in which sequence what is shut down 
  *without* actually shutting down ther system?

I'm sure there's a simple way of finding that out but I was wondering if
this might be your problem?:

http://bugs.gentoo.org/253535

MfG

Peter K



Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread Frank Steinmetzger
Am Samstag, 19. September 2009 schrieb meino.cra...@gmx.de:
 Hi,

  I am updateing my Gentoo on a dialy basis.
  Since two days the shutdown process of the systems
  hangs around Bringing down net.lo.
  Booting the PC is not a problem -- except the
  replaying transactions (resierfs).
 [...]
  How can I proceed?
  What is suspicous for hanging the shutdown process?
  Every help is very welcome !  :)

I also thought of the alsa problem pk mentioned. But it might also be another 
kernel module. Search your /var/log/messages or dmesg for kernel oopses.
-- 
Gruß | Greetings | Qapla'
Contrariwise, if it was so, it might be; and if it were so, it would be;
but as it isn’t, it ain’t.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
pk pete...@coolmail.se [09-09-19 13:49]:
 meino.cra...@gmx.de wrote:
 
   Is there any way to figure out, in which sequence what is shut down 
   *without* actually shutting down ther system?
 
 I'm sure there's a simple way of finding that out but I was wondering if
 this might be your problem?:
 
 http://bugs.gentoo.org/253535
 
 MfG
 
 Peter K

Hi Peter,

I scanned the bugzilla entry...as far as I understood unloading of
snd_hda_intel hangs due to an unclear dependency.
I am running my Gentoo on an Asus AV8 board with Via chipset and
AMD CPU, so no intel. 
My modules are:

Module  Size  Used by
usb_storage62088  0 
snd_pcm_oss37536  0 
snd_usb_audio  81280  0 
snd_usb_lib15132  1 snd_usb_audio
snd_hwdep   6880  1 snd_usb_audio
gspca_ov534 7740  0 
gspca_main 21916  1 gspca_ov534
dvb_bt8xx  12384  0 
mt352   5984  1 dvb_bt8xx
dst_ca 12348  1 dvb_bt8xx
dst26020  2 dvb_bt8xx,dst_ca
dvb_core   83108  3 dvb_bt8xx,dst_ca,dst
bt878   9320  2 dvb_bt8xx,dst
nvidia   9580516  36 
bttv  119252  2 dvb_bt8xx,bt878
ir_common  42464  1 bttv
i2c_algo_bit5376  1 bttv
v4l2_common15132  1 bttv
videodev   37824  3 gspca_main,bttv,v4l2_common
v4l1_compat13344  1 videodev
videobuf_dma_sg10976  1 bttv
videobuf_core  15584  2 bttv,videobuf_dma_sg
uhci_hcd   30220  0 
i2c_viapro  7344  0 
k8temp  4188  0 
hwmon   2392  1 k8temp
btcx_risc   4132  1 bttv
pcspkr  2300  0 
ehci_hcd   48496  0 
tveeprom   11744  1 bttv

Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.
All this works for a long long time...and it bits me about three days
ago. I did not update alsa*, since I use the kernels alsa-stuff and
the according lib/utils/etc. of the portage tree.

Fingers crossed...

Thanks for your help !:)

Have a nice weekend!
Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
 I also thought of the alsa problem pk mentioned. But it might also be another 
 kernel module. Search your /var/log/messages or dmesg for kernel oopses.
 -- 
 Gruß | Greetings | Qapla'
 Contrariwise, if it was so, it might be; and if it were so, it would be;
 but as it isn’t, it ain’t.

I scanned dmesg output and the log files before and found nothing. May
those parts were victim of the replay transaction while rebooting
the system afterwards...





-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread covici
Mick michaelkintz...@gmail.com wrote:

 On Saturday 19 September 2009, meino.cra...@gmx.de wrote:
   cleaner shutdown.  This is taken from a email that was sent to me during
   that horrible xorg-server and hal upgrade.
  
Hold down Atl, hold down SysRq, press each of the keys in turn. The
usual full sequence is R-E-I-S-U-B Reboot Even If System Utterly
Broken By ${DEITY} - this tagline picker is spooky at times :-O
-- Neil Bothwick
  
   I tried this once when I was unable to get my keyboard to respond to
   anything else.  I made it through the first three or four and was
   returned to a console with a working keyboard.  Since you are shutting
   down, you may want to go through them all to be safe.  I think the last
   one does a reboot.
  
   Hope that helps.
  
   Dale
  
   :-) :-)
 
  Hi Dale,
 
  thanks a lot for your help!!!  :)
 
  This will help to bring donw the machine in an more
  cleaner way as simply pressing the power switch ;-)
 
  But:
  How can I figure out, what hangs the shutdown process itsself?
 
 Last time I came across a problem like this I had forgotten to select the 
 right chipset under Graphics support/AGP Support/ in the kernel.  So I 
 suggest you revisit your kernel and xorg drivers setups for your card.
 -- 
Hi.  I have a somewhat similar problem, when I shutdown it goes all the
way to the end, but instead of shutting down, it says
init: nomore processes left in this runlevel.  This is fine if I am
here, but from a remote location it would not work, so how can I figure
out why this is happening?  I think this started when I went to
baselayout 2, but not certain of that.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread Pupino
2009/9/19  meino.cra...@gmx.de:
 Hi,
 I got a similar problem too once... and what was making the system
 hang wasn't the last shutting down thing listed, but the one just
 after (so i don't think it's net.lo fault in your case). So i suggest
 to have a look at which services are started at boot, but aren't
 shutted down. Turning off parallel boot could help you find out the
 responsible service.
 In my case it was a misconfiguration of the alsa module, which
 shouldn't be unloaded at shotdown time...
 HTH
 Davide

  Hi Davide,



  Is there any way to figure out, in which sequence what is shut down
  *without* actually shutting down ther system?
I'm not really sure about this but i think it's just the booting
sequence reversed...

Davide



[gentoo-user] Re: mplayer troubles since update world

2009-09-19 Thread Harry Putnam
Kelly Hirai ke...@met.fsu.edu writes:

 Harry Putnam wrote:
 I didn't notice that mplayer wasn't working in firefox right away but
 I think it may have started with a recent update.
   (All updated packages are listed at the bottom)

[...]

 i had trouble with console mplayer after the last update as mplayer was
 built against another version of /usr/lib/libx264.so revdep-rebuild
 fixed that.

Thanks... 
revdep-rebuild here, turns up several pkgs needing rebuild but all are
related to a jpeg library.   And, no mplayer package came up on the
list of pkgs to rebuild.

I'll see in a while if it helped any.  But it seems unlikely since
mplayer didn't turn up on the list.  Still, if its using the wrong
jpeg library... maybe.





[gentoo-user] Re: hald failed to start

2009-09-19 Thread Jonathan Callen (ABCD)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

fe...@crowfix.com wrote:
 Bummer.  I upgraded X and followed all the steps, it did come up, but
 hald won't start, so I have to ssh in and kill X to get my screen back
 even as a tty.  Seems a shame to go thru all that X upgrade stuff and
 have something else fail.  Here are the versions:
 
   sys-apps/hal-0.5.13-r2
   x11-base/xorg-server-1.6.3.901-r2
 
 This is the only error message in /var/log/messages:
 
   Sep 19 02:32:36 crowfix /etc/init.d/hald[4485]: ERROR: hald failed to start
 
 Nothing I can see in dmesg.  The X log is pretty unhelpful:
 
   (EE) config/hal: couldn't initialise context: unknown error (null)
 
 This is a ~amd64 system.  It fails the same on both 2.6.30-r6 and
 2.6.31.
 
 I guess what I would really like is some way to get more info on why
 hald won't start.  I ran it manually with --verbose=yes --use-syslog
 and got 8699 lines of syslog, only 9 of which had error in them.  7
 of those were for lid, battery, etc -- laptop stuff.  Only 2 looked
 like real errors:
 
   Sep 19 02:46:45 crowfix hald[5888]: 02:46:45.936 [E] hald_runner.c:671: 
 Error running 'hald-addon-storage': org.freedesktop.DBus.Error.Disconnected: 
 Connection was disconnected before a reply was received
   Sep 19 02:46:45 crowfix hald[5888]: 02:46:45.944 [E] hald_runner.c:671: 
 Error running 'hald-addon-hid-ups': org.freedesktop.DBus.Error.Disconnected: 
 Connection is closed
 
 Does this mean anything to somebody?  Is there a better way to get
 more useful info from hald?  Did I forget to read some update notice?
 

While I don't have quite enough information to be sure, it looks like a
problem with dbus. Unfortunately, I'm not sure how to determine if this
is the case, or what should be done if that *is* the case.

- --
Jonathan Callen (ABCD)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkq09QcACgkQOypDUo0oQOr4mgCgkOZGlBg4x3G0tXcnpt7LwVcy
g1sAnRqykMcPTyxvnUyohjn3mPzBL2po
=MCaV
-END PGP SIGNATURE-



Re: [gentoo-user] Re: Iscan

2009-09-19 Thread Roger Cahn

 I googled for isane and found nothing, so I'm wondering if that's just
 a typo for 'iscan'.  I dunno, but it's easy to check if you have libusb
 installed.

Yes, I have libusb-0.1.12-r5

and my scanner is recognized:

lsusb
Bus 008 Device 004: ID 04b8:0116 Seiko Epson Corp.

Thank you for your help.
Roger




Re: [gentoo-user] Iscan-2

2009-09-19 Thread Roger Cahn

 It appears that you are not running a English version.  However, google
 did return this:
 
 http://www.google.com/search?hl=ensource=hpq=make%5B2%5D%3A+***+%5Blibimage_stream_la-imgstream.lo%5D+Erreur+1aq=foq=aqi=
 
 See if one of those links helps any.  Most of those are in your native
 language so you may be better to read the links than me.  ;-) 

Thank you Dale for your help.
I'll try to google what you showed me

cheers
Roger




Re: [gentoo-user] trying to track down broken dependency

2009-09-19 Thread Michael Higgins
On Fri, 18 Sep 2009 18:49:39 -0700
kashani kashani-l...@badapple.net wrote:

 Paul Hartman wrote:
  On Fri, Sep 18, 2009 at 5:40 PM, kashani
  kashani-l...@badapple.net wrote:
  kash...@www01 ~ $ emerge -pvt bugzilla
  These are the packages that would be merged, in reverse order:
  Calculating dependencies... done!
 
  emerge: there are no ebuilds to satisfy ~dev-lang/perl-5.10.1.
  (dependency required by perl-core/Module-Build-0.35 [ebuild])
  (dependency required by dev-perl/DateTime-TimeZone-0.98 [ebuild])
  (dependency required by www-apps/bugzilla-3.4.1-r1 [ebuild])
  (dependency required by bugzilla [argument])
 
 I don't see anything in man emerge that would help me track
  down the missing dependency. Is there any easy way to do this or
  do I have to track it down the Modeule-Build dependency tree which
  looks to be the culprit.
 
  kashani
  
  What version of bugzilla are you trying to emerge? That perl is
  newer than any I see in my portage. Are you using an overlay?
  www-apps/bugzilla-3.4.1-r1 seems to emerge fine and works with perl
  5.8 here.

Perl 5.8 is at end-of-life. 

Gentoo volunteers are *very* (PAINFULLY) slow in getting 5.10 into the
official tree. They unfortunately need all the help they can get, since
this is a major failure of Gentoo to keep up with the upstream
developers and (FWIW) other distros. This isn't news, BTW...

Please report the error on b.g.o., so the perl herd (or whoever is
really doing the work now) can fix the problem. Also, #gentoo-perl is
the only place to get any real help on these gentoo-perl issues...
(devolution to IRC chat being yet another systemic failure, IMO, but
that's the place the folks making these mistakes may communicate with
users).

Better yet, take the plunge and go on to install 5.10.1 from the
perl-experimental overlay (good luck with *that*) and report how you
fixed any issues you come across. It's only going to get to be a worse
mess unless everyone who is able picks up the slack for these guys. And
you will have to upgrade eventually anyway... so why not now?

My $.02, not terribly helpful though, I suppose. :(

Cheers,

-- Michael Higgins



Re: [gentoo-user] trying to track down broken dependency

2009-09-19 Thread Volker Armin Hemmann
On Samstag 19 September 2009, Michael Higgins wrote:

 
 Please report the error on b.g.o., so the perl herd (or whoever is
 really doing the work now) can fix the problem. Also, #gentoo-perl is
 the only place to get any real help on these gentoo-perl issues...
 (devolution to IRC chat being yet another systemic failure, IMO, but
 that's the place the folks making these mistakes may communicate with
 users).

the devolution are the forums - with irc and mailing lists being the original 
forms to find help.





[gentoo-user] audacious 2.1.0 - CD Play plugin excruciatingly slow

2009-09-19 Thread Denis
Fellow Penguins,

I must say I'm not exactly crazy about Audacious version 2 upgrade...
My gripes are about the CD Audio plugin only, but this is what I use
all the time, so it is somewhat of a nuisance.

1) The CD Audio plugin (cdda flag) takes a very long time to load and
would hang Audacious for something like 30 seconds before it finally
opens.

2) I have a problem unloading a CD from the playlist and then loading
a new CD.  Basically, the tracks and timing information from the
previous CD would remain and get re-loaded when I add a new CD, which
has completely different tracks and timing...

3) If you use the Play CD option, it's more consistent in clearing the
previous CD information and loading new one, but then I can't
intermingle it with the play list I already have made up, as that
makes a new playlist.

4) If you use the Add CD option, you can use that in your existing
play list, but the CD info just will not refresh when I want to unload
the CD and load in a new one!

Anyone experience these similar problems?  I don't remember
experiencing any of these problems with Audacious version 1 - that is
very robust, and I am thinking about downgrading to it.

Any way of fixing this, or is downgrading the only option?

Thanks,
Denis

P.S. System completely up to date with all latest portage updates,
running kernel 2.6.27-gentoo-r8, alsa-plugins-1.0.20,
alsa-utils-1.0.20-r5, alsa-lib-1.0.20-r1, audacious-2.1,
audacious-plugins-2.1-r1.



[gentoo-user] Re: trying to track down broken dependency

2009-09-19 Thread Torsten Veller
* Michael Higgins li...@evolone.org:
 Please report the error on b.g.o., so the perl herd (or whoever is
 really doing the work now) can fix the problem. Also, #gentoo-perl is
 the only place to get any real help on these gentoo-perl issues...
 (devolution to IRC chat being yet another systemic failure, IMO, but
 that's the place the folks making these mistakes may communicate with
 users).

This is nonsense, Michael.

https://bugs.gentoo.org/show_bug.cgi?id=280726
https://bugs.gentoo.org/show_bug.cgi?id=219889#c24
https://bugs.gentoo.org/show_bug.cgi?id=283795

I needed to add the perl-core packages for Module-Build and
Test-Harness, as well as the virtuals [to package.keywords] (#219889)

 My $.02, not terribly helpful though, I suppose. :(

No, it was not helpful :(



Re: [gentoo-user] trying to track down broken dependency

2009-09-19 Thread kashani

Michael Higgins wrote:
Perl 5.8 is at end-of-life. 


Gentoo volunteers are *very* (PAINFULLY) slow in getting 5.10 into the
official tree. They unfortunately need all the help they can get, since
this is a major failure of Gentoo to keep up with the upstream
developers and (FWIW) other distros. This isn't news, BTW...

Please report the error on b.g.o., so the perl herd (or whoever is
really doing the work now) can fix the problem. Also, #gentoo-perl is
the only place to get any real help on these gentoo-perl issues...
(devolution to IRC chat being yet another systemic failure, IMO, but
that's the place the folks making these mistakes may communicate with
users).

Better yet, take the plunge and go on to install 5.10.1 from the
perl-experimental overlay (good luck with *that*) and report how you
fixed any issues you come across. It's only going to get to be a worse
mess unless everyone who is able picks up the slack for these guys. And
you will have to upgrade eventually anyway... so why not now?

My $.02, not terribly helpful though, I suppose. :(


	FWIW I'm also running RT and it's 200 odd Perl module dependencies on 
the same machine. I can assure you that I have no interest in updating 
the whole stack to perl-5.10 and the QA nightmare that will require.


	I solved this the old fashioned way after a bit of coffee this morning. 
Still seems like Portage should be smart enough to tell about the 
missing dep if I asked it correctly.


1. created fake perl-5.10 ebuild which was really just renaming 
perl-5.8.8-r2 and commenting out any {$PN} patches so I didn't need to 
make a bunch of fake patch files in files/. This allowed portage to tell 
me what was requiring perl-5.10 instead of bombing out.


2. Figured out that while the virtual/perl packages weren't specifying 
perl 5.10 the actual perl-core were which is why it didn't make sense 
earlier.


3. Doctored up portage.mask to mask the errant virtuals
=virtual/perl-Digest-SHA-5.47
=virtual/perl-Test-Harness-3.17

Thought grumpy thoughts at developers who let packages into ~x86 with 
completely broken deps. Hard mask that crap next time.


4. Add the needed packages in portage.keywords and make it pretty and 
organized.


# bugzilla and deps for bugzilla-3.4.1-r1, added 20090919
www-apps/bugzilla
dev-perl/Daemon-Generic
dev-perl/DateTime-TimeZone
dev-perl/Data-ObjectDriver
dev-perl/File-Flock
dev-perl/TheSchwartz
perl-core/Module-Build
perl-core/Test-Harness
virtual/perl-Module-Build
virtual/perl-Test-Harness

And now I've got a fancy new bugzilla.

kashani



[gentoo-user] can't connect to shoutcast

2009-09-19 Thread Maxim Wexler
Hi group,

My connection times out whenever I try to get to shoutcast after
entering in the browser:

http://localhost:8000

I configured it accrording to the gentoo-wiki.

I notice when I run #/etc/init.d/shoutcast start, I get 'SHOUTCAST
starting' but that's it, no banner.

the log:
...
09/19/0...@13:23:38 [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
09/19/0...@13:23:38 [main] pid: 4614
09/19/0...@13:23:38 [main] loaded config from /etc/shoutcast/sc_serv.conf
09/19/0...@13:23:38 [main] initializing (usermax:10 portbase:8000)...
09/19/0...@13:23:38 [main] No ban file found (sc_serv.ban)
09/19/0...@13:23:38 [main] No rip file found (sc_serv.rip)
09/19/0...@13:23:38 [main] opening source socket
09/19/0...@13:23:38 [main] source thread starting
09/19/0...@13:23:38 [source] listening for connection on port 8001
09/19/0...@13:23:38 [main] opening client socket
09/19/0...@13:23:38 [main] Client Stream thread [0] starting
09/19/0...@13:23:38 [main] client main thread starting
09/19/0...@13:27:51 [main] SIGTERM; exiting!
09/19/0...@13:27:51 [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
09/19/0...@13:27:51 [main] pid: 4690
09/19/0...@13:27:51 [main] loaded config from /etc/shoutcast/sc_serv.conf
09/19/0...@13:27:51 [main] initializing (usermax:10 portbase:8000)...
09/19/0...@13:27:51 [main] No ban file found (sc_serv.ban)
09/19/0...@13:27:51 [main] No rip file found (sc_serv.rip)
09/19/0...@13:27:51 [main] opening source socket
09/19/0...@13:27:51 [main] source thread starting
09/19/0...@13:27:51 [source] listening for connection on port 8001
09/19/0...@13:27:51 [main] opening client socket
09/19/0...@13:27:51 [main] Client Stream thread [0] starting
09/19/0...@13:27:51 [main] client main thread starting

I fetched sc_trans_posix_040.tgz but haven't emerged it yet. I don't
really need it just to listen on my own unit do I?

Maxim



[gentoo-user] Re: mplayer troubles since update world

2009-09-19 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 i had trouble with console mplayer after the last update as mplayer was
 built against another version of /usr/lib/libx264.so revdep-rebuild
 fixed that.

 Thanks... 
 revdep-rebuild here, turns up several pkgs needing rebuild but all are
 related to a jpeg library.   And, no mplayer package came up on the
 list of pkgs to rebuild.

 I'll see in a while if it helped any.  But it seems unlikely since
 mplayer didn't turn up on the list.  Still, if its using the wrong
 jpeg library... maybe.

revdep-rebuild helped not at all in my case.
Now trying a rebuid of mplayer itself... 
emerge -vup mplayer YIKES... this is going to pull in a lot of
stuff (wrapped for mail)(Maybe I'll see improvement after this mess is
emerged): 

[ebuild U ] media-plugins/live-2009.09.04 [2009.07.28] 439 kB
[ebuild U ] x11-proto/xextproto-7.0.5 [7.0.4] 79 kB
[ebuild U ] media-libs/alsa-lib-1.0.21a [1.0.21] USE=python -alisp
-debug -doc ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol 790 kB
[ebuild N ] media-libs/libvorbis-1.2.3 USE=-doc 1,440 kB
[ebuild N ] dev-lang/nasm-2.07 USE=-doc 762 kB
[ebuild U ] x11-proto/xproto-7.0.15 [7.0.14] 156 kB
[ebuild N ] media-libs/x264-0.0.20090908 USE=threads -debug 2,664 kB
[ebuild N ] media-sound/lame-3.98.2-r2 USE=-debug -mmx -mp3rtp
-sndfile 1,297 kB
[ebuild U ] x11-proto/videoproto-2.3.0 [2.2.2] 54 kB
[ebuild U ] media-libs/fontconfig-2.7.3 [2.7.2] USE=-doc 1,507 kB
[ebuild U ] x11-proto/xcb-proto-1.5 [1.2] 88 kB
[ebuild N ] media-libs/libmp4v2-1.9.1 USE=-utils 423 kB
[ebuild N ] media-libs/faac-1.28-r1 663 kB
[ebuild N ] media-libs/xvid-1.2.2-r1 USE=-examples -pic 629 kB
[ebuild U ] x11-libs/libxcb-1.4-r1 [1.1.90.1] USE=-debug -doc
(-selinux) 299 kB
[ebuild N ] media-libs/flac-1.2.1-r3 USE=cxx -3dnow (-altivec) -debug
-doc -ogg -sse 1,971 kB
[ebuild U ] x11-libs/libX11-1.2.2 [1.1.5] USE=xcb* -debug -ipv6
1,833 kB
[ebuild N ] media-libs/libsndfile-1.0.20 USE=alsa -jack -minimal
-sqlite 906 kB
[ebuild  N] media-sound/twolame-0.3.12  472 kB
[ebuild U ] x11-libs/libXext-1.0.5 [1.0.4] USE=-debug 265 kB
[ebuild U ] media-video/mplayer-1.0_rc4_p20090919-r1
[1.0_rc2_p20090731-r1] USE=X a52 aac alsa ass cddb cdio dirac dts dv
dvd* dvdnav enca encode* faac faad gif iconv jpeg* live mmx mp2 mp3*
network opengl* osdmenu png* quicktime rar real rtc samba schroedinger
shm speex theora tremor truetype unicode vorbis* x264 xv xvid -3dnow
-3dnowext -aalib (-altivec) -bidi -bindist -bl -cdparanoia
-cpudetection -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3
-esd -fbcon -ftp -ggi -gmplayer -ipv6 -jack -joystick -ladspa -libcaca
-lirc -lzo -mad -md5sum -mmxext -mng -nas -nut -openal -opencore-amr
-oss -pnm -pulseaudio -pvr -radio -sdl -sse -sse2 -ssse3 -svga
-teletext -tga -v4l -v4l2 -vdpau -vidix -win32codecs* -xanim -xinerama
-xscreensaver -xvmc -zoran (-custom-cflags%) VIDEO_CARDS=mga tdfx
-nvidia -s3virge (-vesa%*) 14,779 kB




Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-19 Thread Mick
On Saturday 19 September 2009, meino.cra...@gmx.de wrote:

 Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
 and we will see what happens.
 All this works for a long long time...and it bits me about three days
 ago. I did not update alsa*, since I use the kernels alsa-stuff and
 the according lib/utils/etc. of the portage tree.

 Fingers crossed...

If that doesn't work, then exit your X session and Ctl+Alt+F1 will drop you to 
a console.  Run '/etc/init.d/xdm stop' (or gdm if you are running gnome) and 
then zap.  Then '/sbin/shutdown -h now' from the console.  If it hangs again 
the problem is not related to your video card kernel settings.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Icons on the xfce4 Desktop

2009-09-19 Thread dhk
I recently started using the xfce4 desktop with Gentoo and something
happened where the icons disappeared.  When I go to the Desktop folder I
can still see them there, the problem is I can get them to display again
or they are displayed but off the screen.  Any ideas?

Thanks,
dhk



[gentoo-user] Re: hald failed to start

2009-09-19 Thread walt

On 09/19/2009 03:03 AM, fe...@crowfix.com wrote:

Bummer.  I upgraded X and followed all the steps, it did come up, but
hald won't start, so I have to ssh in and kill X to get my screen back
even as a tty.  Seems a shame to go thru all that X upgrade stuff and
have something else fail.  Here are the versions:

   sys-apps/hal-0.5.13-r2
   x11-base/xorg-server-1.6.3.901-r2

This is the only error message in /var/log/messages:

   Sep 19 02:32:36 crowfix /etc/init.d/hald[4485]: ERROR: hald failed to start


The hald initscript says it needs dbus.  Is dbus running?  Is dbus in
your 'default' runlevel?




[gentoo-user] Where is mplayer?

2009-09-19 Thread Harry Putnam
The newest version of mplayer offered in todays sync is:
   media-video/mplayer-1.0_rc4_p20090919-r1

It cannot be found in any of around a dozen repos that emerge tries
with

   emerge -vu mplayer

Anyone know where it can be found.

By the way I did try downloading the sources from:
   http://www.mplayerhq.hu/design7/dload.html

Renaming the downloaded tarball to  file to 
  /usr/portage/distfiles/mplayer-1.0_rc4_p20090919-r1

emerge appears to ignore it completely but It must be running a md5 or
something. ... Anyway emerge just goes on and tries to find it quite a
few places.

Anyone know where this file can be had currently?
  




[gentoo-user] Address Label and Envelop Printing

2009-09-19 Thread James
Hello,


I need a program to print Address labels that come in 
on an 8 1/2 x 11 (letter) blank. The are pre-arrange
3 to a row. Googling just turned up this sunrise solution
for labelnation:


http://bugs.gentoo.org/176639


anybody else know of anything in portage?

some other way to effect label printing?


print of envelop through the HP laser print
would be an additional plus.


all suggestions are welcome.

James




[gentoo-user] Re: Where is mplayer?

2009-09-19 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 The newest version of mplayer offered in todays sync is:
media-video/mplayer-1.0_rc4_p20090919-r1

 It cannot be found in any of around a dozen repos that emerge tries
 with

emerge -vu mplayer

 Anyone know where it can be found.

 By the way I did try downloading the sources from:
http://www.mplayerhq.hu/design7/dload.html

 Renaming the downloaded tarball to  file to 
   /usr/portage/distfiles/mplayer-1.0_rc4_p20090919-r1

Sorry that rename above should have read:

`Renaming the downloaded tarball to 
/usr/portage/distfiles/mplayer-1.0_rc4_p20090919.tar.bz2'

Which is the exact name emerge output shows but it is just ignored




[gentoo-user] Re: Icons on the xfce4 Desktop

2009-09-19 Thread Harry Putnam
dhk dhk...@optonline.net writes:

 I recently started using the xfce4 desktop with Gentoo and something
 happened where the icons disappeared.  When I go to the Desktop folder I
 can still see them there, the problem is I can get them to display again
 or they are displayed but off the screen.  Any ideas?

 Thanks,
 dhk
 
I know Xfce4 has some problems with a new jpeg-7 library.  Not sure
what or how.   But check and see if jpeg-7 has been installed recently.




[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread walt

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop




[gentoo-user] Re: Where is mplayer?

2009-09-19 Thread Nikos Chantziaras

On 09/20/2009 12:48 AM, Harry Putnam wrote:

The newest version of mplayer offered in todays sync is:
media-video/mplayer-1.0_rc4_p20090919-r1

It cannot be found in any of around a dozen repos that emerge tries
with

emerge -vu mplayer

Anyone know where it can be found.


You will have to wait for the maintainer to upload it.  If you download 
a different tarball, you will have to re-digest the ebuild in your local 
overlay first.





[gentoo-user] USB drive dead? (Commands to check?)

2009-09-19 Thread Mark Knecht
Hi,
   I seem to have lost an external USB drive I've been using on my
MythTV backend server for video storage. What commands can I try to
get it to wake up or at least show me what's working and what isn't?
The drive shows under fdisk /dev/sda. I can see the large partition,
and it seems to be the right size, according to fdisk anyway, but I
cannot mount it using mount, and so far I cannot get e2fsck to do
anything. Both of these fail:


mount -t ext2 /dev/sda1 /video
mount -t ext3 /dev/sda1 /video

   I have power cycled the drive and I've rebooted the MacMini. Nothing changed.

Thanks in advance,
Mark

MacMini ~ # fdisk /dev/sda

The number of cylinders for this disk is set to 19929.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa9b5c6b5

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   19929   160079661   83  Linux

Command (m for help):



MacMini ~ # df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hda4 75890040  37169416  34865560  52% /
udev 10240   156 10084   2% /dev
shm 257396 0257396   0% /dev/shm
MacMini ~ # fsck -t ext3 /dev/sda
fsck 1.41.3 (12-Oct-2008)
e2fsck 1.41.3 (12-Oct-2008)
fsck.ext3: Superblock invalid, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

MacMini ~ # e2fsck -b 8193 /dev/sda
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

MacMini ~ # fsck -t ext3 /dev/sda1
fsck 1.41.3 (12-Oct-2008)
e2fsck 1.41.3 (12-Oct-2008)
fsck.ext3: Attempt to read block from filesystem resulted in short
read while trying to open /dev/sda1
Could this be a zero-length partition?
MacMini ~ # e2fsck -b 8193 /dev/sda1
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Bad magic number in super-block while trying to open /dev/sda1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

MacMini ~ # e2fsck -b 8193 /dev/sda
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

MacMini ~ #



[gentoo-user] Re: Iscan

2009-09-19 Thread walt

On 09/18/2009 12:34 PM, Roger Cahn wrote:


Calculating dependencies... done!
[ebuild   R   ] media-gfx/iscan-2.11.0
* Now you can remove -p (or --pretend) from arguments and re-run
revdep-rebuild.

Of course, revdep-rebuild iscan failes again!
Isn't anything to do about libsane-epkowa.so.1.0.15 ?


Sorry, I was being dense last night -- too much wine :o)

You haven't told us *how* building iscan fails.

I just tried building it and got this error:
!!! All ebuilds that could satisfy media-gfx/iscan have been masked.
!!! One of the following masked packages is required to complete your request:
- media-gfx/iscan-2.11.0 (masked by: ~x86 keyword)

Is that what you're seeing?

The Changelog is unclear about why the older (presumably functioning)
version was removed before the new version is marked stable, but that's
the way it is.

Add the line 'media-gfx/iscan ~x86' to your /etc/portage/package.keywords
file.  (If you don't have that file just make a new one.)

I don't have your scanner so I can't test that it will work, of course.






[gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Mark Knecht
On Sat, Sep 19, 2009 at 3:21 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   I seem to have lost an external USB drive I've been using on my
 MythTV backend server for video storage. What commands can I try to
 get it to wake up or at least show me what's working and what isn't?
 The drive shows under fdisk /dev/sda. I can see the large partition,
 and it seems to be the right size, according to fdisk anyway, but I
 cannot mount it using mount, and so far I cannot get e2fsck to do
 anything. Both of these fail:


 mount -t ext2 /dev/sda1 /video
 mount -t ext3 /dev/sda1 /video

   I have power cycled the drive and I've rebooted the MacMini. Nothing 
 changed.

 Thanks in advance,
 Mark

 MacMini ~ # fdisk /dev/sda

 The number of cylinders for this disk is set to 19929.
 There is nothing wrong with that, but this is larger than 1024,
 and could in certain setups cause problems with:
 1) software that runs at boot time (e.g., old versions of LILO)
 2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

 Command (m for help): p

 Disk /dev/sda: 163.9 GB, 163928604672 bytes
 255 heads, 63 sectors/track, 19929 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0xa9b5c6b5

   Device Boot      Start         End      Blocks   Id  System
 /dev/sda1               1       19929   160079661   83  Linux

 Command (m for help):



 MacMini ~ # df
 Filesystem           1K-blocks      Used Available Use% Mounted on
 /dev/hda4             75890040  37169416  34865560  52% /
 udev                     10240       156     10084   2% /dev
 shm                     257396         0    257396   0% /dev/shm
 MacMini ~ # fsck -t ext3 /dev/sda
 fsck 1.41.3 (12-Oct-2008)
 e2fsck 1.41.3 (12-Oct-2008)
 fsck.ext3: Superblock invalid, trying backup blocks...
 fsck.ext3: Bad magic number in super-block while trying to open /dev/sda

 The superblock could not be read or does not describe a correct ext2
 filesystem.  If the device is valid and it really contains an ext2
 filesystem (and not swap or ufs or something else), then the superblock
 is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 device

 MacMini ~ # e2fsck -b 8193 /dev/sda
 e2fsck 1.41.3 (12-Oct-2008)
 e2fsck: Bad magic number in super-block while trying to open /dev/sda

 The superblock could not be read or does not describe a correct ext2
 filesystem.  If the device is valid and it really contains an ext2
 filesystem (and not swap or ufs or something else), then the superblock
 is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 device

 MacMini ~ # fsck -t ext3 /dev/sda1
 fsck 1.41.3 (12-Oct-2008)
 e2fsck 1.41.3 (12-Oct-2008)
 fsck.ext3: Attempt to read block from filesystem resulted in short
 read while tr            ying to open /dev/sda1
 Could this be a zero-length partition?
 MacMini ~ # e2fsck -b 8193 /dev/sda1
 e2fsck 1.41.3 (12-Oct-2008)
 e2fsck: Bad magic number in super-block while trying to open /dev/sda1

 The superblock could not be read or does not describe a correct ext2
 filesystem.  If the device is valid and it really contains an ext2
 filesystem (and not swap or ufs or something else), then the superblock
 is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 device

 MacMini ~ # e2fsck -b 8193 /dev/sda
 e2fsck 1.41.3 (12-Oct-2008)
 e2fsck: Bad magic number in super-block while trying to open /dev/sda

 The superblock could not be read or does not describe a correct ext2
 filesystem.  If the device is valid and it really contains an ext2
 filesystem (and not swap or ufs or something else), then the superblock
 is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 device

 MacMini ~ #


A little more info:

Buffer I/O error on device sda, logical block 12
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x4b ASCQ=0x0
end_request: I/O error, dev sda, sector 96
Buffer I/O error on device sda, logical block 12
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x4b ASCQ=0x0
end_request: I/O error, dev sda, sector 96
Buffer I/O error on device sda, logical block 12
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
sd 0:0:0:0: [sda] ASC=0x4b ASCQ=0x0
end_request: I/O error, dev sda, sector 96

MacMini ~ # fsck -t ext3 /dev/sda1
fsck 1.41.3 (12-Oct-2008)
e2fsck 1.41.3 (12-Oct-2008)
fsck.ext3: Attempt to read block from filesystem resulted in short
read while trying to open /dev/sda1
Could this be a zero-length partition?
MacMini ~ #


end_request: I/O error, dev sda, sector 95
__ratelimit: 58 callbacks suppressed
Buffer I/O error on device sda1, logical block 16
Buffer I/O error on device sda1, logical block 17
Buffer I/O error on device sda1, 

Re: [gentoo-user] Address Label and Envelop Printing

2009-09-19 Thread Willie Wong
On Sat, Sep 19, 2009 at 09:51:33PM +, Penguin Lover James squawked:
 I need a program to print Address labels that come in 
 on an 8 1/2 x 11 (letter) blank. The are pre-arrange
 3 to a row. Googling just turned up this sunrise solution
 for labelnation:
 
 
 http://bugs.gentoo.org/176639
 
 
 anybody else know of anything in portage?
 
 some other way to effect label printing?

Commercial address labels mostly have templates in OpenOffice. 
The downside, of course, is that it may seem like an overkill. 

(You can also make templates yourself in OO.)

HTH

W
-- 
A plateau is a high form of flattery.
Sortir en Pantoufles: up 1016 days, 21:28



[gentoo-user] Re: Iscan

2009-09-19 Thread walt

On 09/19/2009 03:34 PM, walt wrote:



Add the line 'media-gfx/iscan ~x86' to your /etc/portage/package.keywords
file. (If you don't have that file just make a new one.)


Well, don't bother.  iscan doesn't build, period.

But you should really try xsane in the meantime.  You need to make sure
your scanner is recognized by scanimage -L (scanimage is part of the
sane-backends package, which you already have.)

If that doesn't work, try sane-find-scanner.




Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Volker Armin Hemmann
On Sonntag 20 September 2009, Mark Knecht wrote:
 On Sat, Sep 19, 2009 at 3:21 PM, Mark Knecht markkne...@gmail.com wrote:
  Hi,
I seem to have lost an external USB drive I've been using on my
  MythTV backend server for video storage. What commands can I try to
  get it to wake up or at least show me what's working and what isn't?
  The drive shows under fdisk /dev/sda. I can see the large partition,
  and it seems to be the right size, according to fdisk anyway, but I
  cannot mount it using mount, and so far I cannot get e2fsck to do
  anything. Both of these fail:
 
 
  mount -t ext2 /dev/sda1 /video
  mount -t ext3 /dev/sda1 /video
 
I have power cycled the drive and I've rebooted the MacMini. Nothing
  changed.
 
  Thanks in advance,
  Mark
 
  MacMini ~ # fdisk /dev/sda
 
  The number of cylinders for this disk is set to 19929.
  There is nothing wrong with that, but this is larger than 1024,
  and could in certain setups cause problems with:
  1) software that runs at boot time (e.g., old versions of LILO)
  2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
 
  Command (m for help): p
 
  Disk /dev/sda: 163.9 GB, 163928604672 bytes
  255 heads, 63 sectors/track, 19929 cylinders
  Units = cylinders of 16065 * 512 = 8225280 bytes
  Disk identifier: 0xa9b5c6b5
 
Device Boot  Start End  Blocks   Id  System
  /dev/sda1   1   19929   160079661   83  Linux
 
  Command (m for help):
 
 
 
  MacMini ~ # df
  Filesystem   1K-blocks  Used Available Use% Mounted on
  /dev/hda4 75890040  37169416  34865560  52% /
  udev 10240   156 10084   2% /dev
  shm 257396 0257396   0% /dev/shm
  MacMini ~ # fsck -t ext3 /dev/sda
  fsck 1.41.3 (12-Oct-2008)
  e2fsck 1.41.3 (12-Oct-2008)
  fsck.ext3: Superblock invalid, trying backup blocks...
  fsck.ext3: Bad magic number in super-block while trying to open /dev/sda
 
  The superblock could not be read or does not describe a correct ext2
  filesystem.  If the device is valid and it really contains an ext2
  filesystem (and not swap or ufs or something else), then the superblock
  is corrupt, and you might try running e2fsck with an alternate
  superblock: e2fsck -b 8193 device
 
  MacMini ~ # e2fsck -b 8193 /dev/sda
  e2fsck 1.41.3 (12-Oct-2008)
  e2fsck: Bad magic number in super-block while trying to open /dev/sda
 
  The superblock could not be read or does not describe a correct ext2
  filesystem.  If the device is valid and it really contains an ext2
  filesystem (and not swap or ufs or something else), then the superblock
  is corrupt, and you might try running e2fsck with an alternate
  superblock: e2fsck -b 8193 device
 
  MacMini ~ # fsck -t ext3 /dev/sda1
  fsck 1.41.3 (12-Oct-2008)
  e2fsck 1.41.3 (12-Oct-2008)
  fsck.ext3: Attempt to read block from filesystem resulted in short
  read while trying to open /dev/sda1
  Could this be a zero-length partition?
  MacMini ~ # e2fsck -b 8193 /dev/sda1
  e2fsck 1.41.3 (12-Oct-2008)
  e2fsck: Bad magic number in super-block while trying to open /dev/sda1
 
  The superblock could not be read or does not describe a correct ext2
  filesystem.  If the device is valid and it really contains an ext2
  filesystem (and not swap or ufs or something else), then the superblock
  is corrupt, and you might try running e2fsck with an alternate
  superblock: e2fsck -b 8193 device
 
  MacMini ~ # e2fsck -b 8193 /dev/sda
  e2fsck 1.41.3 (12-Oct-2008)
  e2fsck: Bad magic number in super-block while trying to open /dev/sda
 
  The superblock could not be read or does not describe a correct ext2
  filesystem.  If the device is valid and it really contains an ext2
  filesystem (and not swap or ufs or something else), then the superblock
  is corrupt, and you might try running e2fsck with an alternate
  superblock: e2fsck -b 8193 device
 
  MacMini ~ #
 
 A little more info:
 
 Buffer I/O error on device sda, logical block 12
 sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
 sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
 sd 0:0:0:0: [sda] ASC=0x4b ASCQ=0x0
 end_request: I/O error, dev sda, sector 96
 Buffer I/O error on device sda, logical block 12
 sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
 sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
 sd 0:0:0:0: [sda] ASC=0x4b ASCQ=0x0
 end_request: I/O error, dev sda, sector 96
 Buffer I/O error on device sda, logical block 12
 sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
 sd 0:0:0:0: [sda] Sense Key : 0x3 [current]
 sd 0:0:0:0: [sda] ASC=0x4b ASCQ=0x0
 end_request: I/O error, dev sda, sector 96
 
 MacMini ~ # fsck -t ext3 /dev/sda1
 fsck 1.41.3 (12-Oct-2008)
 e2fsck 1.41.3 (12-Oct-2008)
 fsck.ext3: Attempt to read block from filesystem resulted in short
 read while trying to open /dev/sda1
 Could this be a zero-length partition?
 MacMini ~ #
 
 
 end_request: I/O error, dev sda, sector 95
 __ratelimit: 

Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Mark Knecht
On Sat, Sep 19, 2009 at 3:59 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 On Sonntag 20 September 2009, Mark Knecht wrote:
 On Sat, Sep 19, 2009 at 3:21 PM, Mark Knecht markkne...@gmail.com wrote:
  Hi,
    I seem to have lost an external USB drive I've been using on my
  MythTV backend server for video storage. What commands can I try to
  get it to wake up or at least show me what's working and what isn't?
  The drive shows under fdisk /dev/sda. I can see the large partition,
  and it seems to be the right size, according to fdisk anyway, but I
  cannot mount it using mount, and so far I cannot get e2fsck to do
  anything. Both of these fail:
 
 
  mount -t ext2 /dev/sda1 /video
  mount -t ext3 /dev/sda1 /video
 
    I have power cycled the drive and I've rebooted the MacMini. Nothing
  changed.
 
  Thanks in advance,
  Mark
 
SNIP
 I could try reinstalling the file system but I had a few backups on
 this drive for other systems. (non-critical, but possibly useful) I'd
 like to be sure I cannot recover them before I blow everything away.

 Thanks,
 Mark


 you might be lucky and able to use smartctl on that device. Sadly most usb
 converters don't support smart even when the drive does.

 That could tell you some more, but a quick glance says:

 your drive is hosed.
 Block errors... ugh... maybe the heads had a bit of platter contact.

 You can try using magicrescue - or even better photorec.

 they won't repair your filesystems - but they might be able to get the data 
 off
 you are after.

 Glück Auf
 Volker


Thanks. I'll check these apps out.

So far the only life I've found is with e2fsck -b 32768 /dev/sda1.
This starts finding some things that make sense name-wise but then
starts complaining about other things.

Again, it's just mythtv video files so those can probably just be
rerecorded at some point. The backups were for my Windows machines
which are working right now so as long as I make some new backups
elsewhere I should be reasonably safe unless I find one day that
something I need then isn't on my machine right now.

Sad when your backup strategy goes against you...

Again, thanks for the pointers.

- Mark



[gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread walt

On 09/19/2009 03:38 PM, Mark Knecht wrote:

On Sat, Sep 19, 2009 at 3:21 PM, Mark Knechtmarkkne...@gmail.com  wrote:

Hi,
   I seem to have lost an external USB drive I've been using on my
MythTV backend server for video storage. What commands can I try to
get it to wake up or at least show me what's working and what isn't?
The drive shows under fdisk /dev/sda...


I hate to be the party poop, but I suspect disk hardware failure.

Can you use dd to read the raw disk?  e.g.
# dd if=/dev/sda of=/tmp/ddout bs=512 count=1024(or whatever)




[gentoo-user] Re: trying to track down broken dependency

2009-09-19 Thread Torsten Veller
* kashani kashani-l...@badapple.net:
 3. Doctored up portage.mask to mask the errant virtuals
 =virtual/perl-Digest-SHA-5.47
 =virtual/perl-Test-Harness-3.17
 
 Thought grumpy thoughts at developers who let packages into ~x86
 with completely broken deps. Hard mask that crap next time.

There are no broken deps and there is no crap that should be masked.



Re: [gentoo-user] Re: hald failed to start

2009-09-19 Thread felix
On Sat, Sep 19, 2009 at 02:36:40PM -0700, walt wrote:
 On 09/19/2009 03:03 AM, fe...@crowfix.com wrote:
  Bummer.  I upgraded X and followed all the steps, it did come up, but
  hald won't start, so I have to ssh in and kill X to get my screen back
  even as a tty.  Seems a shame to go thru all that X upgrade stuff and
  have something else fail.  Here are the versions:
 
 sys-apps/hal-0.5.13-r2
 x11-base/xorg-server-1.6.3.901-r2
 
  This is the only error message in /var/log/messages:
 
 Sep 19 02:32:36 crowfix /etc/init.d/hald[4485]: ERROR: hald failed to 
  start
 
 The hald initscript says it needs dbus.  Is dbus running?  Is dbus in
 your 'default' runlevel?

Hmmm ... yes, hald and dbus are in the default runlevel.  dbus is
running and periodically reloads its configuration.  There are quite a
few of these messages:

Sep 19 02:46:45 crowfix process: 5918: arguments to dbus_move_error() were 
incorrect, assertion (dest) == NULL || !dbus_error_is_set ((dest)) failed in 
file dbus-errors.c line 278.
Sep 19 02:46:45 crowfix This: is normally a bug in some application using 
the D-Bus library.
Sep 19 02:46:45 crowfix D-Bus: not built with -rdynamic so unable to print 
a backtrace
Sep 19 02:46:45 crowfix libhal.c: 4494 : Did not receive a reply. Possible 
causes include: the remote application did not send a reply, the message bus 
security policy blocked the reply, the reply timeout expired, or the network 
connection was broken.

I will have to look into this, and I have never liked lynx ... time to
fire up an old mac laptop, I think  at least I have more sleep now
than I had at o-dark-thirty when I got back from a trip ...

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Volker Armin Hemmann
On Sonntag 20 September 2009, walt wrote:
 On 09/19/2009 03:38 PM, Mark Knecht wrote:
  On Sat, Sep 19, 2009 at 3:21 PM, Mark Knechtmarkkne...@gmail.com  wrote:
  Hi,
 I seem to have lost an external USB drive I've been using on my
  MythTV backend server for video storage. What commands can I try to
  get it to wake up or at least show me what's working and what isn't?
  The drive shows under fdisk /dev/sda...
 
 I hate to be the party poop, but I suspect disk hardware failure.
 
 Can you use dd to read the raw disk?  e.g.
 # dd if=/dev/sda of=/tmp/ddout bs=512 count=1024(or whatever)
 

he has block errors - dd won't help him much. ddrescue is a better choice in 
such circumstances.



Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Mark Knecht
On Sat, Sep 19, 2009 at 4:12 PM, walt w41...@gmail.com wrote:
 On 09/19/2009 03:38 PM, Mark Knecht wrote:

 On Sat, Sep 19, 2009 at 3:21 PM, Mark Knechtmarkkne...@gmail.com  wrote:

 Hi,
   I seem to have lost an external USB drive I've been using on my
 MythTV backend server for video storage. What commands can I try to
 get it to wake up or at least show me what's working and what isn't?
 The drive shows under fdisk /dev/sda...

 I hate to be the party poop, but I suspect disk hardware failure.

 Can you use dd to read the raw disk?  e.g.
 # dd if=/dev/sda of=/tmp/ddout bs=512 count=1024(or whatever)


Hi Walt,
   Don't worry about it. If it's dead it's dead.

   I've actually managed to make some headway. After fiddling around
with e2fsck -b 32768 /dev/sda1 the drive is now mountable but running
e2fsck after a reboot says the drive still has errors:

MacMini ~ # e2fsck /dev/sda1
e2fsck 1.41.3 (12-Oct-2008)
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
^C/dev/sda1: e2fsck canceled.

/dev/sda1: ** WARNING: Filesystem still has errors **

MacMini ~ #

If I mount the drive I can actually see all the MythTV files and
amazingly they still seem to play so I don't think the drive is dead.
I got a few messages about my backup directory being hosed so I
attempted to delete it. Now the drive mounts but the sizes and things
are messed up:

MacMini ~ # mount
/dev/hda4 on / type ext3 (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
/dev/sda1 on /video type ext3 (rw)

MacMini ~ # df /video
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda1157566568  -1551528 151114116   -  /video
MacMini ~ #

MacMini ~ # ls /video/
1003_20090531163000.mpg.png  1042_2009061119.mpg.png
1189_20090617183000.mpg.png
1003_20090603173000.mpg.png  1042_2009091121.mpg
1189_20090619183000.mpg
1003_20090621163000.mpg.png  1042_2009091121.mpg.png

SNIP

1017_20090817193000.mpg.png  1189_20090617183000.mpg   lost+found
1042_2009061117.mpg.png  1189_20090617183000.mpg.100x75.png
MacMini ~ #


Now, my question is how can I use the file system tools to fix all the
tables on this drive?

I see Volker is suggesting ddrescue. As it seems I've already lost the
Windows backup files but have good MYthTV files is there a way to
repair the disk tables and only end up with the existing Myth files
and clean tables? I don't have another disk to copy all this stuff to
and the MacMini is headless and PPC-based so it's difficult to use
gparted or anything like that.

I think the existing Myth files are possibly small enough that I could
store them temporarily on the Mac while I rebuild the USB drive.

Thanks,
Mark



Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Volker Armin Hemmann
On Sonntag 20 September 2009, Mark Knecht wrote:
 On Sat, Sep 19, 2009 at 4:12 PM, walt w41...@gmail.com wrote:
  On 09/19/2009 03:38 PM, Mark Knecht wrote:
  On Sat, Sep 19, 2009 at 3:21 PM, Mark Knechtmarkkne...@gmail.com 
 wrote:
  Hi,
I seem to have lost an external USB drive I've been using on my
  MythTV backend server for video storage. What commands can I try to
  get it to wake up or at least show me what's working and what isn't?
  The drive shows under fdisk /dev/sda...
 
  I hate to be the party poop, but I suspect disk hardware failure.
 
  Can you use dd to read the raw disk?  e.g.
  # dd if=/dev/sda of=/tmp/ddout bs=512 count=1024(or whatever)
 
 Hi Walt,
Don't worry about it. If it's dead it's dead.
 
I've actually managed to make some headway. After fiddling around
 with e2fsck -b 32768 /dev/sda1 the drive is now mountable but running
 e2fsck after a reboot says the drive still has errors:
 
 MacMini ~ # e2fsck /dev/sda1
 e2fsck 1.41.3 (12-Oct-2008)
 /dev/sda1 contains a file system with errors, check forced.
 Pass 1: Checking inodes, blocks, and sizes
 ^C/dev/sda1: e2fsck canceled.
 
 /dev/sda1: ** WARNING: Filesystem still has errors **
 
 MacMini ~ #
 
 If I mount the drive I can actually see all the MythTV files and
 amazingly they still seem to play so I don't think the drive is dead.
 I got a few messages about my backup directory being hosed so I
 attempted to delete it. Now the drive mounts but the sizes and things
 are messed up:
 
 MacMini ~ # mount
 /dev/hda4 on / type ext3 (rw,noatime)
 proc on /proc type proc (rw,nosuid,nodev,noexec)
 sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
 udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)
 devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
 shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
 usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
 /dev/sda1 on /video type ext3 (rw)
 
 MacMini ~ # df /video
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/sda1157566568  -1551528 151114116   -  /video
 MacMini ~ #
 
 MacMini ~ # ls /video/
 1003_20090531163000.mpg.png  1042_2009061119.mpg.png
 1189_20090617183000.mpg.png
 1003_20090603173000.mpg.png  1042_2009091121.mpg
 1189_20090619183000.mpg
 1003_20090621163000.mpg.png  1042_2009091121.mpg.png
 
 SNIP
 
 1017_20090817193000.mpg.png  1189_20090617183000.mpg  
  lost+found 1042_2009061117.mpg.png  1189_20090617183000.mpg.100x75.png
 MacMini ~ #
 
 
 Now, my question is how can I use the file system tools to fix all the
 tables on this drive?
 
 I see Volker is suggesting ddrescue. As it seems I've already lost the
 Windows backup files but have good MYthTV files is there a way to
 repair the disk tables and only end up with the existing Myth files
 and clean tables? I don't have another disk to copy all this stuff to
 and the MacMini is headless and PPC-based so it's difficult to use
 gparted or anything like that.
 
 I think the existing Myth files are possibly small enough that I could
 store them temporarily on the Mac while I rebuild the USB drive.
 
 Thanks,
 Mark
 

seriously, I think you should try to get off everything you want to keep - and 
then replace the disk with a new one. If a disk starts throwing block errors 
it will only become worse. Don't worry about 'repairing' the file system as 
long as there is hardware damage. Try to get off the disk as much as possible - 
and then scrap it.



Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-19 Thread Mark Knecht
On Sat, Sep 19, 2009 at 4:48 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
SNIP


 seriously, I think you should try to get off everything you want to keep - and
 then replace the disk with a new one. If a disk starts throwing block errors
 it will only become worse. Don't worry about 'repairing' the file system as
 long as there is hardware damage. Try to get off the disk as much as possible 
 -
 and then scrap it.



I suspect you're right. It's just another $100 to go buy a new one

Anyway, I'll see what I can set up to save the files that are still there.

Cheers,
Mark



Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
walt w41...@gmail.com [09-09-20 02:03]:
 On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:
 
 Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
 and we will see what happens.
 
 Did you try stopping the alsa service manually?
 
 #/etc/init.d/alsasound stop
 

This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:

solfire:/home/mccramersudo /etc/init.d/alsasound stop
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
 * Error saving levels. [ 
!! ]
solfire:/home/mccramer



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] Re: hald failed to start

2009-09-19 Thread walt

On 09/19/2009 04:20 PM, fe...@crowfix.com wrote:

  at least I have more sleep now
than I had at o-dark-thirty when I got back from a trip ...


Ah, that explains everything.  Never fire up your machine when
you've just come home from a trip!  (I think Nostradamus said
that -- but I could be wrong.)






[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread walt

On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com  [09-09-20 02:03]:

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop



This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:

solfire:/home/mccramersudo /etc/init.d/alsasound stop
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
  * Error saving levels. [ 
!! ]
solfire:/home/mccramer


Ah! I've seen that same error when I neurotically switch back and forth
between different kernel versions (cf. autoflagellation).

Try (as root) 'alsactl store' and see if that makes any difference.




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-19 Thread meino . cramer
walt w41...@gmail.com [09-09-20 04:13]:
 On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com  [09-09-20 02:03]:
 On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:
 
 Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
 and we will see what happens.
 
 Did you try stopping the alsa service manually?
 
 #/etc/init.d/alsasound stop
 
 
 This gave me errors, since my Webcam's audio part isn't implemented as
 full audio device, but it does not hang:
 
 solfire:/home/mccramersudo /etc/init.d/alsasound stop
   * WARNING:  you are stopping a boot service.
   * Storing ALSA Mixer Levels ...
 alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture 
 Volume,0': Invalid argument
   * Error saving levels.   
   [ !! ]
 solfire:/home/mccramer
 
 Ah! I've seen that same error when I neurotically switch back and forth
 between different kernel versions (cf. autoflagellation).
 
 Try (as root) 'alsactl store' and see if that makes any difference.
 
It produces a comparable error, since it does a comparable thing...:

alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument

...but this problem was there long before the system cannot be
shutdown anymore and I think it is not clean but the root of all
evil





-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.