[gentoo-user] OT - glslideshow failing; don't know why

2012-06-18 Thread Michael Sullivan
My screensaver is failing.  I use a slideshow of a directory of
photographs.  I use xfce with xscreensaver-5.15.  The error says
something like could not find some font, using fixed instead;
xscreensaver killed...  In the preview window of Main
Menu-Settings-Screensaver my photos are show correctly, but when I hit
the preview button, the screen goes black and that error message is
displayed in yellow.  I cannot find that error anywhere in the log
files.  Can anyone tell me where that error can be found, so that I can
provide more information hopefully forward resolving this problem?

The error message says xscreensaver 0: child pid 32735  glslideshow
terminated with signal 11


-Michael Sullivan-



Re: [gentoo-user] Slot war on my system

2012-06-03 Thread Michael Sullivan
On 06/03/12 11:28, Alan McKinnon wrote:

 
 But his emerge wants to install qt-4.8.1, added to the tree 29 Mar
 2012 and 4.8.1-r1 went stable 20 May 2012. So while I agree he should
 sync a tad more often, I don't think that is his real problem.
 
 More likely he has Qt packages in world that are now dropped, or not
 updated to 4.8.1. As well as bluedevil stuff in there as well.
 
 It's looking more and more like the OP uses plain emerge to install
 libs and such things, instead of the much better (by keeping them out
 of world) emerge -1
 
 


I try to keep my world file clean.  I use -1 whenever merging anything I
don't actually want.  I don't want bluedevil (or any of that wireless
crap), but a few years ago the system started requiring bluez and I
couldn't get out of it.  I do not ever plan to use wireless on this box...





Re: [gentoo-user] Slot war on my system

2012-06-03 Thread Michael Sullivan
On 06/03/12 12:59, Neil Bothwick wrote:
 On Sun, 03 Jun 2012 12:51:37 -0500, Michael Sullivan wrote:
 
 I try to keep my world file clean.  I use -1 whenever merging anything I
 don't actually want.  I don't want bluedevil (or any of that wireless
 crap), but a few years ago the system started requiring bluez and I
 couldn't get out of it.  I do not ever plan to use wireless on this
 box...
 
 Do you have the bluetooth USE flag set?
 
 Have you emerged kde-meta?
 
 

I have emerged kde-meta, but until this morning I didn't have the
bluetooth flag, no.  Now I have -bluetooth in /etc/make.conf



[gentoo-user] Slot war on my system

2012-06-02 Thread Michael Sullivan
I have been fighting with this for at least three weeks now.   Most of
the conflicting packages are qt-based, between 4.8.1 (which I want) and
4.7.4 (which I don't want).  I have rebuilt every package I can find
again 4.8.1, but emerge still wants to install 4.7.4, despite the fact
that I've altered my /etc/portage/package.mask file to try to keep them
away.  Here's my /etc/portage/package.mask:

michael@camille currentmnt $ cat /etc/portage/package.mask
=sys-power/powermgmt-base-1.22
sys-apps/apmd
=kde-base/libknotificationitem-4.3.5
=sys-apps/hal-0.5.14-r4
=media-libs/libvpx-0.9.6
=gnome-extra/gnome-system-monitor-2.28.2-r1
=gnome-extra/gnome-screensaver-2.30.2-r1
=gnome-base/gnome-settings-daemon-2.32.1-r1

x11-libs/qt-script-4.8.1::gentoo
x11-libs/qt-core-4.8.1-r3::gentoo
x11-libs/qt-sql-4.8.1::gentoo
x11-libs/qt-dbus-4.8.1::gentoo
x11-libs/qt-gui-4.8.1-r1::gentoo
x11-libs/qt-qt3support-4.8.1::gentoo


Here's a shortened version of what I get when I run python-updater:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-script:4

  (x11-libs/qt-script-4.8.1::gentoo, installed) pulled in by
~x11-libs/qt-script-4.8.1[aqua=,c++0x=,qpa=,debug=] required by
(x11-libs/qt-gui-4.8.1-r1::gentoo, installed)
(and 1 more with the same problem)

  (x11-libs/qt-script-4.7.4::gentoo, ebuild scheduled for merge) pulled
in by
~x11-libs/qt-script-4.7.4[aqua=,debug=] required by
(x11-libs/qt-gui-4.7.4-r1::gentoo, ebuild scheduled for merge)

x11-libs/qt-sql:4

  (x11-libs/qt-sql-4.8.1::gentoo, installed) pulled in by
~x11-libs/qt-sql-4.8.1[aqua=,c++0x=,debug=,qpa=,qt3support=]
required by (x11-libs/qt-declarative-4.8.1::gentoo, installed)
(and 1 more with the same problem)

  (x11-libs/qt-sql-4.7.4::gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-sql-4.7.4[aqua=,debug=,qt3support] required by
(x11-libs/qt-qt3support-4.7.4::gentoo, ebuild scheduled for merge)

kde-base/oxygen-icons:4

  (kde-base/oxygen-icons-4.8.1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

  (kde-base/oxygen-icons-4.8.3::gentoo, ebuild scheduled for merge)
pulled in by
=kde-base/oxygen-icons-4.8.3:4[aqua=] required by
(kde-base/nepomuk-4.8.3::gentoo, ebuild scheduled for merge)
(and 19 more with the same problem)

x11-libs/qt-core:4

  (x11-libs/qt-core-4.8.1-r3::gentoo, installed) pulled in by
~x11-libs/qt-core-4.8.1[aqua=,c++0x=,debug=,qpa=,qt3support=]
required by (x11-libs/qt-declarative-4.8.1::gentoo, installed)
(and 10 more with the same problem)

  (x11-libs/qt-core-4.7.4-r1::gentoo, ebuild scheduled for merge) pulled
in by
~x11-libs/qt-core-4.7.4[aqua=,debug=,glib=,qt3support=] required by
(x11-libs/qt-gui-4.7.4-r1::gentoo, ebuild scheduled for merge)
(and 4 more with the same problem)

sys-libs/zlib:0

  (sys-libs/zlib-1.2.5-r2::gentoo, ebuild scheduled for merge) pulled in by
sys-libs/zlib-1.2.5.1-r1:0 required by
(dev-db/virtuoso-server-6.1.3-r2::gentoo, installed)

  (sys-libs/zlib-1.2.5.1-r2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

x11-libs/qt-dbus:4

  (x11-libs/qt-dbus-4.7.4::gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-dbus-4.7.4[aqua=,debug=] required by
(x11-libs/qt-gui-4.7.4-r1::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-dbus-4.8.1::gentoo, installed) pulled in by
~x11-libs/qt-dbus-4.8.1[aqua=,c++0x=,qpa=,debug=] required by
(x11-libs/qt-gui-4.8.1-r1::gentoo, installed)

kde-base/kdelibs:4

  (kde-base/kdelibs-4.8.3::gentoo, ebuild scheduled for merge) pulled in by
=kde-base/kdelibs-4.8.3:4[aqua=,handbook] required by
(kde-base/ksysguard-4.8.3::gentoo, ebuild scheduled for merge)
(and 29 more with the same problem)

  (kde-base/kdelibs-4.8.1-r2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

x11-libs/qt-gui:4

  (x11-libs/qt-gui-4.7.4-r1::gentoo, ebuild scheduled for merge) pulled
in by
~x11-libs/qt-gui-4.7.4[accessibility=,aqua=,debug=,qt3support]
required by (x11-libs/qt-qt3support-4.7.4::gentoo, ebuild scheduled for
merge)
(and 1 more with the same problem)

  (x11-libs/qt-gui-4.8.1-r1::gentoo, installed) pulled in by
~x11-libs/qt-gui-4.8.1[aqua=,c++0x=,debug=,qpa=] required by
(x11-libs/qt-webkit-4.8.1::gentoo, installed)
(and 5 more with the same problem)

kde-base/nepomuk:4

  (kde-base/nepomuk-4.8.1-r1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

  (kde-base/nepomuk-4.8.3::gentoo, ebuild scheduled for merge) pulled in by
=kde-base/nepomuk-4.8.3:4[aqua=] required by
(kde-base/kdelibs-4.8.3::gentoo, ebuild scheduled for merge)

kde-base/kdesu:4

  (kde-base/kdesu-4.8.1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

 

[gentoo-user] [Possibly OT] rile-roller having problems with deletions after upgrade to 3* series kernel

2012-05-25 Thread Michael Sullivan
Each night (at midnight) I make backups of files that changed the
previous day, and on the first of the month I make full backups of
important directories (/home, /etc, etc etc).  Each morning I do
maintenance on the partial backup from the day before.  I've noticed
that since I upgraded to the 3* series kernel (at this moment it's
3.2.12) I've had problems with file-roller - I tell it to delete a
directory (something I consider nonessential like ~/.thumbnails) and I
says Reading archive... without actually deleting anything.  I've
found that I can delete ten files at a time, which can be really
inconvenient when there are hundreds of nonessential files I need to
delete.  I don't think it's tar - I can go into my terminal window and
delete all the files I want with tar and it works perfectly; it just
seems to be file-roller.  Has anyone else experienced this?



[gentoo-user] media-tv/mythtv-0.24.1_p20110524 fails to emerge

2012-05-24 Thread Michael Sullivan
I seriously screwed up my system this week, and broke myth.  Now I'm
trying to emerge media-tv/mythtv-0.24.1_p20110524 since my old myth
version is no longer supported (the ebuilds aren't even still around).
The emerge goes along fine until it gets to this part:

mythrender_opengl.cpp: In function 'int __glCheck__(const QString,
const char*, int)':
mythrender_opengl.cpp:38: error: 'gluErrorString' was not declared in
this scope
make[2]: *** [mythrender_opengl.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-0.24.1_p20110524/work/MythTV-mythtv-347cd24/mythtv/libs/libmythui'
make[1]: *** [sub-libmythui-make_default] Error 2
make[1]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-0.24.1_p20110524/work/MythTV-mythtv-347cd24/mythtv/libs'
make: *** [libs] Error 2

Most of our TV watching is off Myth.  We only have one show that we
follow that's currently in season and that's on Monday, so I'd really
like to have this working by then.  Can anyone help me?
-Michael Sullivan-



Re: [gentoo-user] OT - New kernel and now xv won't work with mplayer

2012-04-23 Thread Michael Sullivan
On 04/23/12 02:27, Florian Philipp wrote:
 Am 23.04.2012 02:26, schrieb Michael Sullivan:
 First off, this has probably been discussed before, but I can't find it
 on google.  I've spent the last several hours searching for the answer
 to this and I can't find it.

 [...]
 So far I am
 very happy with 3.2.1-r2 on my PC except for one thing:  xv doesn't seem
 to work anymore.   On my old kernel, and indeed every kernel I've run on
 this computer since 2005 xv has worked.  I haven't changed any hardware
 in this computer recently or ever.  When I run mplayer I see this in the
 output:

 [VO_XV] It seems there is no Xvideo support for your video card available.
 [VO_XV] Run 'xvinfo' to verify its Xv support and read
 [VO_XV] DOCS/HTML/en/video.html#xv!
 [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
 [VO_XV] Try -vo x11.
 Error opening/initializing the selected video_out (-vo) device.


 I kept reading about xvinfo included in XFree86 distribution.  I use
 xorg-x11.  I found out that xvinfo can be emerged.  I did so and it said
 this:

 X-Video Extension version 2.2
 screen #0
  no adaptors present


 which shouldn't be right because I've been using xv with mplayer for
 years.  I assumed then that it was a module problem somewhere.  I hadn't
 run a qlist -I -C x11-drivers/ recently so I did and remerged all the
 packages there.

 My video card info from lspci -v:

 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (prog-if 00 [VGA controller])
  Subsystem: Intel Corporation Device 5647
 [...]
 I can successfully modprobe the i915 module.  Everything that can be is
 built with the xv USE flag on.  Is there anything else I
 need to do to get my xv to work with mplayer?

 
 Can you run mplayer with -vo gl?
 Do other video players have the same problem, e.g. VLC?
 
 Regards,
 Florian Philipp
 

mplayer -vo gl runs fine, as long as I don't maximize it, like I usually
do.  xine is the same.  vlc seems to work well, but I prefer mplayer.
It's what I've always used, and would like it back if I can figure this
out...



Re: [gentoo-user] OT - New kernel and now xv won't work with mplayer

2012-04-23 Thread Michael Sullivan
On 04/23/12 09:27, Michael Mol wrote:
 On Mon, Apr 23, 2012 at 9:57 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 04/23/12 02:27, Florian Philipp wrote:
 Am 23.04.2012 02:26, schrieb Michael Sullivan:
 First off, this has probably been discussed before, but I can't find it
 on google.  I've spent the last several hours searching for the answer
 to this and I can't find it.

 [...]
 So far I am
 very happy with 3.2.1-r2 on my PC except for one thing:  xv doesn't seem
 to work anymore.   On my old kernel, and indeed every kernel I've run on
 this computer since 2005 xv has worked.  I haven't changed any hardware
 in this computer recently or ever.  When I run mplayer I see this in the
 output:

 [VO_XV] It seems there is no Xvideo support for your video card available.
 [VO_XV] Run 'xvinfo' to verify its Xv support and read
 [VO_XV] DOCS/HTML/en/video.html#xv!
 [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
 [VO_XV] Try -vo x11.
 Error opening/initializing the selected video_out (-vo) device.


 I kept reading about xvinfo included in XFree86 distribution.  I use
 xorg-x11.  I found out that xvinfo can be emerged.  I did so and it said
 this:

 X-Video Extension version 2.2
 screen #0
  no adaptors present


 which shouldn't be right because I've been using xv with mplayer for
 years.  I assumed then that it was a module problem somewhere.  I hadn't
 run a qlist -I -C x11-drivers/ recently so I did and remerged all the
 packages there.

 My video card info from lspci -v:

 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (prog-if 00 [VGA controller])
  Subsystem: Intel Corporation Device 5647
 [...]
 I can successfully modprobe the i915 module.  Everything that can be is
 built with the xv USE flag on.  Is there anything else I
 need to do to get my xv to work with mplayer?


 Can you run mplayer with -vo gl?
 Do other video players have the same problem, e.g. VLC?

 Regards,
 Florian Philipp


 mplayer -vo gl runs fine, as long as I don't maximize it, like I usually
 do.  xine is the same.  vlc seems to work well, but I prefer mplayer.
 It's what I've always used, and would like it back if I can figure this
 out...
 
 Which series video card are you using? (nVidia, ATI, Intel...) Which driver?
 
 

Is this the information you want?  If not, how do I find out the
information on the video card.  I know almost nothing about hardware
except what software can tell me...

00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
Integrated Graphics Controller (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 5647
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffa0 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c000 (32-bit, prefetchable) [size=256M]
Memory at ffa8 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at unassigned [disabled]
Capabilities: [d0] Power Management version 2
Kernel modules: i915





Re: [gentoo-user] OT - New kernel and now xv won't work with mplayer

2012-04-23 Thread Michael Sullivan
On 04/23/12 11:05, Michael Mol wrote:
 On Mon, Apr 23, 2012 at 11:33 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 04/23/12 09:27, Michael Mol wrote:
 On Mon, Apr 23, 2012 at 9:57 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 04/23/12 02:27, Florian Philipp wrote:
 Am 23.04.2012 02:26, schrieb Michael Sullivan:
 First off, this has probably been discussed before, but I can't find it
 on google.  I've spent the last several hours searching for the answer
 to this and I can't find it.

 [...]
 So far I am
 very happy with 3.2.1-r2 on my PC except for one thing:  xv doesn't seem
 to work anymore.   On my old kernel, and indeed every kernel I've run on
 this computer since 2005 xv has worked.  I haven't changed any hardware
 in this computer recently or ever.  When I run mplayer I see this in the
 output:

 [VO_XV] It seems there is no Xvideo support for your video card 
 available.
 [VO_XV] Run 'xvinfo' to verify its Xv support and read
 [VO_XV] DOCS/HTML/en/video.html#xv!
 [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
 [VO_XV] Try -vo x11.
 Error opening/initializing the selected video_out (-vo) device.


 I kept reading about xvinfo included in XFree86 distribution.  I use
 xorg-x11.  I found out that xvinfo can be emerged.  I did so and it said
 this:

 X-Video Extension version 2.2
 screen #0
  no adaptors present


 which shouldn't be right because I've been using xv with mplayer for
 years.  I assumed then that it was a module problem somewhere.  I hadn't
 run a qlist -I -C x11-drivers/ recently so I did and remerged all the
 packages there.

 My video card info from lspci -v:

 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (prog-if 00 [VGA controller])
  Subsystem: Intel Corporation Device 5647
 [...]
 I can successfully modprobe the i915 module.  Everything that can be is
 built with the xv USE flag on.  Is there anything else I
 need to do to get my xv to work with mplayer?


 Can you run mplayer with -vo gl?
 Do other video players have the same problem, e.g. VLC?

 Regards,
 Florian Philipp


 mplayer -vo gl runs fine, as long as I don't maximize it, like I usually
 do.  xine is the same.  vlc seems to work well, but I prefer mplayer.
 It's what I've always used, and would like it back if I can figure this
 out...

 Which series video card are you using? (nVidia, ATI, Intel...) Which driver?



 Is this the information you want?  If not, how do I find out the
 information on the video card.  I know almost nothing about hardware
 except what software can tell me...

 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 5647
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffa0 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c000 (32-bit, prefetchable) [size=256M]
Memory at ffa8 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at unassigned [disabled]
Capabilities: [d0] Power Management version 2
Kernel modules: i915
 
 Ok, so you're using an Intel graphics chipset, managed via the
 kernel's i915 module. According to Wikipedia, the 82915G, GV and GL
 models are circa 2004/2005, and so are very old. It's very possible
 you've encountered a regression. I had something similar happen a few
 years ago with my 845-based system.
 
 Unfortunately, I don't know where you should take this from here.
 

Thank you for your help.  Even if you haven't solved my problem, I know
now that I've done everything to try to solve it that you know of...
-Michael Sullivan-



Re: [gentoo-user] OT - New kernel and now xv won't work with mplayer

2012-04-23 Thread Michael Sullivan
On 04/23/12 11:05, Michael Mol wrote:
 On Mon, Apr 23, 2012 at 11:33 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 04/23/12 09:27, Michael Mol wrote:
 On Mon, Apr 23, 2012 at 9:57 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 04/23/12 02:27, Florian Philipp wrote:
 Am 23.04.2012 02:26, schrieb Michael Sullivan:
 First off, this has probably been discussed before, but I can't find it
 on google.  I've spent the last several hours searching for the answer
 to this and I can't find it.

 [...]
 So far I am
 very happy with 3.2.1-r2 on my PC except for one thing:  xv doesn't seem
 to work anymore.   On my old kernel, and indeed every kernel I've run on
 this computer since 2005 xv has worked.  I haven't changed any hardware
 in this computer recently or ever.  When I run mplayer I see this in the
 output:

 [VO_XV] It seems there is no Xvideo support for your video card 
 available.
 [VO_XV] Run 'xvinfo' to verify its Xv support and read
 [VO_XV] DOCS/HTML/en/video.html#xv!
 [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
 [VO_XV] Try -vo x11.
 Error opening/initializing the selected video_out (-vo) device.


 I kept reading about xvinfo included in XFree86 distribution.  I use
 xorg-x11.  I found out that xvinfo can be emerged.  I did so and it said
 this:

 X-Video Extension version 2.2
 screen #0
  no adaptors present


 which shouldn't be right because I've been using xv with mplayer for
 years.  I assumed then that it was a module problem somewhere.  I hadn't
 run a qlist -I -C x11-drivers/ recently so I did and remerged all the
 packages there.

 My video card info from lspci -v:

 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (prog-if 00 [VGA controller])
  Subsystem: Intel Corporation Device 5647
 [...]
 I can successfully modprobe the i915 module.  Everything that can be is
 built with the xv USE flag on.  Is there anything else I
 need to do to get my xv to work with mplayer?


 Can you run mplayer with -vo gl?
 Do other video players have the same problem, e.g. VLC?

 Regards,
 Florian Philipp


 mplayer -vo gl runs fine, as long as I don't maximize it, like I usually
 do.  xine is the same.  vlc seems to work well, but I prefer mplayer.
 It's what I've always used, and would like it back if I can figure this
 out...

 Which series video card are you using? (nVidia, ATI, Intel...) Which driver?



 Is this the information you want?  If not, how do I find out the
 information on the video card.  I know almost nothing about hardware
 except what software can tell me...

 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 5647
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffa0 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c000 (32-bit, prefetchable) [size=256M]
Memory at ffa8 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at unassigned [disabled]
Capabilities: [d0] Power Management version 2
Kernel modules: i915
 
 Ok, so you're using an Intel graphics chipset, managed via the
 kernel's i915 module. According to Wikipedia, the 82915G, GV and GL
 models are circa 2004/2005, and so are very old. It's very possible
 you've encountered a regression. I had something similar happen a few
 years ago with my 845-based system.
 
 Unfortunately, I don't know where you should take this from here.
 x11-drivers/xf86-video-intel

I was just poking around my /usr/portage/x11-drivers directory and I saw
that my x11-drivers/xf86-video-intel version 2.17.0-r3 was installed
yesterday and it thinks I should downgrade.  I'm going to try
downgrading.  I'll let you know if it works...



[gentoo-user] OT - New kernel and now xv won't work with mplayer

2012-04-22 Thread Michael Sullivan
First off, this has probably been discussed before, but I can't find it
on google.  I've spent the last several hours searching for the answer
to this and I can't find it.

I recently switched from a gentoo-sources-2.6.30-r8 kernel to a
gentoo-sources-3.2.1-r2 kernel.  A lot of my processes were freezing up
with a DL+ ps status and I read somewhere that uninterruptible sleep was
suspected to be the fault of the kernel.  I had 3.2.1-r2 source sitting
on my hard drive and I tried building it on my wife's computer and was
very happy with the results I saw there.  Her computer couldn't even run
emerge without going into state D+.  After booting with the 3.2.1-r2
kernel I had no problems running an emerge -uD world on it.  So far I am
very happy with 3.2.1-r2 on my PC except for one thing:  xv doesn't seem
to work anymore.   On my old kernel, and indeed every kernel I've run on
this computer since 2005 xv has worked.  I haven't changed any hardware
in this computer recently or ever.  When I run mplayer I see this in the
output:

[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.


I kept reading about xvinfo included in XFree86 distribution.  I use
xorg-x11.  I found out that xvinfo can be emerged.  I did so and it said
this:

X-Video Extension version 2.2
screen #0
 no adaptors present


which shouldn't be right because I've been using xv with mplayer for
years.  I assumed then that it was a module problem somewhere.  I hadn't
run a qlist -I -C x11-drivers/ recently so I did and remerged all the
packages there.

My video card info from lspci -v:

00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
Integrated Graphics Controller (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 5647
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ffa0 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec00 [size=8]
Memory at c000 (32-bit, prefetchable) [size=256M]
Memory at ffa8 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at unassigned [disabled]
Capabilities: [d0] Power Management version 2
Kernel modules: i915

I can successfully modprobe the i915 module.  Everything that can be is
built with the xv USE flag on.  Is there anything else I
need to do to get my xv to work with mplayer?






[gentoo-user] Very OT - Displaylink adapter and setting up X

2012-03-12 Thread Michael Sullivan
I feel really stupid asking this, but I want to use an HDMI component to
output one of my PCs to the TV set.  I've followed all of the wiki entry
at http://wiki.gentoo.org/wiki/DisplayLink, but there's something else I
need to know.  I get the green screen on the TV that it mentions when
the kernel module is being loaded correctly.  The problem is that I use
gdm in /etc/conf.d/xdm DISPLAYMANAGER variable to start X, and I don't
know where the actual gdm configuration lives so I can tell it to use
~/.xinitrc2 from the wiki.  My google searching hasn't been going well.
 Can anybody give me any hints as to how to make progress on this problem?



[gentoo-user] Somewhat OT - Grandtech PC to TV component and X

2012-02-29 Thread Michael Sullivan
I recently bought a new Gradtec PC To TV component because my old Grand
Pro Ultimate XP that I bought in 2004 was on its last legs.  We used the
Ultimate XP so that we could use the living room TV as a monitor, so
that we could watch MythTV in the living room.  The Ultimate XP was
having a problem where after I logged into X the video would go all
screwy; it was all static-y and the top half of the video output would
appear at the top half of the screen and again at the bottom half.  I
dragged a real monitor in there and attached it to the end of the
external monitor plug on the component and everything displayed normally
on the monitor, but still screwy on the TV.  I bought a new component
and it's doing the same thing.  But it only does it in X.  This setup
worked fine until about a month ago.  I'm completely at a loss as to how
to fix this.  Here's my search for errors in /etc/Xorg.0.log:


carter log # grep EE Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[42.372] (II) Loading extension MIT-SCREEN-SAVER


Does anyone have any idea of what's going on?  It only happens in X;
it's fine until X loads...
-Michael Sullivan-



[gentoo-user] Re: Somewhat OT - Grandtech PC to TV component and X [SOLVED]

2012-02-29 Thread Michael Sullivan
On 02/29/12 16:41, Michael Sullivan wrote:
 I recently bought a new Gradtec PC To TV component because my old Grand
 Pro Ultimate XP that I bought in 2004 was on its last legs.  We used the
 Ultimate XP so that we could use the living room TV as a monitor, so
 that we could watch MythTV in the living room.  The Ultimate XP was
 having a problem where after I logged into X the video would go all
 screwy; it was all static-y and the top half of the video output would
 appear at the top half of the screen and again at the bottom half.  I
 dragged a real monitor in there and attached it to the end of the
 external monitor plug on the component and everything displayed normally
 on the monitor, but still screwy on the TV.  I bought a new component
 and it's doing the same thing.  But it only does it in X.  This setup
 worked fine until about a month ago.  I'm completely at a loss as to how
 to fix this.  Here's my search for errors in /etc/Xorg.0.log:
 
 
 carter log # grep EE Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [42.372] (II) Loading extension MIT-SCREEN-SAVER
 
 
 Does anyone have any idea of what's going on?  It only happens in X;
 it's fine until X loads...
 -Michael Sullivan-

I read on Google how one user was having trouble getting X to work with
her new monitor.  Another user suggested renaming xorg.conf (so it no
longer existed under that name.)  I tried it, and it worked.



[gentoo-user] Re: Two video problems: Mythtv and xscreensaver [SOLVED]

2011-12-11 Thread Michael Sullivan
On 12/10/11 14:37, Michael Sullivan wrote:
 I'm having a problem on my personal workstation where mythfrontend will
 not display video when Watch TV is requested.  The sound works just
 fine.  When I issue a
 
 michael@camille ~ $ mplayer /dev/video0
 MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
 Can't open joystick device /dev/input/js0: No such file or directory
 Can't init input joystick
 mplayer: could not connect to socket
 mplayer: No such file or directory
 Failed to open LIRC support. You will not be able to use your remote
 control.
 
 Playing /dev/video0.
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 Cannot seek backward in linear streams!
 Seek failed
 MPEG-PS file format detected.
 VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s)
 Load subtitles in /dev/
 [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
 Voodoo 5.
 ==
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
 ==
 ==
 Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000)
 Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
 ==
 AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
 Starting playback...
 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
 VO: [xv] 480x480 = 640x480 Planar YV12
 [mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
 [VD_FFMPEG] DRI failure.
 A:   0.7 V:   1.3 A-V: -0.591 ct:  0.000   2/  2 ??% ??% ??,?% 1 0
 [mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
 A:   9.3 V:   9.3 A-V: -0.015 ct: -0.788 241/241  9%  0%  1.4% 4 0
 
 Exiting... (Quit)
 
 there is still no picture, but sound is present.  My xscreesaver is set
 to glslideshow displaying pictures and it doesn't display pictures.
 When I run it, I get these errors:  (from ~/.xsession-errors)
 
 X error in glslideshow:
 X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
   Major opcode of failed request:  136 (DRI2)
   Minor opcode of failed request:  8 (DRI2SwapBuffers )
   Resource id in failed request:  0x3200070
   Serial number of failed request:  1999
   Current serial number in output stream:  1999
 xscreensaver-getimage: target pixmap 0x340010a unexpectedly deleted
 
 
 When I look at the Xorg logs, I find this:
 
 camille ~ # grep EE /var/log/Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [621028.083] (II) Loading extension MIT-SCREEN-SAVER
 [621029.135] (EE) intel(0): Detected a hung GPU, disabling acceleration.
 [621029.135] (EE) intel(0): When reporting this, please include
 i915_error_state from debugfs and the full dmesg.
 [621215.105] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
 or front?
 [621217.191] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
 or front?
 
 Just before I got this listing I restarted X after doing a qlist -I -C
 x11-drivers/ and re-merging all of them (there were like 10).
 Mythfrontend Watch TV works fine from every other computer on my
 network, and the recordings are fine, so I'm pretty sure it's this
 DRI2SwapBuffers thing.  What should I do to resolve this?


I rebuilt my kernel and rebooted and everything is fine now.  I think
somehow some of my kernel modules are being overwritten.  I don't know
how, but rebuilding the kernel seems to fix it when it happens...



[gentoo-user] Two video problems: Mythtv and xscreensaver

2011-12-10 Thread Michael Sullivan
I'm having a problem on my personal workstation where mythfrontend will
not display video when Watch TV is requested.  The sound works just
fine.  When I issue a

michael@camille ~ $ mplayer /dev/video0
MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /dev/video0.
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s)
Load subtitles in /dev/
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
Voodoo 5.
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000-192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x480 = 640x480 Planar YV12
[mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
[VD_FFMPEG] DRI failure.
A:   0.7 V:   1.3 A-V: -0.591 ct:  0.000   2/  2 ??% ??% ??,?% 1 0
[mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
A:   9.3 V:   9.3 A-V: -0.015 ct: -0.788 241/241  9%  0%  1.4% 4 0

Exiting... (Quit)

there is still no picture, but sound is present.  My xscreesaver is set
to glslideshow displaying pictures and it doesn't display pictures.
When I run it, I get these errors:  (from ~/.xsession-errors)

X error in glslideshow:
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  136 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers   )
  Resource id in failed request:  0x3200070
  Serial number of failed request:  1999
  Current serial number in output stream:  1999
xscreensaver-getimage: target pixmap 0x340010a unexpectedly deleted


When I look at the Xorg logs, I find this:

camille ~ # grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[621028.083] (II) Loading extension MIT-SCREEN-SAVER
[621029.135] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[621029.135] (EE) intel(0): When reporting this, please include
i915_error_state from debugfs and the full dmesg.
[621215.105] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
or front?
[621217.191] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
or front?

Just before I got this listing I restarted X after doing a qlist -I -C
x11-drivers/ and re-merging all of them (there were like 10).
Mythfrontend Watch TV works fine from every other computer on my
network, and the recordings are fine, so I'm pretty sure it's this
DRI2SwapBuffers thing.  What should I do to resolve this?



[gentoo-user] Mythtv problems 2.0: carter

2011-10-27 Thread Michael Sullivan
OK.  My recent Myth problems were on camille, which thankfully is now
working.  Originally, I was trying to move my Myth installation to
carter, which is a dedicated linux box.  I wanted to do this so that I
could dual boot into Windows XP on camille more often.  I've been
applying all the advice I've been getting to carter's installation and
everything works except for Watch TV.  Carter's TV card is Hauppage
HVR-1950 (pvrusb2).  I can get video with it (I have the /eev/vieo0
device node and I can get a file by mplayer /dev/video0).  I'm thinking
the card type in Capture Cards in mythtv-setup might be the problem.
Here is the output from mythbackend:

carter mythtv # mythbackend
2011-10-27 09:40:54.528 mythbackend version: branches/release-0-23-fixes
[27077] www.mythtv.org
2011-10-27 09:40:54.528 Using runtime prefix = /usr
2011-10-27 09:40:54.528 Using configuration directory = /root/.mythtv
2011-10-27 09:40:54.528 Unable to read configuration file mysql.txt
2011-10-27 09:40:54.528 Empty LocalHostName.
2011-10-27 09:40:54.528 Using localhost value of carter
2011-10-27 09:40:54.537 New DB connection, total: 1
2011-10-27 09:40:54.549 Connected to database 'mythconverg' at host:
localhost
2011-10-27 09:40:54.549 Closing DB connection named 'DBManager0'
2011-10-27 09:40:54.557 Connected to database 'mythconverg' at host:
localhost
2011-10-27 09:40:54.559 Current MythTV Schema Version (DBSchemaVer): 1254
2011-10-27 09:40:54.560 MythBackend: Starting up as the master server.
2011-10-27 09:40:54.567 mythbackend: MythBackend started as master server
2011-10-27 09:40:54.569 New DB connection, total: 2
2011-10-27 09:40:54.577 Connected to database 'mythconverg' at host:
localhost
2011-10-27 09:40:54.588 New DB connection, total: 3
2011-10-27 09:40:54.597 Connected to database 'mythconverg' at host:
localhost
2011-10-27 09:40:56.464 New DB scheduler connection
2011-10-27 09:40:56.477 Connected to database 'mythconverg' at host:
localhost
2011-10-27 09:40:56.505 Enabling Upnpmedia rebuild thread.
2011-10-27 09:40:57.707 Main::Registering HttpStatus Extension
2011-10-27 09:40:57.707 Enabled verbose msgs:  important general
2011-10-27 09:40:57.720 AutoExpire: CalcParams(): Max required Free
Space: 0.0 GB w/freq: 15 min
2011-10-27 09:40:59.506 Reschedule requested for id -1.
2011-10-27 09:41:01.197 Scheduled 109 items in 1.2 = 0.10 match + 1.11 place
2011-10-27 09:41:01.247 scheduler: Scheduled items: Scheduled 109 items
in 1.2 = 0.10 match + 1.11 place
2011-10-27 09:41:01.356 Seem to be woken up by USER
2011-10-27 09:41:06.488 mythbackend: Running housekeeping thread
2011-10-27 09:41:06.517 UPnpMedia: BuildMediaMap - no VideoStartupDir
set,  skipping scan.
2011-10-27 09:41:27.057 MainServer::ANN Monitor
2011-10-27 09:41:27.057 adding: carter as a client (events: 0)
2011-10-27 09:41:27.057 MainServer::ANN Monitor
2011-10-27 09:41:27.057 adding: carter as a client (events: 1)
2011-10-27 09:41:30.253 MainServer::ANN Playback
2011-10-27 09:41:30.253 adding: carter as a client (events: 0)
2011-10-27 09:41:30.257 TVRec(3): Changing from None to WatchingLiveTV
2011-10-27 09:41:30.259 TVRec(3): HW Tuner: 3-3
2011-10-27 09:41:31.238 ProgramInfo(): Updated pathname '':'' -
'1002_20111027094131.mpg'
2011-10-27 09:41:31.243 AutoExpire: CalcParams(): Max required Free
Space: 1.0 GB w/freq: 15 min
 *** WARNING ***
 ivtv drivers prior to 0.10.0 can cause lockups when
 reading VBI. Drivers between 0.10.5 and 1.0.3+ do not
 properly capture VBI data on PVR-250 and PVR-350 cards.

2011-10-27 09:41:31.280 MPEGRec(/dev/video0) Warning: Can't enable VBI
recording (3)
eno: Invalid argument (22)
2011-10-27 09:41:31.287 ProgramInfo(): Updated pathname '':'' -
'1002_20111027094131.mpg'
2011-10-27 09:41:31.347 ProgramInfo(): Updated pathname '':'' -
'1002_20111027094131.mpg'
2011-10-27 09:41:33.802 DevRdB(/dev/video0) Error: Poll giving up
2011-10-27 09:41:33.805 MPEGRec(/dev/video0) Error: Device error detected
2011-10-27 09:41:33.805 DevRdB(/dev/video0): Stop(): Not running.
2011-10-27 09:41:36.314 DevRdB(/dev/video0) Error: Poll giving up
2011-10-27 09:41:36.317 MPEGRec(/dev/video0) Error: Device error detected
2011-10-27 09:41:36.317 DevRdB(/dev/video0): Stop(): Not running.
2011-10-27 09:41:38.822 DevRdB(/dev/video0) Error: Poll giving up
2011-10-27 09:41:38.826 MPEGRec(/dev/video0) Error: Device error detected
2011-10-27 09:41:38.826 DevRdB(/dev/video0): Stop(): Not running.
2011-10-27 09:41:41.357 DevRdB(/dev/video0) Error: Poll giving up
2011-10-27 09:41:41.358 MPEGRec(/dev/video0) Error: Device error detected
2011-10-27 09:41:41.358 DevRdB(/dev/video0): Stop(): Not running.
2011-10-27 09:41:43.868 DevRdB(/dev/video0) Error: Poll giving up
2011-10-27 09:41:43.872 MPEGRec(/dev/video0) Error: Device error detected
2011-10-27 09:41:43.872 DevRdB(/dev/video0): Stop(): Not running.
2011-10-27 09:41:46.381 DevRdB(/dev/video0) Error: Poll giving up
2011-10-27 09:41:46.382 

[gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
(0x82033f0)
2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
MythSocket(0x82033f0)
2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
MythSocket(0x8203798)
2011-10-26 09:16:07.843 MainServer, Warning: Unknown socket closing
MythSocket(0x8203798)
2011-10-26 09:16:07.844 MainServer::ANN Monitor
2011-10-26 09:16:07.844 adding: camille as a client (events: 0)
2011-10-26 09:16:07.845 MainServer::ANN Monitor
2011-10-26 09:16:07.845 adding: camille as a client (events: 1)
2011-10-26 09:16:07.851 MythSocket(8203998:-1): writeStringList: Error,
socket went unconnected.
We wrote 0 of 10 bytes with 1 errors
2011-10-26 09:16:07.851 MythSocket(82029d0:-1): writeStringList: Error,
socket went unconnected.
We wrote 0 of 24 bytes with 1 errors
2011-10-26 09:16:07.851 MythSocket(82033f0:-1): writeStringList: Error,
socket went unconnected.
We wrote 0 of 24 bytes with 1 errors
2011-10-26 09:16:07.851 MythSocket(8203798:-1): writeStringList: Error,
socket went unconnected.
We wrote 0 of 24 bytes with 1 errors
2011-10-26 09:16:08.851 Connecting to master server: 192.168.2.3:6543
2011-10-26 09:16:08.851 Connected successfully
2011-10-26 09:16:38.861 MythSocket(8203c90:28): readStringList: Error,
timed out after 3 ms.
2011-10-26 09:16:38.861 MainServer, Error: Failed to open master server
socket, timeout
2011-10-26 09:16:38.862 adding: camille as a slave backend server
2011-10-26 09:16:38.862 MainServer, Warning: Unknown socket closing
MythSocket(0x8203c90)
2011-10-26 09:16:38.871 MythSocket(8203c90:-1): writeStringList: Error,
socket went unconnected.
We wrote 0 of 10 bytes with 1 errors
2011-10-26 09:16:39.871 Connecting to master server: 192.168.2.3:6543
2011-10-26 09:16:39.871 Connected successfully
2011-10-26 09:16:58.347 Reloading backend settings
2011-10-26 09:17:09.872 MythSocket(822d050:28): readStringList: Error,
timed out after 3 ms.
Segmentation fault


At first I thought that sometime that installed since Oct 12 was causing
the segfault, so I tried unmerging the 350+ packages that had installed
since then and listing them in package.mask, but that blew up in my face
because I don't know a command that forces portage to ignore masked
packages and install next-highest stable versions.  Please help me!
-Michael Sullivan-



[gentoo-user] Re: Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 09:23, Michael Sullivan wrote:
 I've been having Mythtv problems for the last two or three days, and
 everything I've tried to fix it has only made things worse.  To start, a
 little info:
 
 camille ~ # emerge -pv mythtv
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R] media-tv/mythtv-0.23.1_p27077  USE=alsa css dbus dvb
 jack lirc mmx perl python tiff (-altivec) -autostart -debug -directv
 -faad -fftw -ieee1394 -lcd -pulseaudio -vdpau -xvmc
 VIDEO_CARDS=-nvidia -via 0 kB
 
 Total: 1 package (1 reinstall), Size of downloads: 0 kB
 
 Mythtv has worked on camille since I first installed it in 2005.  Mythtv
 worked the last time I started it (Oct 12), but I restarted it on the
 24th and it didn't.  When I start mythfrontend, the list of Upcoming
 Recordings is empty, when I go to Programme Finder it's empty, as is
 Program Guide.  Previously Recorded works fine, as are Current
 recordings but Watch TV doesn't - it says Please wait... for a long time
 and then drops me back at the menu screen.  Of course by this time
 mythfrontend is usually griping about not being connected to the
 backend.  I ran mythbackend at the terminal prompt to find out why.
 Here's what it said:
 
 camille ~ # mythbackend
 2011-10-26 09:15:05.625 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 09:15:05.626 Using runtime prefix = /usr
 2011-10-26 09:15:05.626 Using configuration directory = /root/.mythtv
 2011-10-26 09:15:05.626 Unable to read configuration file mysql.txt
 2011-10-26 09:15:05.626 Empty LocalHostName.
 2011-10-26 09:15:05.626 Using localhost value of camille
 2011-10-26 09:15:05.636 New DB connection, total: 1
 2011-10-26 09:15:05.641 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 09:15:05.641 Closing DB connection named 'DBManager0'
 2011-10-26 09:15:05.642 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 09:15:05.654 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 09:15:05.658 MythBackend: Running as a slave backend.
 2011-10-26 09:15:05.673 mythbackend: MythBackend started as a slave backend
 2011-10-26 09:15:05.674 New DB connection, total: 2
 2011-10-26 09:15:05.675 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 09:15:05.684 New DB connection, total: 3
 2011-10-26 09:15:05.688 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 09:15:05.796 MediaServer:: Loopback address specified -
 127.0.0.1. Disabling UPnP
 2011-10-26 09:15:05.796 Main::Registering HttpStatus Extension
 2011-10-26 09:15:05.796 Enabled verbose msgs:  important general
 2011-10-26 09:15:06.812 Connecting to master server: 192.168.2.3:6543
 2011-10-26 09:15:06.813 Connected successfully
 2011-10-26 09:15:15.805 mythbackend: Running housekeeping thread
 2011-10-26 09:15:36.830 MythSocket(8224ca0:23): readStringList: Error,
 timed out after 3 ms.
 2011-10-26 09:15:36.831 MainServer, Error: Failed to open master server
 socket, timeout
 2011-10-26 09:15:36.848 adding: camille as a slave backend server
 2011-10-26 09:15:36.855 MainServer, Warning: Unknown socket closing
 MythSocket(0x82000f8)
 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
 MythSocket(0x82000f8)
 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
 MythSocket(0x8225ed0)
 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
 MythSocket(0x82253a0)
 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
 MythSocket(0x82253a0)
 2011-10-26 09:15:36.856 MainServer, Warning: Unknown socket closing
 MythSocket(0x8224ca0)
 2011-10-26 09:15:36.857 MainServer, Warning: Unknown socket closing
 MythSocket(0x8224ca0)
 2011-10-26 09:15:36.871 MythSocket(82000f8:-1): writeStringList: Error,
 socket went unconnected.
   We wrote 0 of 24 bytes with 1 errors
 2011-10-26 09:15:36.871 MythSocket(8225ed0:-1): writeStringList: Error,
 socket went unconnected.
   We wrote 0 of 10 bytes with 1 errors
 2011-10-26 09:15:36.871 MythSocket(82253a0:-1): writeStringList: Error,
 socket went unconnected.
   We wrote 0 of 24 bytes with 1 errors
 2011-10-26 09:15:36.871 MythSocket(8224ca0:-1): writeStringList: Error,
 socket went unconnected.
   We wrote 0 of 24 bytes with 1 errors
 2011-10-26 09:15:37.840 Connecting to master server: 192.168.2.3:6543
 2011-10-26 09:15:37.841 Connected successfully
 2011-10-26 09:16:07.841 MythSocket(82031d8:23): readStringList: Error,
 timed out after 3 ms.
 2011-10-26 09:16:07.841 MainServer, Error: Failed to open master server
 socket, timeout
 2011-10-26 09:16:07.842 adding: camille as a slave backend server
 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing
 MythSocket(0x8203998)
 2011-10-26 09:16:07.842 MainServer, Warning: Unknown socket closing
 MythSocket(0x82029d0)
 2011-10-26 09:16:07.842 MainServer

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:
 
 At first I thought that sometime that installed since Oct 12 was causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.
 
 Mask higher versions in package mask
 
 cat/pkg-version.you.want
 
 

I did, but as I said there where 350+ of them.  And every time I tried
to emerge anything else, I couldn't because some package I needed was
listed in package mask.  I got the package list that I added to
package.mask from /var/log/portage-logs for files dated from October 12
till 24.  It was an epic fail. I couldn't even emerge -e world because
of those stupid masked package versions...



Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 11:36, Mark Knecht wrote:
 On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...
 
 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.
 
 Good luck,
 Mark
 

Mysql on camille is broken:

camille ~ # mysql -u root -p
mysql: unknown variable 'expire_logs_days=10'

I'll do some googling, but I think that sounds like a config file
directive.  I'll probably do a rebuild of mysql as well...



Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 13:31, Michael Sullivan wrote:
 On 10/26/11 11:36, Mark Knecht wrote:
 On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...

 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.

 Good luck,
 Mark

 
 Mysql on camille is broken:
 
 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'
 
 I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
[27077] www.mythtv.org
2011-10-26 13:48:02.094 Using runtime prefix = /usr
2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
2011-10-26 13:48:02.124 Empty LocalHostName.
2011-10-26 13:48:02.124 Using localhost value of camille
2011-10-26 13:48:02.176 New DB connection, total: 1
2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
localhost
2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
localhost
2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
2011-10-26 13:48:02.390 New DB connection, total: 2
2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
localhost
2011-10-26 13:48:02.426 New DB connection, total: 3
2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
localhost
2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
127.0.0.1. Disabling UPnP
2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
2011-10-26 13:48:02.728 Enabled verbose msgs:  important general
2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
2011-10-26 13:48:03.773 Connected successfully
2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
timed out after 3 ms.
QMutex::unlock: mutex lock failure: Invalid argument
k that sounds like a config file

It's been up for about 20 minutes and it hasn't crashed.  None of the
things I mentioned before work, but at least it's not crashing, right?
This is a good step forward...
 directive.  I'll probably do a rebuild of mysql as well...


I googled the expire_logs thing and what I found said to comment it out
and restart mysql.  I did that, and now the output of mythbackend says:






Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 14:03, Michael Sullivan wrote:
 On 10/26/11 13:31, Michael Sullivan wrote:
 On 10/26/11 11:36, Mark Knecht wrote:
 On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...

 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.

 Good luck,
 Mark


 Mysql on camille is broken:

 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'

 I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48:02.390 New DB connection, total: 2
 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.426 New DB connection, total: 3
 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
 127.0.0.1. Disabling UPnP
 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
 2011-10-26 13:48:02.728 Enabled verbose msgs:  important general
 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
 2011-10-26 13:48:03.773 Connected successfully
 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
 timed out after 3 ms.
 QMutex::unlock: mutex lock failure: Invalid argument
 k that sounds like a config file
 
 It's been up for about 20 minutes and it hasn't crashed.  None of the
 things I mentioned before work, but at least it's not crashing, right?
 This is a good step forward...
 directive.  I'll probably do a rebuild of mysql as well...
 
 
 I googled the expire_logs thing and what I found said to comment it out
 and restart mysql.  I did that, and now the output of mythbackend says:
 
 
 
I forgot that I was going to post the output of mythbackend to see if
any of the changes provide hints to solving any of my other myth problems:

michael@camille ~ $ sudo mythbackend
2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
[27077] www.mythtv.org
2011-10-26 13:48:02.094 Using runtime prefix = /usr
2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
2011-10-26 13:48:02.124 Empty LocalHostName.
2011-10-26 13:48:02.124 Using localhost value of camille
2011-10-26 13:48:02.176 New DB connection, total: 1
2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
localhost
2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
localhost
2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
2011-10-26 13:48:02.390 New DB connection, total: 2
2011-10-26 13:48:02.401

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 14:05, Michael Sullivan wrote:
 On 10/26/11 14:03, Michael Sullivan wrote:
 On 10/26/11 13:31, Michael Sullivan wrote:
 On 10/26/11 11:36, Mark Knecht wrote:
 On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...

 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.

 Good luck,
 Mark


 Mysql on camille is broken:

 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'

 I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48:02.390 New DB connection, total: 2
 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.426 New DB connection, total: 3
 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
 127.0.0.1. Disabling UPnP
 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
 2011-10-26 13:48:02.728 Enabled verbose msgs:  important general
 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
 2011-10-26 13:48:03.773 Connected successfully
 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
 timed out after 3 ms.
 QMutex::unlock: mutex lock failure: Invalid argument
 k that sounds like a config file

 It's been up for about 20 minutes and it hasn't crashed.  None of the
 things I mentioned before work, but at least it's not crashing, right?
 This is a good step forward...
 directive.  I'll probably do a rebuild of mysql as well...


 I googled the expire_logs thing and what I found said to comment it out
 and restart mysql.  I did that, and now the output of mythbackend says:



 I forgot that I was going to post the output of mythbackend to see if
 any of the changes provide hints to solving any of my other myth problems:
 
 michael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 14:45, Michael Sullivan wrote:
 On 10/26/11 14:05, Michael Sullivan wrote:
 On 10/26/11 14:03, Michael Sullivan wrote:
 On 10/26/11 13:31, Michael Sullivan wrote:
 On 10/26/11 11:36, Mark Knecht wrote:
 On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was 
 causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my 
 face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...

 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.

 Good luck,
 Mark


 Mysql on camille is broken:

 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'

 I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48:02.390 New DB connection, total: 2
 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.426 New DB connection, total: 3
 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
 127.0.0.1. Disabling UPnP
 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
 2011-10-26 13:48:02.728 Enabled verbose msgs:  important general
 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
 2011-10-26 13:48:03.773 Connected successfully
 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
 timed out after 3 ms.
 QMutex::unlock: mutex lock failure: Invalid argument
 k that sounds like a config file

 It's been up for about 20 minutes and it hasn't crashed.  None of the
 things I mentioned before work, but at least it's not crashing, right?
 This is a good step forward...
 directive.  I'll probably do a rebuild of mysql as well...


 I googled the expire_logs thing and what I found said to comment it out
 and restart mysql.  I did that, and now the output of mythbackend says:



 I forgot that I was going to post the output of mythbackend to see if
 any of the changes provide hints to solving any of my other myth problems:

 michael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was 
 causing
 the segfault, so I tried unmerging the 350+ packages that had 
 installed
 since then and listing them in package.mask, but that blew up in my 
 face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...

 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.

 Good luck,
 Mark


 Mysql on camille is broken:

 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'

 I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48:02.390 New DB connection, total: 2
 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.426 New DB connection, total: 3
 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
 127.0.0.1. Disabling UPnP
 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
 2011-10-26 13:48:02.728 Enabled verbose msgs:  important general
 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
 2011-10-26 13:48:03.773 Connected successfully
 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
 timed out after 3 ms.
 QMutex::unlock: mutex lock failure: Invalid argument
 k that sounds like a config file

 It's been up for about 20 minutes and it hasn't crashed.  None of the
 things I mentioned before work, but at least it's not crashing, right?
 This is a good step forward...
 directive.  I'll probably do a rebuild of mysql as well...


 I googled the expire_logs thing and what I found said to comment it out
 and restart mysql.  I did that, and now the output of mythbackend says:



 I forgot that I was going to post the output of mythbackend to see if
 any of the changes provide hints to solving any of my other myth problems:

 michael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48:02.390 New DB connection, total: 2
 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.426 New DB connection, total: 3
 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.728 MediaServer

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 13:46, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 11:29:37 -0500, Michael Sullivan wrote:
 
 Mask higher versions in package mask
   
 cat/pkg-version.you.want  

   

 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.
 
 It's too late for this problem, but I'd recommend installing dmerge. It
 takes a snapshot of what is installed after each emerge --sync, and lets
 you roll back to a previous time (assuming the ebuilds are still in the
 tree).
 
 

Is it a problem that I share my /usr/portage directory from another
machine through NFS?



Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 14:45, Michael Sullivan wrote:
 On 10/26/11 14:05, Michael Sullivan wrote:
 On 10/26/11 14:03, Michael Sullivan wrote:
 On 10/26/11 13:31, Michael Sullivan wrote:
 On 10/26/11 11:36, Mark Knecht wrote:
 On Wed, Oct 26, 2011 at 9:29 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 On 10/26/11 11:07, Neil Bothwick wrote:
 On Wed, 26 Oct 2011 09:23:30 -0500, Michael Sullivan wrote:

 At first I thought that sometime that installed since Oct 12 was 
 causing
 the segfault, so I tried unmerging the 350+ packages that had installed
 since then and listing them in package.mask, but that blew up in my 
 face
 because I don't know a command that forces portage to ignore masked
 packages and install next-highest stable versions.

 Mask higher versions in package mask

 cat/pkg-version.you.want



 I did, but as I said there where 350+ of them.  And every time I tried
 to emerge anything else, I couldn't because some package I needed was
 listed in package mask.  I got the package list that I added to
 package.mask from /var/log/portage-logs for files dated from October 12
 till 24.  It was an epic fail. I couldn't even emerge -e world because
 of those stupid masked package versions...

 OK, I haven't used Myth now in over a year so take this with a grain
 of salt. From the log file it appears that your client isn't
 connecting to the server which likely explains why you don't see the
 programs. I wonder if you've tested connecting to mythconverg manually
 via a terminal? Maybe something like /etc/my.cnf or one of the Myth
 config files got messed up in the update.

 Good luck,
 Mark


 Mysql on camille is broken:

 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'

 I'll do some googling, but I thinmichael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend started as a slave backend
 2011-10-26 13:48:02.390 New DB connection, total: 2
 2011-10-26 13:48:02.401 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.426 New DB connection, total: 3
 2011-10-26 13:48:02.462 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.728 MediaServer:: Loopback address specified -
 127.0.0.1. Disabling UPnP
 2011-10-26 13:48:02.728 Main::Registering HttpStatus Extension
 2011-10-26 13:48:02.728 Enabled verbose msgs:  important general
 2011-10-26 13:48:03.773 Connecting to master server: 192.168.2.3:6543
 2011-10-26 13:48:03.773 Connected successfully
 2011-10-26 13:48:12.673 mythbackend: Running housekeeping thread
 2011-10-26 13:48:33.781 MythSocket(8219290:23): readStringList: Error,
 timed out after 3 ms.
 QMutex::unlock: mutex lock failure: Invalid argument
 k that sounds like a config file

 It's been up for about 20 minutes and it hasn't crashed.  None of the
 things I mentioned before work, but at least it's not crashing, right?
 This is a good step forward...
 directive.  I'll probably do a rebuild of mysql as well...


 I googled the expire_logs thing and what I found said to comment it out
 and restart mysql.  I did that, and now the output of mythbackend says:



 I forgot that I was going to post the output of mythbackend to see if
 any of the changes provide hints to solving any of my other myth problems:

 michael@camille ~ $ sudo mythbackend
 2011-10-26 13:48:02.094 mythbackend version: branches/release-0-23-fixes
 [27077] www.mythtv.org
 2011-10-26 13:48:02.094 Using runtime prefix = /usr
 2011-10-26 13:48:02.094 Using configuration directory = /root/.mythtv
 2011-10-26 13:48:02.124 Unable to read configuration file mysql.txt
 2011-10-26 13:48:02.124 Empty LocalHostName.
 2011-10-26 13:48:02.124 Using localhost value of camille
 2011-10-26 13:48:02.176 New DB connection, total: 1
 2011-10-26 13:48:02.223 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.223 Closing DB connection named 'DBManager0'
 2011-10-26 13:48:02.231 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 13:48:02.344 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 13:48:02.348 MythBackend: Running as a slave backend.
 2011-10-26 13:48:02.384 mythbackend: MythBackend

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
Here's my output from a mythfrontend run at the terminal:

michael@camille ~ $ mythfrontend
2011-10-26 16:16:27.121 mythfrontend version:
branches/release-0-23-fixes [27077] www.mythtv.org
2011-10-26 16:16:27.121 Using runtime prefix = /usr
2011-10-26 16:16:27.121 Using configuration directory =
/home/michael/.mythtv
2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
2011-10-26 16:16:27.940 Empty LocalHostName.
2011-10-26 16:16:27.940 Using localhost value of camille
2011-10-26 16:16:28.039 New DB connection, total: 1
2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
localhost
2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support enabled
2011-10-26 16:16:28.183 DPMS is disabled.
2011-10-26 16:16:28.185 Primary screen: 0.
2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
localhost
2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
2011-10-26 16:16:28.876 Primary screen: 0.
2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
'/var/run/lirc/lircd'
eno: No such file or directory (2)
2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
Failed to read /home/michael/.mythtv/joystickmenurc
2011-10-26 16:16:29.061 Using Frameless Window
2011-10-26 16:16:29.061 Using Full Screen Window
2011-10-26 16:16:29.892 Using the Qt painter
2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/metallurgy/base.xml'
2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/default-wide/base.xml'
2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/default/base.xml'
2011-10-26 16:16:30.807 New DB connection, total: 2
2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer): 1254
2011-10-26 16:16:30.822 Connected to database 'mythconverg' at host:
localhost
2011-10-26 16:16:32.928 Registering Internal as a media playback plugin.
2011-10-26 16:16:33.145 Current MythMusic Schema Version
(MusicDBSchemaVer): 1017
2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
eno: No such file or directory (2)
2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
/dev/power,
eno: No such file or directory (2)
2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
eno: No such file or directory (2)
2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
/dev/power,
eno: No such file or directory (2)
2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2011-10-26 16:16:33.421 Cannot load language en_us for module mythmusic
2011-10-26 16:16:33.425 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/metallurgy/menu-ui.xml
mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
/VIDEO_TS, /.TOC.plist, /vcd or /svcd
2011-10-26 16:16:33.545 Searching CD statistically - file by file!
2011-10-26 16:16:34.035 Loading menu theme from
/usr/share/mythtv/themes/defaultmenu//mainmenu.xml
2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
192.168.2.3:6543 (try 1 of 1)
2011-10-26 16:16:34.242 Using protocol version 23056
2011-10-26 16:16:36.240 Loading menu theme from
/usr/share/mythtv/themes/defaultmenu//library.xml
2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/metallurgy/recordings-ui.xml
2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
192.168.2.3:6543 (try 1 of 1)
2011-10-26 16:16:47.998 Using protocol version 23056
2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
title unknown to us in m_recordingList
 Jessie:Zombie Tea Party 5
2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:
2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
Could not connect to server :6543
2011-10-26 16:16:58.654 MythSocket(8de8cf8:39): Unable to lookup:
2011-10-26 16:16:58.654 RemoteFile::openSocket(file data socket), Error:
Could not connect to server :6543
2011-10-26 16:16:58.670 MythSocket(8e8bb28:39): Unable to lookup:
2011-10-26 16:16:58.670 RemoteFile::openSocket(control socket), Error:
Could not connect to 

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 16:46, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
 Here's my output from a mythfrontend run at the terminal:

 michael@camille ~ $ mythfrontend
 2011-10-26 16:16:27.121 mythfrontend version:
 branches/release-0-23-fixes [27077] www.mythtv.org
 2011-10-26 16:16:27.121 Using runtime prefix = /usr
 2011-10-26 16:16:27.121 Using configuration directory =
 /home/michael/.mythtv
 2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
 2011-10-26 16:16:27.940 Empty LocalHostName.
 2011-10-26 16:16:27.940 Using localhost value of camille
 2011-10-26 16:16:28.039 New DB connection, total: 1
 2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
 2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support enabled
 2011-10-26 16:16:28.183 DPMS is disabled.
 2011-10-26 16:16:28.185 Primary screen: 0.
 2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
 2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
 2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
 2011-10-26 16:16:28.876 Primary screen: 0.
 2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
 2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'
  eno: No such file or directory (2)
 2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
 Failed to read /home/michael/.mythtv/joystickmenurc
 2011-10-26 16:16:29.061 Using Frameless Window
 2011-10-26 16:16:29.061 Using Full Screen Window
 2011-10-26 16:16:29.892 Using the Qt painter
 2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/metallurgy/base.xml'
 2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default-wide/base.xml'
 2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default/base.xml'
 2011-10-26 16:16:30.807 New DB connection, total: 2
 2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer): 1254
 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:32.928 Registering Internal as a media playback plugin.
 2011-10-26 16:16:33.145 Current MythMusic Schema Version
 (MusicDBSchemaVer): 1017
 2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
  eno: No such file or directory (2)
 2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
 /dev/power,
  eno: No such file or directory (2)
 2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
  eno: No such file or directory (2)
 2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
 /dev/power,
  eno: No such file or directory (2)
 2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
 mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff
 ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for module
 mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/menu-ui.xml
 mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
 2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
 2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of
  /VIDEO_TS, /.TOC.plist, /vcd or /svcd
 2011-10-26 16:16:33.545 Searching CD statistically - file by file!
 2011-10-26 16:16:34.035 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
 2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
 2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:34.242 Using protocol version 23056
 2011-10-26 16:16:36.240 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//library.xml
 2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
 2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:47.998 Using protocol version 23056
 2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
 title unknown to us in m_recordingList
  Jessie:Zombie Tea Party 5
 2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:
 2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
  Could not connect to server :6543
 2011-10-26 16:16:58.654 MythSocket(8de8cf8:39): Unable to lookup:
 2011-10-26 16:16:58.654 RemoteFile::openSocket(file data socket), Error:
  Could not connect to server :6543

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 17:06, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 16:51:15 schrieb Michael Sullivan:
 On 10/26/11 16:46, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
 Here's my output from a mythfrontend run at the terminal:

 michael@camille ~ $ mythfrontend
 2011-10-26 16:16:27.121 mythfrontend version:
 branches/release-0-23-fixes [27077] www.mythtv.org
 2011-10-26 16:16:27.121 Using runtime prefix = /usr
 2011-10-26 16:16:27.121 Using configuration directory =
 /home/michael/.mythtv
 2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
 2011-10-26 16:16:27.940 Empty LocalHostName.
 2011-10-26 16:16:27.940 Using localhost value of camille
 2011-10-26 16:16:28.039 New DB connection, total: 1
 2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
 2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support
 enabled 2011-10-26 16:16:28.183 DPMS is disabled.
 2011-10-26 16:16:28.185 Primary screen: 0.
 2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
 2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
 2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
 2011-10-26 16:16:28.876 Primary screen: 0.
 2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
 2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'

eno: No such file or directory (2)

 2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
 Failed to read /home/michael/.mythtv/joystickmenurc
 2011-10-26 16:16:29.061 Using Frameless Window
 2011-10-26 16:16:29.061 Using Full Screen Window
 2011-10-26 16:16:29.892 Using the Qt painter
 2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/metallurgy/base.xml'
 2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default-wide/base.xml'
 2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default/base.xml'
 2011-10-26 16:16:30.807 New DB connection, total: 2
 2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer):
 1254 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at
 host: localhost
 2011-10-26 16:16:32.928 Registering Internal as a media playback
 plugin.
 2011-10-26 16:16:33.145 Current MythMusic Schema Version
 (MusicDBSchemaVer): 1017
 2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat
 /dev/bdi, 
eno: No such file or directory (2)

 2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
 /dev/power,

eno: No such file or directory (2)

 2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat
 /dev/bdi, 
eno: No such file or directory (2)

 2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
 /dev/power,

eno: No such file or directory (2)

 2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
 mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mk
 a,aiff ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for
 module mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window
 theme from /usr/share/mythtv/themes/metallurgy/menu-ui.xml
 mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
 2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
 2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of

/VIDEO_TS, /.TOC.plist, /vcd or /svcd

 2011-10-26 16:16:33.545 Searching CD statistically - file by file!
 2011-10-26 16:16:34.035 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
 2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
 2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:34.242 Using protocol version 23056
 2011-10-26 16:16:36.240 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//library.xml
 2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
 2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:47.998 Using protocol version 23056
 2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
 title unknown to us in m_recordingList

  Jessie:Zombie Tea Party 5

 2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:

 2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
Could not connect to server :6543

 2011-10-26 16:16:58.654 MythSocket(8de8cf8:39): Unable to lookup:

 2011-10

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 17:09, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 16:51:15 schrieb Michael Sullivan:
 On 10/26/11 16:46, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 16:25:37 schrieb Michael Sullivan:
 Here's my output from a mythfrontend run at the terminal:

 michael@camille ~ $ mythfrontend
 2011-10-26 16:16:27.121 mythfrontend version:
 branches/release-0-23-fixes [27077] www.mythtv.org
 2011-10-26 16:16:27.121 Using runtime prefix = /usr
 2011-10-26 16:16:27.121 Using configuration directory =
 /home/michael/.mythtv
 2011-10-26 16:16:27.940 Unable to read configuration file mysql.txt
 2011-10-26 16:16:27.940 Empty LocalHostName.
 2011-10-26 16:16:27.940 Using localhost value of camille
 2011-10-26 16:16:28.039 New DB connection, total: 1
 2011-10-26 16:16:28.090 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.091 Closing DB connection named 'DBManager0'
 2011-10-26 16:16:28.181 ScreenSaverX11Private: XScreenSaver support
 enabled 2011-10-26 16:16:28.183 DPMS is disabled.
 2011-10-26 16:16:28.185 Primary screen: 0.
 2011-10-26 16:16:28.186 Connected to database 'mythconverg' at host:
 localhost
 2011-10-26 16:16:28.189 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.242 Desktop video mode: 1024x768 75.0807 Hz
 2011-10-26 16:16:28.756 MythUI Image Cache size set to 20971520 bytes
 2011-10-26 16:16:28.861 Enabled verbose msgs:  important general
 2011-10-26 16:16:28.876 Primary screen: 0.
 2011-10-26 16:16:28.881 Using screen 0, 1024x768 at 0,0
 2011-10-26 16:16:28.898 Using theme base resolution of 1280x720
 2011-10-26 16:16:28.935 LIRC, Error: Failed to connect to Unix socket
 '/var/run/lirc/lircd'

eno: No such file or directory (2)

 2011-10-26 16:16:28.935 JoystickMenuThread Error: Joystick disabled -
 Failed to read /home/michael/.mythtv/joystickmenurc
 2011-10-26 16:16:29.061 Using Frameless Window
 2011-10-26 16:16:29.061 Using Full Screen Window
 2011-10-26 16:16:29.892 Using the Qt painter
 2011-10-26 16:16:30.306 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/metallurgy/base.xml'
 2011-10-26 16:16:30.525 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default-wide/base.xml'
 2011-10-26 16:16:30.800 XMLParseBase: Loaded base theme from
 '/usr/share/mythtv/themes/default/base.xml'
 2011-10-26 16:16:30.807 New DB connection, total: 2
 2011-10-26 16:16:30.820 Current MythTV Schema Version (DBSchemaVer):
 1254 2011-10-26 16:16:30.822 Connected to database 'mythconverg' at
 host: localhost
 2011-10-26 16:16:32.928 Registering Internal as a media playback
 plugin.
 2011-10-26 16:16:33.145 Current MythMusic Schema Version
 (MusicDBSchemaVer): 1017
 2011-10-26 16:16:33.338 MMUnix::AddDevice() Error: failed to stat
 /dev/bdi, 
eno: No such file or directory (2)

 2011-10-26 16:16:33.352 MMUnix::AddDevice() Error: failed to stat
 /dev/power,

eno: No such file or directory (2)

 2011-10-26 16:16:33.371 MMUnix::AddDevice() Error: failed to stat
 /dev/bdi, 
eno: No such file or directory (2)

 2011-10-26 16:16:33.386 MMUnix::AddDevice() Error: failed to stat
 /dev/power,

eno: No such file or directory (2)

 2011-10-26 16:16:33.403 MonitorRegisterExtensions(0x40,
 mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mk
 a,aiff ,swa,wv) 2011-10-26 16:16:33.421 Cannot load language en_us for
 module mythmusic 2011-10-26 16:16:33.425 XMLParseBase: Loading window
 theme from /usr/share/mythtv/themes/metallurgy/menu-ui.xml
 mount: can't find /dev/sdd1 in /etc/fstab or /etc/mtab
 2011-10-26 16:16:33.538 Failed to mount /dev/sdd1.
 2011-10-26 16:16:33.545 CD/DVD '/mnt/cdrom' contained none of

/VIDEO_TS, /.TOC.plist, /vcd or /svcd

 2011-10-26 16:16:33.545 Searching CD statistically - file by file!
 2011-10-26 16:16:34.035 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
 2011-10-26 16:16:34.046 Found mainmenu.xml for theme 'metallurgy'
 2011-10-26 16:16:34.225 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:34.242 Using protocol version 23056
 2011-10-26 16:16:36.240 Loading menu theme from
 /usr/share/mythtv/themes/defaultmenu//library.xml
 2011-10-26 16:16:37.723 XMLParseBase: Loading window theme from
 /usr/share/mythtv/themes/metallurgy/recordings-ui.xml
 2011-10-26 16:16:47.991 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 16:16:47.998 Using protocol version 23056
 2011-10-26 16:16:55.044 PlaybackBox: UpdateUIListItem called with a
 title unknown to us in m_recordingList

  Jessie:Zombie Tea Party 5

 2011-10-26 16:16:58.624 MythSocket(92ded58:39): Unable to lookup:

 2011-10-26 16:16:58.625 RemoteFile::openSocket(control socket), Error:
Could not connect to server :6543

 2011-10-26 16:16:58.654 MythSocket(8de8cf8:39): Unable to lookup:

 2011-10

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
I ran mythfilldatabase and redirected it to a file.  I don't know if
this list allows attachments or not, and it's probably too long to paste
here.  At the end though I saw something strange:

2011-10-26 17:26:04.731 Grab complete.  Actual data from Tue Nov 8
05:00:00 2011 to Wed Nov 9 05:00:00 2011 (UTC)
2011-10-26 17:26:04.734 Main temp tables populated.
2011-10-26 17:26:04.849 Did not find any new program data.
2011-10-26 17:26:04.850 Failed to fetch some program info
2011-10-26 17:26:04.855 mythfilldatabase: Failed to fetch some program info
2011-10-26 17:26:04.855 Adjusting program database end times.
2011-10-26 17:26:04.856 0 replacements made
2011-10-26 17:26:04.859 mythfilldatabase: Listings Download Finished
2011-10-26 17:26:04.859 Marking generic episodes.
2011-10-26 17:26:04.860 Found 0
2011-10-26 17:26:04.860 Fudging non-unique programids with multiple parts.
2011-10-26 17:26:04.861 Found 0
2011-10-26 17:26:04.862 Marking repeats.
2011-10-26 17:26:04.865 Found 0
2011-10-26 17:26:04.865 Unmarking new episode rebroadcast repeats.
2011-10-26 17:26:04.866 Found 0
2011-10-26 17:26:04.866 Marking episode first showings.
2011-10-26 17:26:04.868 Found 0
2011-10-26 17:26:04.868 Marking episode last showings.
2011-10-26 17:26:04.869 Found 0
2011-10-26 17:26:04.874 Grabbing next suggested grabbing time
2011-10-26 17:26:05.350 DataDirect: BlockedTime is: 2011-10-26T17:26:05
2011-10-26 17:26:05.350 DataDirect: NextSuggestedTime is:
2011-10-27T06:07:21
2011-10-26 17:26:05.355
===
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.|
===
2011-10-26 17:26:05.366 MythContext: Connecting to backend server:
192.168.2.3:6543 (try 1 of 1)
2011-10-26 17:26:05.367 Using protocol version 23056
2011-10-26 17:26:05.420 Received a remote 'Clear Cache' request
2011-10-26 17:26:06.458 mythfilldatabase run complete.
2011-10-26 17:26:06.459 DataDirect: Deleting temporary files

It failed to fetch some program info and it did not find any episodes OF
ANY KIND!  I have no program listings available at all in mythfrontend.
 How do I fix this?



Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 17:32, Michael Schreckenbauer wrote:
 
 So you did run mysql_upgrade and same as before? Some words about what you 
 did 
 and some relevant output of the command (if any) wouldn't hurt ;)
 Have you tried mysql_fix_privilege_tables? After that, you would need to run 
 the steps mentioned in the wiki again (I think), giving the password you 
 entered in myth-setup to the UPDATE command.
 
 Best,
 Michael
 
 

camille ~ # mysql_upgrade -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306'
'--socket=/var/run/mysqld/mysqld.sock'
Failed to ALTER DATABASE `#mysql50#mythconverg.bak` UPGRADE DATA
DIRECTORY NAME
Error: Incorrect database name '#mysql50#mythconverg.bak'
Running 'mysqlcheck' with connection arguments: '--port=3306'
'--socket=/var/run/mysqld/mysqld.sock'
forum.phpbb_auth_access
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_auth_access` or dump/reload to fix it!
forum.phpbb_banlist
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_banlist` or dump/reload to fix it!
forum.phpbb_categories
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_categories` or dump/reload to fix it!
forum.phpbb_config
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_config` or dump/reload to fix it!
forum.phpbb_confirm
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_confirm` or dump/reload to fix it!
forum.phpbb_disallow
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_disallow` or dump/reload to fix it!
forum.phpbb_forum_prune
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_forum_prune` or dump/reload to fix it!
forum.phpbb_forums
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_forums` or dump/reload to fix it!
forum.phpbb_groups
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_groups` or dump/reload to fix it!
forum.phpbb_posts
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_posts` or dump/reload to fix it!
forum.phpbb_posts_text
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_posts_text` or dump/reload to fix it!
forum.phpbb_privmsgs
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_privmsgs` or dump/reload to fix it!
forum.phpbb_privmsgs_text
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_privmsgs_text` or dump/reload to fix it!
forum.phpbb_ranks
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_ranks` or dump/reload to fix it!
forum.phpbb_search_results
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_search_results` or dump/reload to fix it!
forum.phpbb_search_wordlist
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_search_wordlist` or dump/reload to fix it!
forum.phpbb_search_wordmatch
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_search_wordmatch` or dump/reload to fix it!
forum.phpbb_sessions
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_sessions` or dump/reload to fix it!
forum.phpbb_sessions_keys
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_sessions_keys` or dump/reload to fix it!
forum.phpbb_smilies
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_smilies` or dump/reload to fix it!
forum.phpbb_themes
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_themes` or dump/reload to fix it!
forum.phpbb_themes_name
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_themes_name` or dump/reload to fix it!
forum.phpbb_topics
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_topics` or dump/reload to fix it!
forum.phpbb_topics_watch
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_topics_watch` or dump/reload to fix it!
forum.phpbb_user_group
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_user_group` or dump/reload to fix it!
forum.phpbb_users
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_users` or dump/reload to fix it!
forum.phpbb_vote_desc
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_vote_desc` or dump/reload to fix it!
forum.phpbb_vote_results
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_vote_results` or dump/reload to fix it!
forum.phpbb_vote_voters
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_vote_voters` or dump/reload to fix it!
forum.phpbb_words
error: Table upgrade required. Please do REPAIR TABLE
`phpbb_words` or dump/reload to fix it!
movies.also_available
error: Table upgrade required. Please do REPAIR TABLE
`also_available` or dump/reload to fix it!
movies.do_not_watch
error: Table upgrade required. Please do REPAIR TABLE
`do_not_watch` or dump/reload to fix it!
movies.movies_to_review
error: Table upgrade required. Please do REPAIR TABLE
`movies_to_review` or dump/reload to fix it!
movies.reviews
error

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 17:53, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 17:42:14 schrieb Michael Sullivan:
 On 10/26/11 17:32, Michael Schreckenbauer wrote:
 So you did run mysql_upgrade and same as before? Some words about what
 you did and some relevant output of the command (if any) wouldn't hurt
 ;) Have you tried mysql_fix_privilege_tables? After that, you would
 need to run the steps mentioned in the wiki again (I think), giving the
 password you entered in myth-setup to the UPDATE command.

 Best,
 Michael

 camille ~ # mysql_upgrade -p
 Enter password:
 Looking for 'mysql' as: mysql
 Looking for 'mysqlcheck' as: mysqlcheck
 Running 'mysqlcheck' with connection arguments: '--port=3306'
 '--socket=/var/run/mysqld/mysqld.sock'
 Failed to ALTER DATABASE `#mysql50#mythconverg.bak` UPGRADE DATA
 DIRECTORY NAME
 Error: Incorrect database name '#mysql50#mythconverg.bak'
 Running 'mysqlcheck' with connection arguments: '--port=3306'
 '--socket=/var/run/mysqld/mysqld.sock'
 forum.phpbb_auth_access
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_auth_access` or dump/reload to fix it!
 forum.phpbb_banlist
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_banlist` or dump/reload to fix it!
 forum.phpbb_categories
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_categories` or dump/reload to fix it!
 forum.phpbb_config
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_config` or dump/reload to fix it!
 forum.phpbb_confirm
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_confirm` or dump/reload to fix it!
 forum.phpbb_disallow
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_disallow` or dump/reload to fix it!
 forum.phpbb_forum_prune
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_forum_prune` or dump/reload to fix it!
 forum.phpbb_forums
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_forums` or dump/reload to fix it!
 forum.phpbb_groups
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_groups` or dump/reload to fix it!
 forum.phpbb_posts
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_posts` or dump/reload to fix it!
 forum.phpbb_posts_text
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_posts_text` or dump/reload to fix it!
 forum.phpbb_privmsgs
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_privmsgs` or dump/reload to fix it!
 forum.phpbb_privmsgs_text
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_privmsgs_text` or dump/reload to fix it!
 forum.phpbb_ranks
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_ranks` or dump/reload to fix it!
 forum.phpbb_search_results
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_search_results` or dump/reload to fix it!
 forum.phpbb_search_wordlist
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_search_wordlist` or dump/reload to fix it!
 forum.phpbb_search_wordmatch
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_search_wordmatch` or dump/reload to fix it!
 forum.phpbb_sessions
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_sessions` or dump/reload to fix it!
 forum.phpbb_sessions_keys
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_sessions_keys` or dump/reload to fix it!
 forum.phpbb_smilies
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_smilies` or dump/reload to fix it!
 forum.phpbb_themes
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_themes` or dump/reload to fix it!
 forum.phpbb_themes_name
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_themes_name` or dump/reload to fix it!
 forum.phpbb_topics
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_topics` or dump/reload to fix it!
 forum.phpbb_topics_watch
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_topics_watch` or dump/reload to fix it!
 forum.phpbb_user_group
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_user_group` or dump/reload to fix it!
 forum.phpbb_users
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_users` or dump/reload to fix it!
 forum.phpbb_vote_desc
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_vote_desc` or dump/reload to fix it!
 forum.phpbb_vote_results
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_vote_results` or dump/reload to fix it!
 forum.phpbb_vote_voters
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_vote_voters` or dump/reload to fix it!
 forum.phpbb_words
 error: Table upgrade required. Please do REPAIR TABLE
 `phpbb_words` or dump/reload to fix it!
 movies.also_available
 error: Table upgrade required. Please do REPAIR TABLE
 `also_available` or dump/reload to fix it!
 movies.do_not_watch
 error: Table upgrade required

Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 17:58, Michael Schreckenbauer wrote:
 Am Mittwoch, 26. Oktober 2011, 17:33:04 schrieb Michael Sullivan:
 I ran mythfilldatabase and redirected it to a file.  I don't know if
 this list allows attachments or not, and it's probably too long to paste
 here.  At the end though I saw something strange:

 2011-10-26 17:26:04.731 Grab complete.  Actual data from Tue Nov 8
 05:00:00 2011 to Wed Nov 9 05:00:00 2011 (UTC)
 2011-10-26 17:26:04.734 Main temp tables populated.
 2011-10-26 17:26:04.849 Did not find any new program data.
 2011-10-26 17:26:04.850 Failed to fetch some program info
 2011-10-26 17:26:04.855 mythfilldatabase: Failed to fetch some program info
 2011-10-26 17:26:04.855 Adjusting program database end times.
 2011-10-26 17:26:04.856 0 replacements made
 2011-10-26 17:26:04.859 mythfilldatabase: Listings Download Finished
 2011-10-26 17:26:04.859 Marking generic episodes.
 2011-10-26 17:26:04.860 Found 0
 2011-10-26 17:26:04.860 Fudging non-unique programids with multiple parts.
 2011-10-26 17:26:04.861 Found 0
 2011-10-26 17:26:04.862 Marking repeats.
 2011-10-26 17:26:04.865 Found 0
 2011-10-26 17:26:04.865 Unmarking new episode rebroadcast repeats.
 2011-10-26 17:26:04.866 Found 0
 2011-10-26 17:26:04.866 Marking episode first showings.
 2011-10-26 17:26:04.868 Found 0
 2011-10-26 17:26:04.868 Marking episode last showings.
 2011-10-26 17:26:04.869 Found 0
 2011-10-26 17:26:04.874 Grabbing next suggested grabbing time
 2011-10-26 17:26:05.350 DataDirect: BlockedTime is: 2011-10-26T17:26:05
 2011-10-26 17:26:05.350 DataDirect: NextSuggestedTime is:
 2011-10-27T06:07:21
 2011-10-26 17:26:05.355
 ===

 | Attempting to contact the master backend for rescheduling.  |
 | If the master is not running, rescheduling will happen when |
 | the master backend is restarted.|

 ===
 2011-10-26 17:26:05.366 MythContext: Connecting to backend server:
 192.168.2.3:6543 (try 1 of 1)
 2011-10-26 17:26:05.367 Using protocol version 23056
 2011-10-26 17:26:05.420 Received a remote 'Clear Cache' request
 2011-10-26 17:26:06.458 mythfilldatabase run complete.
 2011-10-26 17:26:06.459 DataDirect: Deleting temporary files

 It failed to fetch some program info and it did not find any episodes OF
 ANY KIND!  I have no program listings available at all in mythfrontend.
  How do I fix this?
 
 Is xmltv installed? Or do you use some other way to get listings?
 
 Best,
 Michael
 
 

It's been so long (as I said at the beginning of this thread, my setup
has just worked since 2006.  I guess I do.  My log files say it
emerged this morning.  Is there any configuration I need to do on it?  I
didn't see any in the README file in /usr/share/doc/xmltv-0.5.50...



Re: [gentoo-user] Mythtv problems

2011-10-26 Thread Michael Sullivan
On 10/26/11 19:03, kashani wrote:
 On 10/26/2011 11:31 AM, Michael Sullivan wrote:
 camille ~ # mysql -u root -p
 mysql: unknown variable 'expire_logs_days=10'

 I'll do some googling, but I think that sounds like a config file
 directive.  I'll probably do a rebuild of mysql as well...

 
 You should figure out why that setting is unknown. I suspect you didn't
 put it in the right place in your config. Also your drive will fill up
 with Mysql bin logs after serveral months with Mythtv without it working.
 
 [mysqld]
 # this settings must come after [mysqld] to take affect
 expire_logs_days = 10
 max_binlog_size = 100M
 
 kashani
 

I've rebuild mysql and now it starts without any errors...



Re: [gentoo-user] Mythtv problems [SOLVED]

2011-10-26 Thread Michael Sullivan
I was stupid and forgot to mark us-cable in the video sources section of
mythtv-setup.  It's all working now.




[gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
I'm trying to get it to work with Gentoo Linux.  I think I've followed
the steps found at
http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
but I'm still getting errors.  When I plug the TV card into the USB slot
in the back of the computer and search dmesg, it says:

michael@carter /lib/firmware $ dmesg | grep pvrusb2
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.
pvrusb2: Device being rendered inoperable
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.


I've emerged linuxtv-dvb-firmware and reissued the above command with no
change.  How do I get Gentoo to recognize this card?
-Michael Sullivan-



Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 16:52, Florian Philipp wrote:
 Am 23.10.2011 23:36, schrieb Michael Sullivan:
 Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
 I'm trying to get it to work with Gentoo Linux.  I think I've followed
 the steps found at
 http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
 but I'm still getting errors.  When I plug the TV card into the USB slot
 in the back of the computer and search dmesg, it says:

 [...]


 I've emerged linuxtv-dvb-firmware and reissued the above command with no
 change.  How do I get Gentoo to recognize this card?
 -Michael Sullivan-

 
 Try media-tv/ivtv-firmware. For some reason, that works better for me.
 And also media-tv/ivtv-utils.
 
 BTW: If your HVR behaves the same as my old PVR2, it can sometimes help
 to suspend and wake the system to get it working.
 

I suspended the system, but now I can't wake it up again!  I hit the
power button, and I heard a sound through the speakers similar to an
error sound.  I would say a barb sound, but I doubt any of you would be
able to make sense of it.  The only visual output of that computer is a
video output component going to the TV set.  I work on that computer
through ssh from another one in another room.  Should I just restart it
manually?  If not, how do I wake it up?



Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 16:52, Florian Philipp wrote:
 Am 23.10.2011 23:36, schrieb Michael Sullivan:
 Hello.  I recently purchased a Hauppauge WinTV-HVR external TV card.
 I'm trying to get it to work with Gentoo Linux.  I think I've followed
 the steps found at
 http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1900 correctly,
 but I'm still getting errors.  When I plug the TV card into the USB slot
 in the back of the computer and search dmesg, it says:

 [...]


 I've emerged linuxtv-dvb-firmware and reissued the above command with no
 change.  How do I get Gentoo to recognize this card?
 -Michael Sullivan-

 
 Try media-tv/ivtv-firmware. For some reason, that works better for me.
 And also media-tv/ivtv-utils.
 
 BTW: If your HVR behaves the same as my old PVR2, it can sometimes help
 to suspend and wake the system to get it working.
 


OK.  I restarted the computer.  (I have never suspended that computer
before and was unsure of what would happen, but I did not realize at the
time that my the game running on my wife's computer was using a samba
share that would be disrupted.)  I had no luck with ivtv-firmware, so I
have reinstalled linuxtv-dvb-firmware-2009.09.19.  Now the output of
dmesg has changed somewhat:

michael@carter ~ $ dmesg | grep -i pvr
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.

Does this help?




Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 17:48, Neil Bothwick wrote:
 On Sun, 23 Oct 2011 16:36:41 -0500, Michael Sullivan wrote:
 
 pvrusb2: request_firmware unable to locate fx2 controller file
 v4l-pvrusb2-73xxx-01.fw
 
 Is this file present in /lib/firmware?
 
 

Nope:

michael@carter ~ $ ls /lib/firmware
3com cpia2 ess  mts_gsm.fw  ti_3410.fwvicam
acenic   cxgb3 kaweth   ositech ti_5052.fw
whiteheat.fw
adaptec  dabusbkeyspan_pda  qlogic  tigon
whiteheat_loader.fw
advansys e100  korg r128tr_smctr.bin  yamaha
atmsar11.fw  edgeport  matrox   radeon  ttusb-budget
bnx2 emi26 mts_cdma.fw  sun v4l-cx25840.fw
cis  emi62 mts_edge.fw  tehuti  v4l-cx25840.fw.1

How do I get that file?



Re: [gentoo-user] Need help with pvrusb2

2011-10-23 Thread Michael Sullivan
On 10/23/11 18:15, Neil Bothwick wrote:
 On Sun, 23 Oct 2011 18:00:52 -0500, Michael Sullivan wrote:
 
 pvrusb2: request_firmware unable to locate fx2 controller file
 v4l-pvrusb2-73xxx-01.fw  

 Is this file present in /lib/firmware?
 
 Nope:
 
 It should be obvious that this needs to be addressed before anything
 else.
 
 How do I get that file?
 
 Putting the filename into Google gave me those instructions in the first
 link.
 
 


OK I've got the file:

michael@carter /lib/firmware $ ls v4l-pvrusb2-73xxx-01.fw
v4l-pvrusb2-73xxx-01.fw

It's still giving me the same errors though:

michael@carter /lib/firmware $ dmesg | grep pvrusb
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
pvrusb2: Did you install the pvrusb2 firmware files in their proper
location?
pvrusb2: request_firmware unable to locate fx2 controller file
v4l-pvrusb2-73xxx-01.fw
pvrusb2: Failure uploading firmware1
pvrusb2: Device initialization was not successful.
pvrusb2: Giving up since device microcontroller firmware appears to be
missing.





Re: [gentoo-user] Need help with pvrusb2 [SOLVED]

2011-10-23 Thread Michael Sullivan
On 10/23/11 18:15, Neil Bothwick wrote:
 On Sun, 23 Oct 2011 18:00:52 -0500, Michael Sullivan wrote:
 
 pvrusb2: request_firmware unable to locate fx2 controller file
 v4l-pvrusb2-73xxx-01.fw  

 Is this file present in /lib/firmware?
 
 Nope:
 
 It should be obvious that this needs to be addressed before anything
 else.
 
 How do I get that file?
 
 Putting the filename into Google gave me those instructions in the first
 link.
 
 

I downloaded that file and rebooted and dmesg griped about another file
and I found it and downloaded it and rebooted and now my output looks
like this, which I'm happy with:


michael@carter ~ $ dmesg | grep -i pvrusb2
pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
usbcore: registered new interface driver pvrusb2
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
pvrusb2: Binding ir_rx_z8f0811_haup to i2c address 0x71.
pvrusb2: Binding ir_tx_z8f0811_haup to i2c address 0x70.
cx25840 2-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
pvrusb2: Attached sub-driver cx25840
pvrusb2: Attached sub-driver tuner
pvrusb2: Supported video standard(s) reported available in hardware:
PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB
pvrusb2: Mapping standards mask=0x300b700
(PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB)
pvrusb2: Setting up 6 unique standard(s)
pvrusb2: Set up standard idx=0 name=PAL-M
pvrusb2: Set up standard idx=1 name=PAL-N
pvrusb2: Set up standard idx=2 name=PAL-Nc
pvrusb2: Set up standard idx=3 name=NTSC-M
pvrusb2: Set up standard idx=4 name=NTSC-Mj
pvrusb2: Set up standard idx=5 name=NTSC-Mk
pvrusb2: Initial video standard (determined by device type): NTSC-M
pvrusb2: Device initialization completed successfully.
pvrusb2: registered device video0 [mpeg]
DVB: registering new adapter (pvrusb2-dvb)


Speaking of which, isn't there an easier way to reload modules than
rebooting?  When I started using Gentoo in 2004, there was an
/etc/init.d/hotplug, which was replaced by /etc/init.d/coldplug, but
neither one seems to be present anymore on the system.  What service
loads modules on bootup now?



[gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
I'm running into space issues (my / partition is at 99% of capacity) and
I'd like some advice on what I can remove and how.  My USE line in
/etc/make.conf looks like this:

USE=-setup declarative static-libs gallium moonlight semantic-desktop
-kdeprefix -aqua policykit cdda vhosts automount flashblock jadetex
vanilla additions mplayer -evo gentoo a52  -asterisk dbus ctype session
zaptel ivtv -kerberos gphoto2 pcre mode-owner -firefox seamonkey
-mozilla candy apache2 oss -apm alsa arts avi berkdb bitmap-fonts cdr
crypt cups doc encode fortran f77 foomaticdb gdbm gif gpm -gnome
gstreamer -gtk -gtk2 imlib jpeg -kde libg++ libwww mad mikmod motif mpeg
ncurses nls oggvorbis pam pdf lib png ppds python -qt quicktime readline
-samba sasl sdl threads nntp spell ssl svga tcltk tcpd truetype usb X
xml xml2 xmms xv zlib x86 imap offensive java mysql examples mmx mmx2
perl divx4linux real mmxext audiofile nas snmp hal unicode guile slp
tidy dvd dvdr dvdread flash glut new-login browserplugin nsplugin bzip2
win32codecs v4l v4l2 ruby sql lirc mythtv dvb ffmpeg userlocales php
-debug jack jack-tempfs portaudio bash-completion bind-mysql joystick
cli cgi ftp dba nptl nptlonly libclamav syslog jikes mpm-leader ithreads
-nautilus tcl expat

and I'd like to completely remove both gnome and kde (except for kpat).
 I use xfce, so that shouldn't be a problem, right?  I've tried emerge
-C gnome and emerge -C kde, but the gnome line only unmerged the final
gnome package, and the kde line didn't work at all (I'm thinking it's
called kde-meta now), but unmerging kde-meta only unmerged the final kde
package.  How do I do this?



Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
I don't know much about what each USE flag below actually does.  All of
them have been recommended to me by various elog messages and failed
attempts at emerge.  I'm trying to put all the flags emerge recommends
for a particular package in /etc/portage/package.use now.  Can any of
the below flags be changed to decrease the size of my system?

On 07/17/11 16:28, James Wall wrote:
 On Sun, Jul 17, 2011 at 4:19 PM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 I'm running into space issues (my / partition is at 99% of capacity) and
 I'd like some advice on what I can remove and how.  My USE line in
 /etc/make.conf looks like this:

 USE=-setup declarative static-libs gallium moonlight semantic-desktop
 -kdeprefix -aqua policykit cdda vhosts automount flashblock jadetex
 vanilla additions mplayer -evo gentoo a52  -asterisk dbus ctype session
 zaptel ivtv -kerberos gphoto2 pcre mode-owner -firefox seamonkey
 -mozilla candy apache2 oss -apm alsa arts avi berkdb bitmap-fonts cdr
 crypt cups doc encode fortran f77 foomaticdb gdbm gif gpm -gnome
 gstreamer -gtk -gtk2 imlib jpeg -kde libg++ libwww mad mikmod motif mpeg
 ncurses nls oggvorbis pam pdf lib png ppds python -qt quicktime readline
 -samba sasl sdl threads nntp spell ssl svga tcltk tcpd truetype usb X
 xml xml2 xmms xv zlib x86 imap offensive java mysql examples mmx mmx2
 perl divx4linux real mmxext audiofile nas snmp hal unicode guile slp
 tidy dvd dvdr dvdread flash glut new-login browserplugin nsplugin bzip2
 win32codecs v4l v4l2 ruby sql lirc mythtv dvb ffmpeg userlocales php
 -debug jack jack-tempfs portaudio bash-completion bind-mysql joystick
 cli cgi ftp dba nptl nptlonly libclamav syslog jikes mpm-leader ithreads
 -nautilus tcl expat

 and I'd like to completely remove both gnome and kde (except for kpat).
  I use xfce, so that shouldn't be a problem, right?  I've tried emerge
 -C gnome and emerge -C kde, but the gnome line only unmerged the final
 gnome package, and the kde line didn't work at all (I'm thinking it's
 called kde-meta now), but unmerging kde-meta only unmerged the final kde
 package.  How do I do this?


 
 I would recommend using emerge -p --depclean to see what can be yanked
 off automatically. since you have the gnome and kde-meta packages
 already uninstalled it should pull all the chunks out for you.
 




Re: [gentoo-user] Re: Decrapifying my system

2011-07-17 Thread Michael Sullivan
My /usr/portage is shared via NFS from another machine on the network,
so space there isn't really a problem.  Yet.  Anyway, I did an eclean
distfiles a couple of days ago, along with an eclean packages for all
three machines on the network...

On 07/17/11 17:14, walt wrote:
 On 07/17/2011 02:28 PM, James Wall wrote:
 On Sun, Jul 17, 2011 at 4:19 PM, Michael Sullivan msulli1...@gmail.com 
 wrote:
 I'm running into space issues (my / partition is at 99% of capacity) and
 I'd like some advice on what I can remove and how.  My USE line in
 /etc/make.conf looks like this:

 USE=-setup declarative static-libs gallium moonlight semantic-desktop
 -kdeprefix -aqua policykit cdda vhosts automount flashblock jadetex
 vanilla additions mplayer -evo gentoo a52  -asterisk dbus ctype session
 zaptel ivtv -kerberos gphoto2 pcre mode-owner -firefox seamonkey
 -mozilla candy apache2 oss -apm alsa arts avi berkdb bitmap-fonts cdr
 crypt cups doc encode fortran f77 foomaticdb gdbm gif gpm -gnome
 gstreamer -gtk -gtk2 imlib jpeg -kde libg++ libwww mad mikmod motif mpeg
 ncurses nls oggvorbis pam pdf lib png ppds python -qt quicktime readline
 -samba sasl sdl threads nntp spell ssl svga tcltk tcpd truetype usb X
 xml xml2 xmms xv zlib x86 imap offensive java mysql examples mmx mmx2
 perl divx4linux real mmxext audiofile nas snmp hal unicode guile slp
 tidy dvd dvdr dvdread flash glut new-login browserplugin nsplugin bzip2
 win32codecs v4l v4l2 ruby sql lirc mythtv dvb ffmpeg userlocales php
 -debug jack jack-tempfs portaudio bash-completion bind-mysql joystick
 cli cgi ftp dba nptl nptlonly libclamav syslog jikes mpm-leader ithreads
 -nautilus tcl expat

 and I'd like to completely remove both gnome and kde (except for kpat).
  I use xfce, so that shouldn't be a problem, right?  I've tried emerge
 -C gnome and emerge -C kde, but the gnome line only unmerged the final
 gnome package, and the kde line didn't work at all (I'm thinking it's
 called kde-meta now), but unmerging kde-meta only unmerged the final kde
 package.  How do I do this?



 I would recommend using emerge -p --depclean to see what can be yanked
 off automatically. since you have the gnome and kde-meta packages
 already uninstalled it should pull all the chunks out for you.
 
 I also use eclean-dist -d every week or two to delete the obsolete source
 tarballs from /usr/portage/distfiles.  Sometimes I free up a huge amount of
 disk space that way.
 
 
 




Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
I don't understand how to use logrotate, but I'm pretty sure cron runs
it.  /var/lib/mysql was using 21G, so I think I can go in there (or at
least into the mysql client) and delete the databases that I myself have
created and am no longer using.  If I understood the command you
recommended it mounts / on /mnt/tmp and then du's it.  That's still
running, but isn't that the entire system?

On 07/17/11 17:17, Neil Bothwick wrote:
 On Sun, 17 Jul 2011 16:19:14 -0500, Michael Sullivan wrote:
 
 I'm running into space issues (my / partition is at 99% of capacity) and
 I'd like some advice on what I can remove and how.
 
 It's impossible to answer that without knowing what is on /. Is /var
 on /? If so do you use logrotate, or is /var/lib/mysql full of .bin files?
 
 Without knowing what is taking up the space, you can't know what needs to
 be removed. The first step could be
 
 mount --bind / /mnt/tmp
 du -ch /mnt/tmp/*
 
 




Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
What should I do about the *-bin files in /var/lib/mysql?  I've dropped
the databases I've created and don't need anymore, but there's still a
lot of files in there, and it's still 21G.  There are several files
there dated 2008 that are also on another computer.  How do I safely
remove them?


On 07/17/11 17:17, Neil Bothwick wrote:
 On Sun, 17 Jul 2011 16:19:14 -0500, Michael Sullivan wrote:
 
 I'm running into space issues (my / partition is at 99% of capacity) and
 I'd like some advice on what I can remove and how.
 
 It's impossible to answer that without knowing what is on /. Is /var
 on /? If so do you use logrotate, or is /var/lib/mysql full of .bin files?
 
 Without knowing what is taking up the space, you can't know what needs to
 be removed. The first step could be
 
 mount --bind / /mnt/tmp
 du -ch /mnt/tmp/*
 
 




Re: [gentoo-user] Decrapifying my system

2011-07-17 Thread Michael Sullivan
Does this make sense:

camille mysql # du -h
572K./mysql
8.0K./test
239M./mythconverg
128K./vpopmail
152K./myFantasy
120K./pmadb
332K./wikidb
36K ./mysql_cpp_data
592K./forum
124K./movies
84K ./myusers
4.4M./mythconverg.bak
21G .


I'm pretty sure those number don't add up to 21G. So why is it saying
they do???

On 07/17/11 18:11, Neil Bothwick wrote:
 On Sun, 17 Jul 2011 17:48:28 -0500, Michael Sullivan wrote:
 
 What should I do about the *-bin files in /var/lib/mysql?  I've dropped
 the databases I've created and don't need anymore, but there's still a
 lot of files in there, and it's still 21G.  There are several files
 there dated 2008 that are also on another computer.  How do I safely
 remove them?
 
 With rm.
 
 




[gentoo-user] Need dovecot configuration help

2011-05-26 Thread Michael Sullivan
A couple of days ago I applied via etc-update a new init script and conf
file for dovecot.  Now I cannot get local LAN mail from it.  I was
previously able to.  My current dovecot version info is:

carter ~ # emerge -pv dovecot

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

Calculating dependencies... done!
[ebuild   R   ] net-mail/dovecot-2.0.11  USE=berkdb bzip2 doc ipv6 ldap
maildir mysql pam ssl zlib -caps -cydir -kerberos -managesieve -mbox
-mdbox -postgres -sdbox -sieve -sqlite -suid -vpopmail 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

The /etc/dovecot/dovecot.conf file is as such:

carter ~ # cat /etc/dovecot/dovecot.conf
## Dovecot configuration file

# If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration

# doveconf -n command gives a clean output of the changed settings. Use it
# instead of copypasting files when posting to the Dovecot mailing list.

# '#' character and everything after it is treated as comments. Extra spaces
# and tabs are ignored. If you want to use either of these explicitly,
put the
# value inside quotes, eg.: key = # char and trailing whitespace  

# Default values are shown for each setting, it's not required to uncomment
# those. These are exceptions to this though: No sections (e.g.
namespace {})
# or plugin settings are added by default, they're listed only as examples.
# Paths are also just examples with the real defaults being based on
configure
# options. The paths listed here are for configure --prefix=/usr
# --sysconfdir=/etc --localstatedir=/var

# Protocols we want to be serving.
protocols = imap pop3 lmtp

# A comma separated list of IPs or hosts where to listen in for
connections.
# * listens in all IPv4 interfaces, :: listens in all IPv6 interfaces.
# If you want to specify non-default ports or anything more complex,
# edit conf.d/master.conf.
#listen = *, ::

# Base directory where to store runtime data.
base_dir = /var/run/dovecot/

# Greeting message for clients.
login_greeting = Dovecot ready.

# Space separated list of trusted network ranges. Connections from these
# IPs are allowed to override their IP addresses and ports (for logging and
# for authentication checks). disable_plaintext_auth is also ignored for
# these networks. Typically you'd specify your IMAP proxy servers here.
login_trusted_networks = 192.168.2.2 192.168.2.3 192.168.2.4

# Sepace separated list of login access check sockets (e.g. tcpwrap)
#login_access_sockets =

# Show more verbose process titles (in ps). Currently shows user name and
# IP address. Useful for seeing who are actually using the IMAP processes
# (eg. shared mailboxes or if same uid is used for multiple accounts).
#verbose_proctitle = no

# Should all processes be killed when Dovecot master process shuts down.
# Setting this to no means that Dovecot can be upgraded without
# forcing existing client connections to close (although that could also be
# a problem if the upgrade is e.g. because of a security fix).
#shutdown_clients = yes

# If non-zero, run mail commands via this many connections to doveadm
server,
# instead of running them directly in the same process.
#doveadm_worker_count = 0
# UNIX socket or host:port used for connecting to doveadm server
#doveadm_socket_path = doveadm-server

# Space separated list of environment variables that are preserved on
Dovecot
# startup and passed down to all of its child processes. You can also give
# key=value pairs to always set specific settings.
#import_environment = TZ

##
## Dictionary server settings
##

# Dictionary can be used to store key=value lists. This is used by several
# plugins. The dictionary can be accessed either directly or though a
# dictionary server. The following dict block maps dictionary names to URIs
# when the server is used. These can then be referenced using URIs in format
# proxy::name.

dict {
  #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}

# Most of the actual configuration gets included below. The filenames are
# first sorted by their ASCII value and parsed in that order. The
00-prefixes
# in filenames are intended to make it easier to understand the ordering.
!include conf.d/*.conf

# A config file can also tried to be included without giving an error if
# it's not found:
!include_try /etc/dovecot/local.conf

The dovecot server is on 192.168.2.2, and I am trying to connect from
192.168.2.3.  Please help!



Re: [gentoo-user] Need dovecot configuration help

2011-05-26 Thread Michael Sullivan
On 05/26/11 14:26, Jarry wrote:
 On 26. 5. 2011 21:04, Michael Sullivan wrote:
 A couple of days ago I applied via etc-update a new init script and conf
 file for dovecot.  Now I cannot get local LAN mail from it.  I was
 previously able to.
 
 I do not know which dovecot version you had before,
 but 2.0.11 is the first 2.x in portage, so I suppose
 it was 1.x
 
 I remember updating from 1.x to 2.x was not so easy.
 etc-update did not help me, configurtion changed a lot.
 I had to edit a few new files in /etc/dovecot/conf.d,
 some concerning authentication (10-auth.conf, auth-*)...
 
 Jarry
 


I can't even figure out what port dovecot is running on.  I would assume
143 for IMAP, but telnetting to 192.168.2.2 dovecot does not greet me.
I can access the mail from the dovecot server from mutt in my terminal
window ssh'd over to that machine, but I need to be able to access it
from thunderbird, which can't even find the machine



Re: [gentoo-user] Need dovecot configuration help [SOLVED]

2011-05-26 Thread Michael Sullivan
On 05/26/11 14:26, Jarry wrote:
 On 26. 5. 2011 21:04, Michael Sullivan wrote:
 A couple of days ago I applied via etc-update a new init script and conf
 file for dovecot.  Now I cannot get local LAN mail from it.  I was
 previously able to.
 
 I do not know which dovecot version you had before,
 but 2.0.11 is the first 2.x in portage, so I suppose
 it was 1.x
 
 I remember updating from 1.x to 2.x was not so easy.
 etc-update did not help me, configurtion changed a lot.
 I had to edit a few new files in /etc/dovecot/conf.d,
 some concerning authentication (10-auth.conf, auth-*)...
 
 Jarry
 

I was able to reload an old dovecot.conf from backups and convert it to
the new dovecot format using the command I found at
http://wiki2.dovecot.org/Upgrading/2.0

It seems to be working now...



[gentoo-user] screensaver won't come on unless screen is locked

2011-05-19 Thread Michael Sullivan
Since my recent complete system and world rebuild after switching to a
new gcc profile, my screensaver does not come on.  It works perfectly if
the screen is locked, however it does not come on otherwise.  Please
help.  Some information I thought pertinent to my problem has been
pasted below:

camille ~ # emerge -pv gnome gnome-screensaver

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

Calculating dependencies... done!
[ebuild   R   ] gnome-extra/gnome-screensaver-2.30.2  USE=branding doc
libnotify opengl pam -debug 0 kB
[ebuild   R   ] gnome-base/gnome-2.32.1  USE=cdr cups dvdr ldap
policykit -accessibility -mono 0 kB





[gentoo-user] Need more NFS help

2011-05-10 Thread Michael Sullivan
A couple of weeks ago I switched my gcc profile over and rebuilt
everything with emerge -e system and emerge -e world.  Now, when I
restart the computer (any of the three on my LAN), the NFS shares listed
in /etc/fstab are not automatically mounted.  I can mount them manually
with no errors.  Here's an example of one of my /etc/fstab files:

camille ~ # cat /etc/fstab 
# This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1
2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally
aren't 
# needed; notail increases performance of ReiserFS (at the expense of
storage 
# efficiency).  It's safe to drop the noatime options if you want and
to 
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.

# fs  mountpointtype  opts  
dump/pass

# NOTE: If your BOOT partition is ReiserFS, add the notail option to
opts.
/dev/sda2   /boot ext2  noauto,noatime  1 2
/dev/sda6   / ext3  noatime 0 1
/dev/sda7   none  swap  sw
0 0
/dev/sda5   none  swap  sw  0 0
/dev/sdb1   /mnt/store/   xfs   noatime
0 0
#/dev/sda1  /mnt/windows  ext3  noatime 0 1 
/dev/sr0/mnt/cdromiso9660   noauto,ro   0 0
/dev/fd0/mnt/floppy   auto  noauto  0 0
carter:/backup  /backup/carternfs   bg,hard
0 0
carter:/usr/portage /usr/portage  nfs   bg,hard
0 0
carter:/home/michael/camera /mnt/Pictures nfs   bg,hard 0 0
nfs bg,hard 0 0
#carter:/home/michael/BizarreBits  /home/michael/BizarreBits/   nfs
bg,hard 0 0
catherine:/backup   /backup/catherine nfs   bg,hard
0 0
# NOTE: The next line is critical for boot!
proc/proc proc  defaults0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm /dev/shmtmpfs   nodev,nosuid,noexec 
0 0

I can say at the command prompt:

mount carter:/backup  /backup/carter

and it works fine without any errors.  Why are these not being mounted
at boot?  Netmount starts at the default runlevel, but my nfs shares are
not mounting...




[gentoo-user] Need Preferred Applications help

2011-05-09 Thread Michael Sullivan
A couple of weeks ago I switched my gcc profile over and rebuilt
everything with emerge -e system and emerge -e world.  Now, when I click
on a link in Evolution, seamonkey opens to a blank page instead of to
the link that I clicked on.  I'm using gnome-base/gnome-2.32.1.
Seamonkey is my preferred web browser, but I used to have the abiltiy to
supply other options (a.k.a. /usr/bin/seamonkey %s I think it was).  Now
I don't have that ability.  How can I get this back?  I'm getting very
tired of having to copy the link location and manually paste it into an
active seamonkey window...




Re: [gentoo-user] URGENT: nfs stopped working SOLVED (mostly)

2011-04-30 Thread Michael Sullivan
On Sat, 2011-04-30 at 16:08 +0100, Peter Humphrey wrote:
 On Saturday 30 April 2011 14:16:15 Stroller wrote:
  On 30/4/2011, at 4:34am, Michael Sullivan wrote:
   Mine says:
   
   camille ~ # zcat /proc/config.gz | grep -i nfs
   CONFIG_NFS_FS=m
   CONFIG_NFS_V3=y
   # CONFIG_NFS_V3_ACL is not set
   # CONFIG_NFS_V4 is not set
   CONFIG_NFSD=m
   CONFIG_NFSD_V3=y
   # CONFIG_NFSD_V3_ACL is not set
   # CONFIG_NFSD_V4 is not set
   CONFIG_NFS_COMMON=y
  
  The same on both systems? The other one doesn't have v4 set?
 
 If one has no V4 you'll have to use V3, so add vers=3 to your mount options.
 

I rebuilt kernels on camille and catherine, enabling every NFS option I
could and now they both can use NFS from carter.  However, carter cannot
mount camille's /mnt/store:

carter ~ # mount camille:/mnt/store/ /mnt/store/
mount.nfs: requested NFS version or transport protocol is not supported

But, somehow, carter has access to all the recordings.  This happens
sometimes and I don't know why...




[gentoo-user] URGENT: nfs stopped working

2011-04-29 Thread Michael Sullivan
OK.  I recently switched my three computers (carter, camille, and
catherine) to the new gcc profile:  i686-pc-linux-gnu-4.4.5 from
i686-pc-linux-gnu-4.3.4.  As recommended, I performed emerge -e system
and then emerge -e world on all of them.  Carter finished his emerge -e
world a couple of days ago (he's faster than the others).  Camille and
catherine were a few hundred packages from the end of their emerge -e
world when the power went out.  Carter supplies daily
updated /usr/portage to camille and catherine via nfs, but when I
restarted the computers when the power came back on, I get this:

camille ~ # mount carter:/usr/portage /usr/portage/
mount.nfs: an incorrect mount option was specified

Am I not constructing my command correctly?

I have tried mount -t nfs and it still doesn't work.  I can ping carter
fine, and carter says nfs is running.  How do I get nfs back?




Re: [gentoo-user] URGENT: nfs stopped working

2011-04-29 Thread Michael Sullivan
On Sat, 2011-04-30 at 03:54 +0100, Stroller wrote:
 On 30/4/2011, at 1:46am, Michael Sullivan wrote:
  ...
  camille ~ # mount carter:/usr/portage /usr/portage/
  mount.nfs: an incorrect mount option was specified
  ...
 
 $ zcat /proc/config.gz | grep -i nfs
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
 CONFIG_NFS_V4_1=y
 CONFIG_NFSD=m
 CONFIG_NFSD_V2_ACL=y
 CONFIG_NFSD_V3=y
 CONFIG_NFSD_V3_ACL=y
 CONFIG_NFSD_V4=y
 CONFIG_NFS_ACL_SUPPORT=y
 CONFIG_NFS_COMMON=y
 CONFIG_NCPFS_NFS_NS=y
 $
 

Mine says:

camille ~ # zcat /proc/config.gz | grep -i nfs
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFS_COMMON=y





Re: [gentoo-user] PHP won't execute

2011-01-30 Thread Michael Sullivan
On Sat, 2011-01-15 at 13:21 -0600, Michael Sullivan wrote:
 On Sat, 2011-01-15 at 12:31 -0500, Mark Shields wrote:
  On Fri, Jan 14, 2011 at 10:53 PM, Michael Sullivan
  msulli1...@gmail.com wrote:
  On Fri, 2011-01-14 at 22:37 -0500, Mark Shields wrote:
  trimmed
  
  
  
  
   It's no problem.  Gmail realized you had already sent the
  same message
   and collapsed the whole reply as quoted text :)
  
  
   Try running this:
  
  
   #  echo phpinfo(); | xargs php -r
  
  
   What does it output?  anything?
  
  
  It outputs a lot of stuff.  More than my gnome-terminal buffer
  could
  display (as in I issue a reset before I issue the command you
  sent and I
  can't see the command when I scroll all the way up.)  Anything
  in
  particular I should be looking for?  Anything I should grep
  for?
  
  
  
  
  I just wanted to see if php-cli works.  And it does.
  
  
  I would recommend re-emerging php at this point, then run etc-update
  or dispatch-conf.
  
 
 I did all three and restarted apache and went to the page.  Still only
 see code...

I've done some further research/testing and discovered that it's only my 
picture page that's not executing:

From http://carter.espersunited.com/~michael/test.php:

Warning: Unknown: failed to open stream: Permission denied in Unknown on
line 0

Fatal error: Unknown: Failed opening required
'/home/michael/public_html/test.php' 
(include_path='.:/usr/share/php5:/usr/share/php') in Unknown on line 0

PHP executed.   It returned errors, but it executed, now from one
directory down:

From http://carter.espersunited.com/~michael/camera/index.php:

\n; print  \n; print  \n; print  \n; print \n; print \n;
print \n; print 
\n; print \n; print  \n; print  \n; print  \n; print 
\n; print 
$title
\n; print 
\n; print 
\n
\n; print 
\n; $dirname = .; $dh = opendir($dirname); print 
\n; while ( gettype($file = readdir($dh)) != boolean) { if
(is_dir($dirname/$file)  strlen($file) == 6) { #We are in a
directory $strMonth = substr($file, 0, 2); $strDay = substr($file, 2,
2); $strYear = substr($file, 4, 2); $file = $strYear.$strMonth.$strDay;
$dirarray[] = $file; } } closedir($dh); $value = $_POST['Set']; if (!
isset($value)) $value=current; rsort($dirarray, SORT_STRING); if
($value == Current) $value = current; if ($value == current)
include(current.php); if ($value==All) { foreach ($dirarray as
$file) { $strMonth = substr($file, 2, 2); $strDay = substr($file, 4, 2);
$strYear = substr($file, 0, 2); $file = $strMonth.$strDay.$strYear;
makeTable($dirname, $file); } } if ($value !=current  $value !=
All) makeTable($dirname, $value); showList(); print 
\n; print  \n; print \n; function makeTable($dirname, $file)
{ global $text; global $bgcolor; #The name of this directory is in
mmddyy format. We need to spit it into its individual parts and print it
(mm/dd/yy) $strMonth = substr($file, 0, 2); $strDay = substr($file, 2,
2); $strYear = substr($file, 4); print \n; print  \n; print  \n;
print \n; print 
\n; print 
Added $strMonth./.$strDay./.$strYear.
\n; print 
\n; $subdirname = $file; $eh = opendir($subdirname); #We need to make a
table for the thumbnails to appear in... print  \n; print \n; $count
= 1; while (gettype($subfile = readdir($eh)) != boolean) { $ext =
substr($subfile, strlen($subfile) - 3, 3); $ext = strtolower($ext); if
(!is_dir($dirname/$subdirname/$subfile)  $ext == jpg) { print
\n; $count++; if ($count  5) { print \n; print \n; $count =
1; } } } print  ; print 
\n; print 
\n; } function makeList($file) { print  $file\n; } function
showList() { global $dirarray; global $dirname; print \n; print  \n;
print \n; } ?
\n; //print $subfile
\n; $subfilename = htmlspecialchars($subfile, ENT_QUOTES); $filename =
$dirname./.$subdirname./mini/mini-.$subfilename; print \n; print
\$subfile\\n; print \n; print 

It occurs to me that I might have an error in the script itself.  I have
posted the entire script here:

michael@carter ~/public_html/camera $ cat index.php 
?
$title = My Pictures; 
$bgcolor = #339966;   
$text = #00;  

print html\n;
printhead\n;
print   title$title/title\n;
print/head\n;
print \n;
print body background='../images/pawborder.gif' bgcolor='$bgcolor'
text='$text'\n;
print \n;
print center\n;
print table cellspacing='0' cellpadding='0' bgcolor='$bgcolor'\n;
printtr\n;
print   td align='center'\n;
print  h1$title/h1\n;
print   /td\n;
print/tr\n;
print /table\n;
print br\nbr\n;
print /center\n;


$dirname = .;
$dh = opendir($dirname);
print center\n;
while ( gettype($file = readdir($dh)) != boolean)
{
   if (is_dir($dirname/$file)  strlen($file) == 6)
   {  #We are in a directory
  $strMonth = substr($file, 0, 2);
  $strDay = substr($file, 2, 2);
  $strYear

Re: [gentoo-user] PHP won't execute [SOLVED]

2011-01-30 Thread Michael Sullivan
On Sun, 2011-01-30 at 14:55 -0600, Michael Sullivan wrote:
 On Sat, 2011-01-15 at 13:21 -0600, Michael Sullivan wrote:
  On Sat, 2011-01-15 at 12:31 -0500, Mark Shields wrote:
   On Fri, Jan 14, 2011 at 10:53 PM, Michael Sullivan
   msulli1...@gmail.com wrote:
   On Fri, 2011-01-14 at 22:37 -0500, Mark Shields wrote:
   trimmed
   
   
   
   
It's no problem.  Gmail realized you had already sent the
   same message
and collapsed the whole reply as quoted text :)
   
   
Try running this:
   
   
#  echo phpinfo(); | xargs php -r
   
   
What does it output?  anything?
   
   
   It outputs a lot of stuff.  More than my gnome-terminal buffer
   could
   display (as in I issue a reset before I issue the command you
   sent and I
   can't see the command when I scroll all the way up.)  Anything
   in
   particular I should be looking for?  Anything I should grep
   for?
   
   
   
   
   I just wanted to see if php-cli works.  And it does.
   
   
   I would recommend re-emerging php at this point, then run etc-update
   or dispatch-conf.
   
  
  I did all three and restarted apache and went to the page.  Still only
  see code...
 
 I've done some further research/testing and discovered that it's only my 
 picture page that's not executing:
 
 From http://carter.espersunited.com/~michael/test.php:
 
 Warning: Unknown: failed to open stream: Permission denied in Unknown on
 line 0
 
 Fatal error: Unknown: Failed opening required
 '/home/michael/public_html/test.php' 
 (include_path='.:/usr/share/php5:/usr/share/php') in Unknown on line 0
 
 PHP executed.   It returned errors, but it executed, now from one
 directory down:
 
 From http://carter.espersunited.com/~michael/camera/index.php:
 
 \n; print  \n; print  \n; print  \n; print \n; print \n;
 print \n; print 
 \n; print \n; print  \n; print  \n; print  \n; print 
 \n; print 
 $title
 \n; print 
 \n; print 
 \n
 \n; print 
 \n; $dirname = .; $dh = opendir($dirname); print 
 \n; while ( gettype($file = readdir($dh)) != boolean) { if
 (is_dir($dirname/$file)  strlen($file) == 6) { #We are in a
 directory $strMonth = substr($file, 0, 2); $strDay = substr($file, 2,
 2); $strYear = substr($file, 4, 2); $file = $strYear.$strMonth.$strDay;
 $dirarray[] = $file; } } closedir($dh); $value = $_POST['Set']; if (!
 isset($value)) $value=current; rsort($dirarray, SORT_STRING); if
 ($value == Current) $value = current; if ($value == current)
 include(current.php); if ($value==All) { foreach ($dirarray as
 $file) { $strMonth = substr($file, 2, 2); $strDay = substr($file, 4, 2);
 $strYear = substr($file, 0, 2); $file = $strMonth.$strDay.$strYear;
 makeTable($dirname, $file); } } if ($value !=current  $value !=
 All) makeTable($dirname, $value); showList(); print 
 \n; print  \n; print \n; function makeTable($dirname, $file)
 { global $text; global $bgcolor; #The name of this directory is in
 mmddyy format. We need to spit it into its individual parts and print it
 (mm/dd/yy) $strMonth = substr($file, 0, 2); $strDay = substr($file, 2,
 2); $strYear = substr($file, 4); print \n; print  \n; print  \n;
 print \n; print 
 \n; print 
 Added $strMonth./.$strDay./.$strYear.
 \n; print 
 \n; $subdirname = $file; $eh = opendir($subdirname); #We need to make a
 table for the thumbnails to appear in... print  \n; print \n; $count
 = 1; while (gettype($subfile = readdir($eh)) != boolean) { $ext =
 substr($subfile, strlen($subfile) - 3, 3); $ext = strtolower($ext); if
 (!is_dir($dirname/$subdirname/$subfile)  $ext == jpg) { print
 \n; $count++; if ($count  5) { print \n; print \n; $count =
 1; } } } print  ; print 
 \n; print 
 \n; } function makeList($file) { print  $file\n; } function
 showList() { global $dirarray; global $dirname; print \n; print  \n;
 print \n; } ?
 \n; //print $subfile
 \n; $subfilename = htmlspecialchars($subfile, ENT_QUOTES); $filename =
 $dirname./.$subdirname./mini/mini-.$subfilename; print \n; print
 \$subfile\\n; print \n; print 
 
 It occurs to me that I might have an error in the script itself.  I have
 posted the entire script here:
 
 michael@carter ~/public_html/camera $ cat index.php 
 ?
 $title = My Pictures; 
 $bgcolor = #339966;   
 $text = #00;  
 
 print html\n;
 printhead\n;
 print   title$title/title\n;
 print/head\n;
 print \n;
 print body background='../images/pawborder.gif' bgcolor='$bgcolor'
 text='$text'\n;
 print \n;
 print center\n;
 print table cellspacing='0' cellpadding='0' bgcolor='$bgcolor'\n;
 printtr\n;
 print   td align='center'\n;
 print  h1$title/h1\n;
 print   /td\n;
 print/tr\n;
 print /table\n;
 print br\nbr\n;
 print /center\n;
 
 
 $dirname = .;
 $dh = opendir($dirname);
 print center\n;
 while ( gettype($file

[gentoo-user] Flash versions

2011-01-25 Thread Michael Sullivan
I've got a conundrum here.  We just got my wife's computer back from the
shop today (in for a RAM upgrade) and she wants to play Farmville on her
computer, now that it's fast enough.  Farmville says that she needs to
upgrade her flash player.  I can play Farmville on my computer, so I'm
using it as a guide, but here's the thing:  My seamonkey says it has
Shockwave Flash 10.1 r102.  Her computer claims Shockwave Flash 6.0 r81.
We each have the same version of adobe-flash installed, with the exact
same USE flags.   We both use the same version of seamonkey.  So why is
my flash plugin version higher, and how can I get hers as high?




[gentoo-user] Re: Flash versions [SOLVED]

2011-01-25 Thread Michael Sullivan
I deleted her ~/.seamonkey/plugins folder and restarted seamonkey and it
works now...

On Tue, 2011-01-25 at 18:24 -0600, Michael Sullivan wrote:
 I've got a conundrum here.  We just got my wife's computer back from the
 shop today (in for a RAM upgrade) and she wants to play Farmville on her
 computer, now that it's fast enough.  Farmville says that she needs to
 upgrade her flash player.  I can play Farmville on my computer, so I'm
 using it as a guide, but here's the thing:  My seamonkey says it has
 Shockwave Flash 10.1 r102.  Her computer claims Shockwave Flash 6.0 r81.
 We each have the same version of adobe-flash installed, with the exact
 same USE flags.   We both use the same version of seamonkey.  So why is
 my flash plugin version higher, and how can I get hers as high?
 





Re: [gentoo-user] PHP won't execute

2011-01-15 Thread Michael Sullivan
On Sat, 2011-01-15 at 12:31 -0500, Mark Shields wrote:
 On Fri, Jan 14, 2011 at 10:53 PM, Michael Sullivan
 msulli1...@gmail.com wrote:
 On Fri, 2011-01-14 at 22:37 -0500, Mark Shields wrote:
 trimmed
 
 
 
 
  It's no problem.  Gmail realized you had already sent the
 same message
  and collapsed the whole reply as quoted text :)
 
 
  Try running this:
 
 
  #  echo phpinfo(); | xargs php -r
 
 
  What does it output?  anything?
 
 
 It outputs a lot of stuff.  More than my gnome-terminal buffer
 could
 display (as in I issue a reset before I issue the command you
 sent and I
 can't see the command when I scroll all the way up.)  Anything
 in
 particular I should be looking for?  Anything I should grep
 for?
 
 
 
 
 I just wanted to see if php-cli works.  And it does.
 
 
 I would recommend re-emerging php at this point, then run etc-update
 or dispatch-conf.
 

I did all three and restarted apache and went to the page.  Still only
see code...





Re: [gentoo-user] PHP won't execute

2011-01-14 Thread Michael Sullivan
On Fri, 2011-01-14 at 06:26 +, Mick wrote:
 On Friday 14 January 2011 04:00:12 Michael Sullivan wrote:
  A several years ago I ran a public network out of my apartment.  I had
  email, www, etc. etc.  It all worked fine.  Then one day a couple of
  years ago we decided that we could not afford to pay for a public IP
  address anymore, so we had it turned off.  I haven't touched apache
  since then, but we still run that box as it's faster than all the others
  and runs distcc well.  We had a picture page that I wrote back in 2005
  and occassionally when we have company over we use it to show them
  pictures that we've taken.  I went to the site in my web browser this
  evening, and saw only PHP code printed on the background image.  I've
  checked the usual suspects:
  
  carter apache2 # cat /etc/conf.d/apache2
  # /etc/conf.d/apache2: config file for /etc/init.d/apache2
  
  # When you install a module it is easy to activate or deactivate the
  modules
  # and other features of apache using the APACHE2_OPTS line. Every module
  should
  # install a configuration in /etc/apache2/modules.d. In that file will
  be an
  # IfDefine NNN where NNN is the option to enable that module.
  # Here are the options available in the default configuration:
  #   USERDIR   Enables /~username mapping to /home/username/public_html
  #   INFO  Enables mod_info, a useful module for debugging
  #   PROXY Enables mod_proxy
  #   DAV   Enables mod_dav
  #   DAV_FSEnables mod_dav_fs (you should enable this when you enable
  DAV
  # unless you know what you are doing)
  #   SSL   Enables SSL
  #   SSL_DEFAULT_VHOST  Enables default vhost for SSL (you should enable
  this
  #  when you enable SSL unless you know what you are
  doing)
  #   LDAP  Enables mod_ldap
  #   AUTH_LDAP Enables authentication through mod_ldap
  #   DEFAULT_VHOST Enables the default virtual host
  in /var/www/localhost/htdocs
  APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR
  
  # Extended options for advanced uses of Apache ONLY
  # You don't need to edit these unless you are doing crazy Apache stuff
  # As not having them set correctly, or feeding in an incorrect
  configuration
  # via them will result in Apache failing to start
  # YOU HAVE BEEN WARNED.
  
  # ServerRoot setting
  #SERVERROOT=/usr/lib/apache2
  
  # Configuration file location
  # - If this does NOT start with a '/', then it is treated relative to
  # $SERVERROOT by Apache
  #CONFIGFILE=/etc/apache2/httpd.conf
  
  # Location to log startup errors to
  # They are normally dumped to your terminal.
  #STARTUPERRORLOG=/var/log/apache2/startuperror.log
  
  # Environment variables to keep
  # All environment variables are cleared from apache
  # Use this to preserve some of them
  # NOTE!!! It's very important that this contains PATH
  # Also, it will fail if the _value_ of any of these variables contains a
  space
  KEEPENV=PATH
  
  carter apache2 # cat error_log
  [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix) configured --
  resuming normal operations
  [Wed Jan 12 03:00:12 2011] [notice] Graceful restart requested, doing
  restart
  [Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix) configured --
  resuming normal operations
  [Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/
  [Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting down
  [Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix) configured --
  resuming normal operations
  [Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/
  [Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/index.php
  [Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/index.php
  [Thu Jan 13 19:49:56 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/index.php
  [Thu Jan 13 19:49:59 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/index.php
  [Thu Jan 13 19:50:02 2011] [error] [client 192.168.2.3] File does not
  exist: /home/michael/public_html/camera/$filename, referer:
  http://carter.espersunited.com/~michael/camera/index.php
  
  (that $filename reference would have resolved if PHP were executed AS
  PHP instead of plain text)
  
  carter apache2 # ls /home/michael/public_html/camera/
  010105  031706  050706  070707

Re: [gentoo-user] PHP won't execute

2011-01-14 Thread Michael Sullivan
On Fri, 2011-01-14 at 21:24 -0500, Mark Shields wrote:
 On Thu, Jan 13, 2011 at 9:01 PM, Michael Sullivan
 msulli1...@gmail.com wrote:
 A several years ago I ran a public network out of my
 apartment.  I had
 email, www, etc. etc.  It all worked fine.  Then one day a
 couple of
 years ago we decided that we could not afford to pay for a
 public IP
 address anymore, so we had it turned off.  I haven't touched
 apache
 since then, but we still run that box as it's faster than all
 the others
 and runs distcc well.  We had a picture page that I wrote back
 in 2005
 and occassionally when we have company over we use it to show
 them
 pictures that we've taken.  I went to the site in my web
 browser this
 evening, and saw only PHP code printed on the background
 image.  I've
 checked the usual suspects:
 
 carter apache2 # cat /etc/conf.d/apache2
 # /etc/conf.d/apache2: config file for /etc/init.d/apache2
 
 # When you install a module it is easy to activate or
 deactivate the
 modules
 # and other features of apache using the APACHE2_OPTS line.
 Every module
 should
 # install a configuration in /etc/apache2/modules.d. In that
 file will
 be an
 # IfDefine NNN where NNN is the option to enable that
 module.
 # Here are the options available in the default configuration:
 #   USERDIR   Enables /~username mapping
 to /home/username/public_html
 #   INFO  Enables mod_info, a useful module for debugging
 #   PROXY Enables mod_proxy
 #   DAV   Enables mod_dav
 #   DAV_FSEnables mod_dav_fs (you should enable this when
 you enable
 DAV
 # unless you know what you are doing)
 #   SSL   Enables SSL
 #   SSL_DEFAULT_VHOST  Enables default vhost for SSL (you
 should enable
 this
 #  when you enable SSL unless you know
 what you are
 doing)
 #   LDAP  Enables mod_ldap
 #   AUTH_LDAP Enables authentication through mod_ldap
 #   DEFAULT_VHOST Enables the default virtual host
 in /var/www/localhost/htdocs
 APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR
 
 # Extended options for advanced uses of Apache ONLY
 # You don't need to edit these unless you are doing crazy
 Apache stuff
 # As not having them set correctly, or feeding in an incorrect
 configuration
 # via them will result in Apache failing to start
 # YOU HAVE BEEN WARNED.
 
 # ServerRoot setting
 #SERVERROOT=/usr/lib/apache2
 
 # Configuration file location
 # - If this does NOT start with a '/', then it is treated
 relative to
 # $SERVERROOT by Apache
 #CONFIGFILE=/etc/apache2/httpd.conf
 
 # Location to log startup errors to
 # They are normally dumped to your terminal.
 #STARTUPERRORLOG=/var/log/apache2/startuperror.log
 
 # Environment variables to keep
 # All environment variables are cleared from apache
 # Use this to preserve some of them
 # NOTE!!! It's very important that this contains PATH
 # Also, it will fail if the _value_ of any of these variables
 contains a
 space
 KEEPENV=PATH
 
 carter apache2 # cat error_log
 [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix)
 configured --
 resuming normal operations
 [Wed Jan 12 03:00:12 2011] [notice] Graceful restart
 requested, doing
 restart
 [Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix)
 configured --
 resuming normal operations
 [Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File
 does not
 exist: /home/michael/public_html/camera/$filename, referer:
 http://carter.espersunited.com/~michael/camera/
 [Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting
 down
 [Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix)
 configured --
 resuming normal operations
 [Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File
 does not
 exist: /home/michael/public_html/camera/$filename, referer:
 http://carter.espersunited.com/~michael/camera/
 [Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File
 does not
 exist: /home/michael/public_html/camera/$filename, referer:
 http://carter.espersunited.com/~michael/camera/index.php
 [Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File
 does

Re: [gentoo-user] PHP won't execute

2011-01-14 Thread Michael Sullivan
On Fri, 2011-01-14 at 21:24 -0500, Mark Shields wrote: 
 On Thu, Jan 13, 2011 at 9:01 PM, Michael Sullivan
 msulli1...@gmail.com wrote:
 A several years ago I ran a public network out of my
 apartment.  I had
 email, www, etc. etc.  It all worked fine.  Then one day a
 couple of
 years ago we decided that we could not afford to pay for a
 public IP
 address anymore, so we had it turned off.  I haven't touched
 apache
 since then, but we still run that box as it's faster than all
 the others
 and runs distcc well.  We had a picture page that I wrote back
 in 2005
 and occassionally when we have company over we use it to show
 them
 pictures that we've taken.  I went to the site in my web
 browser this
 evening, and saw only PHP code printed on the background
 image.  I've
 checked the usual suspects:
 
 carter apache2 # cat /etc/conf.d/apache2
 # /etc/conf.d/apache2: config file for /etc/init.d/apache2
 
 # When you install a module it is easy to activate or
 deactivate the
 modules
 # and other features of apache using the APACHE2_OPTS line.
 Every module
 should
 # install a configuration in /etc/apache2/modules.d. In that
 file will
 be an
 # IfDefine NNN where NNN is the option to enable that
 module.
 # Here are the options available in the default configuration:
 #   USERDIR   Enables /~username mapping
 to /home/username/public_html
 #   INFO  Enables mod_info, a useful module for debugging
 #   PROXY Enables mod_proxy
 #   DAV   Enables mod_dav
 #   DAV_FSEnables mod_dav_fs (you should enable this when
 you enable
 DAV
 # unless you know what you are doing)
 #   SSL   Enables SSL
 #   SSL_DEFAULT_VHOST  Enables default vhost for SSL (you
 should enable
 this
 #  when you enable SSL unless you know
 what you are
 doing)
 #   LDAP  Enables mod_ldap
 #   AUTH_LDAP Enables authentication through mod_ldap
 #   DEFAULT_VHOST Enables the default virtual host
 in /var/www/localhost/htdocs
 APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR
 
 # Extended options for advanced uses of Apache ONLY
 # You don't need to edit these unless you are doing crazy
 Apache stuff
 # As not having them set correctly, or feeding in an incorrect
 configuration
 # via them will result in Apache failing to start
 # YOU HAVE BEEN WARNED.
 
 # ServerRoot setting
 #SERVERROOT=/usr/lib/apache2
 
 # Configuration file location
 # - If this does NOT start with a '/', then it is treated
 relative to
 # $SERVERROOT by Apache
 #CONFIGFILE=/etc/apache2/httpd.conf
 
 # Location to log startup errors to
 # They are normally dumped to your terminal.
 #STARTUPERRORLOG=/var/log/apache2/startuperror.log
 
 # Environment variables to keep
 # All environment variables are cleared from apache
 # Use this to preserve some of them
 # NOTE!!! It's very important that this contains PATH
 # Also, it will fail if the _value_ of any of these variables
 contains a
 space
 KEEPENV=PATH
 
 carter apache2 # cat error_log
 [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix)
 configured --
 resuming normal operations
 [Wed Jan 12 03:00:12 2011] [notice] Graceful restart
 requested, doing
 restart
 [Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix)
 configured --
 resuming normal operations
 [Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File
 does not
 exist: /home/michael/public_html/camera/$filename, referer:
 http://carter.espersunited.com/~michael/camera/
 [Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting
 down
 [Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix)
 configured --
 resuming normal operations
 [Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File
 does not
 exist: /home/michael/public_html/camera/$filename, referer:
 http://carter.espersunited.com/~michael/camera/
 [Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File
 does not
 exist: /home/michael/public_html/camera/$filename, referer:
 http://carter.espersunited.com/~michael/camera/index.php
 [Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File
 does

Re: [gentoo-user] PHP won't execute

2011-01-14 Thread Michael Sullivan
On Fri, 2011-01-14 at 22:10 -0500, Mark Shields wrote:
 On Fri, Jan 14, 2011 at 9:57 PM, Michael Sullivan
 msulli1...@gmail.com wrote:
 
 On Fri, 2011-01-14 at 21:24 -0500, Mark Shields wrote:
  On Thu, Jan 13, 2011 at 9:01 PM, Michael Sullivan
  msulli1...@gmail.com wrote:
  A several years ago I ran a public network out of my
  apartment.  I had
  email, www, etc. etc.  It all worked fine.  Then one
 day a
  couple of
  years ago we decided that we could not afford to pay
 for a
  public IP
  address anymore, so we had it turned off.  I haven't
 touched
  apache
  since then, but we still run that box as it's faster
 than all
  the others
  and runs distcc well.  We had a picture page that I
 wrote back
  in 2005
  and occassionally when we have company over we use
 it to show
  them
  pictures that we've taken.  I went to the site in my
 web
  browser this
  evening, and saw only PHP code printed on the
 background
  image.  I've
  checked the usual suspects:
 
  carter apache2 # cat /etc/conf.d/apache2
  # /etc/conf.d/apache2: config file
 for /etc/init.d/apache2
 
  # When you install a module it is easy to activate
 or
  deactivate the
  modules
  # and other features of apache using the
 APACHE2_OPTS line.
  Every module
  should
  # install a configuration in /etc/apache2/modules.d.
 In that
  file will
  be an
  # IfDefine NNN where NNN is the option to enable
 that
  module.
  # Here are the options available in the default
 configuration:
  #   USERDIR   Enables /~username mapping
  to /home/username/public_html
  #   INFO  Enables mod_info, a useful module for
 debugging
  #   PROXY Enables mod_proxy
  #   DAV   Enables mod_dav
  #   DAV_FSEnables mod_dav_fs (you should enable
 this when
  you enable
  DAV
  # unless you know what you are doing)
  #   SSL   Enables SSL
  #   SSL_DEFAULT_VHOST  Enables default vhost for SSL
 (you
  should enable
  this
  #  when you enable SSL unless
 you know
  what you are
  doing)
  #   LDAP  Enables mod_ldap
  #   AUTH_LDAP Enables authentication through
 mod_ldap
  #   DEFAULT_VHOST Enables the default virtual host
  in /var/www/localhost/htdocs
  APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D
 USERDIR
 
  # Extended options for advanced uses of Apache ONLY
  # You don't need to edit these unless you are doing
 crazy
  Apache stuff
  # As not having them set correctly, or feeding in an
 incorrect
  configuration
  # via them will result in Apache failing to start
  # YOU HAVE BEEN WARNED.
 
  # ServerRoot setting
  #SERVERROOT=/usr/lib/apache2
 
  # Configuration file location
  # - If this does NOT start with a '/', then it is
 treated
  relative to
  # $SERVERROOT by Apache
  #CONFIGFILE=/etc/apache2/httpd.conf
 
  # Location to log startup errors to
  # They are normally dumped to your terminal.
  #STARTUPERRORLOG=/var/log/apache2/startuperror.log
 
  # Environment variables to keep
  # All environment variables are cleared from apache
  # Use this to preserve some of them
  # NOTE!!! It's very important that this contains
 PATH
  # Also, it will fail if the _value_ of any of these
 variables
  contains a
  space
  KEEPENV=PATH
 
  carter apache2 # cat error_log
  [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16
 (Unix)
  configured --
  resuming normal operations
  [Wed Jan

Re: [gentoo-user] PHP won't execute

2011-01-14 Thread Michael Sullivan
On Fri, 2011-01-14 at 22:37 -0500, Mark Shields wrote:
trimmed
 
 
 
 
 It's no problem.  Gmail realized you had already sent the same message
 and collapsed the whole reply as quoted text :)
 
 
 Try running this:
 
 
 #  echo phpinfo(); | xargs php -r
 
 
 What does it output?  anything?

It outputs a lot of stuff.  More than my gnome-terminal buffer could
display (as in I issue a reset before I issue the command you sent and I
can't see the command when I scroll all the way up.)  Anything in
particular I should be looking for?  Anything I should grep for?





[gentoo-user] PHP won't execute

2011-01-13 Thread Michael Sullivan
A several years ago I ran a public network out of my apartment.  I had
email, www, etc. etc.  It all worked fine.  Then one day a couple of
years ago we decided that we could not afford to pay for a public IP
address anymore, so we had it turned off.  I haven't touched apache
since then, but we still run that box as it's faster than all the others
and runs distcc well.  We had a picture page that I wrote back in 2005
and occassionally when we have company over we use it to show them
pictures that we've taken.  I went to the site in my web browser this
evening, and saw only PHP code printed on the background image.  I've
checked the usual suspects:

carter apache2 # cat /etc/conf.d/apache2 
# /etc/conf.d/apache2: config file for /etc/init.d/apache2

# When you install a module it is easy to activate or deactivate the
modules
# and other features of apache using the APACHE2_OPTS line. Every module
should
# install a configuration in /etc/apache2/modules.d. In that file will
be an
# IfDefine NNN where NNN is the option to enable that module.
# Here are the options available in the default configuration:
#   USERDIR   Enables /~username mapping to /home/username/public_html
#   INFO  Enables mod_info, a useful module for debugging
#   PROXY Enables mod_proxy
#   DAV   Enables mod_dav
#   DAV_FSEnables mod_dav_fs (you should enable this when you enable
DAV
# unless you know what you are doing)
#   SSL   Enables SSL
#   SSL_DEFAULT_VHOST  Enables default vhost for SSL (you should enable
this
#  when you enable SSL unless you know what you are
doing)
#   LDAP  Enables mod_ldap
#   AUTH_LDAP Enables authentication through mod_ldap
#   DEFAULT_VHOST Enables the default virtual host
in /var/www/localhost/htdocs
APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR

# Extended options for advanced uses of Apache ONLY
# You don't need to edit these unless you are doing crazy Apache stuff
# As not having them set correctly, or feeding in an incorrect
configuration
# via them will result in Apache failing to start
# YOU HAVE BEEN WARNED.

# ServerRoot setting
#SERVERROOT=/usr/lib/apache2

# Configuration file location
# - If this does NOT start with a '/', then it is treated relative to
# $SERVERROOT by Apache
#CONFIGFILE=/etc/apache2/httpd.conf

# Location to log startup errors to
# They are normally dumped to your terminal.
#STARTUPERRORLOG=/var/log/apache2/startuperror.log

# Environment variables to keep
# All environment variables are cleared from apache
# Use this to preserve some of them
# NOTE!!! It's very important that this contains PATH
# Also, it will fail if the _value_ of any of these variables contains a
space
KEEPENV=PATH

carter apache2 # cat error_log
[Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix) configured --
resuming normal operations
[Wed Jan 12 03:00:12 2011] [notice] Graceful restart requested, doing
restart
[Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix) configured --
resuming normal operations
[Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/
[Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting down
[Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix) configured --
resuming normal operations
[Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/
[Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:49:56 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:49:59 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:50:02 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php

(that $filename reference would have resolved if PHP were executed AS
PHP instead of plain text)

carter apache2 # ls /home/michael/public_html/camera/
010105  031706  050706  070707  080905  100304  110804  121107  current
thumbnail.php
010506  032008  051610  070905  081710  100507  08  121210
current.phpthumbnail.php~
011305  032907  060509  071006  090205  101004  112004  121809
directory.php.bak
011409  042608  061608  071405  091105  101405  112206  122404
index.php
020705  

[gentoo-user] PHP won't execute

2011-01-13 Thread Michael Sullivan
A several years ago I ran a public network out of my apartment.  I had
email, www, etc. etc.  It all worked fine.  Then one day a couple of
years ago we decided that we could not afford to pay for a public IP
address anymore, so we had it turned off.  I haven't touched apache
since then, but we still run that box as it's faster than all the others
and runs distcc well.  We had a picture page that I wrote back in 2005
and occassionally when we have company over we use it to show them
pictures that we've taken.  I went to the site in my web browser this
evening, and saw only PHP code printed on the background image.  I've
checked the usual suspects:

carter apache2 # cat /etc/conf.d/apache2 
# /etc/conf.d/apache2: config file for /etc/init.d/apache2

# When you install a module it is easy to activate or deactivate the
modules
# and other features of apache using the APACHE2_OPTS line. Every module
should
# install a configuration in /etc/apache2/modules.d. In that file will
be an
# IfDefine NNN where NNN is the option to enable that module.
# Here are the options available in the default configuration:
#   USERDIR   Enables /~username mapping to /home/username/public_html
#   INFO  Enables mod_info, a useful module for debugging
#   PROXY Enables mod_proxy
#   DAV   Enables mod_dav
#   DAV_FSEnables mod_dav_fs (you should enable this when you enable
DAV
# unless you know what you are doing)
#   SSL   Enables SSL
#   SSL_DEFAULT_VHOST  Enables default vhost for SSL (you should enable
this
#  when you enable SSL unless you know what you are
doing)
#   LDAP  Enables mod_ldap
#   AUTH_LDAP Enables authentication through mod_ldap
#   DEFAULT_VHOST Enables the default virtual host
in /var/www/localhost/htdocs
APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR

# Extended options for advanced uses of Apache ONLY
# You don't need to edit these unless you are doing crazy Apache stuff
# As not having them set correctly, or feeding in an incorrect
configuration
# via them will result in Apache failing to start
# YOU HAVE BEEN WARNED.

# ServerRoot setting
#SERVERROOT=/usr/lib/apache2

# Configuration file location
# - If this does NOT start with a '/', then it is treated relative to
# $SERVERROOT by Apache
#CONFIGFILE=/etc/apache2/httpd.conf

# Location to log startup errors to
# They are normally dumped to your terminal.
#STARTUPERRORLOG=/var/log/apache2/startuperror.log

# Environment variables to keep
# All environment variables are cleared from apache
# Use this to preserve some of them
# NOTE!!! It's very important that this contains PATH
# Also, it will fail if the _value_ of any of these variables contains a
space
KEEPENV=PATH

carter apache2 # cat error_log
[Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix) configured --
resuming normal operations
[Wed Jan 12 03:00:12 2011] [notice] Graceful restart requested, doing
restart
[Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix) configured --
resuming normal operations
[Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/
[Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting down
[Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix) configured --
resuming normal operations
[Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/
[Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:49:56 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:49:59 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php
[Thu Jan 13 19:50:02 2011] [error] [client 192.168.2.3] File does not
exist: /home/michael/public_html/camera/$filename, referer:
http://carter.espersunited.com/~michael/camera/index.php

(that $filename reference would have resolved if PHP were executed AS
PHP instead of plain text)

carter apache2 # ls /home/michael/public_html/camera/
010105  031706  050706  070707  080905  100304  110804  121107  current
thumbnail.php
010506  032008  051610  070905  081710  100507  08  121210
current.phpthumbnail.php~
011305  032907  060509  071006  090205  101004  112004  121809
directory.php.bak
011409  042608  061608  071405  091105  101405  112206  122404
index.php
020705  

[gentoo-user] How to get /dev/cdrom

2011-01-12 Thread Michael Sullivan
OK, for several years I have not had a /dev/cdrom.  My workstation has
an internal cd-rom drive, which gets mapped to /dev/hda, and an external
DVD+R drive, which is mapped to /dev/sr0.  When I look
at /etc/udev/rules.d/70-persistent-cd.rules I see:

camille rules.d # cat 70-persistent-cd.rules 
# LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0)
ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
+=cdrom, ENV{GENERATED}=1
ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
+=cdrw, ENV{GENERATED}=1
ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
+=dvd, ENV{GENERATED}=1
# LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0)
ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
+=cdrom1, ENV{GENERATED}=1
ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
+=cdrw1, ENV{GENERATED}=1
ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
+=dvd1, ENV{GENERATED}=1
# CD.DVDW_SD-R5372 (pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0)
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK
+=cdrom2, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK
+=cdrw2, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK
+=dvd2, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK
+=dvdrw2, ENV{GENERATED}=1
# CD.DVDW_SD-R5372 (pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0)
ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=cdrom3, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=cdrw3, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=dvd3, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=dvdrw3, ENV{GENERATED}=1
# CD.DVDW_SD-R5372 (pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0)
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK
+=cdrom4, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK
+=cdrw4, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK
+=dvd4, ENV{GENERATED}=1
ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK
+=dvdrw4, ENV{GENERATED}=1
# LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1)
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrom5, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrw5, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=dvd5, ENV{GENERATED}=1

# CD_DVDW_SD-R5372 ()
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=cdrom6, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=cdrw6, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=dvd6, ENV{GENERATED}=1
SUBSYSTEM==block, ENV{ID_CDROM}==?*,
ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK
+=dvdrw6, ENV{GENERATED}=1

LITE-ON_COMBO_SOHC-5236K is my internal drive, which SHOULD be mapped
to /dev/cdrom.  But it's not:

camille rules.d # ls /dev/cdrom
ls: cannot access /dev/cdrom: No such file or directory


Why is it not being mapped correctly?  Is the rule above not correct?
I've tried to read tutorials about writing udev rules, but the example
rules in the tutorials look nothing like the above rules, and I didn't
write those.  I think they were created when udev was installed...




Re: [gentoo-user] Re: How to get /dev/cdrom

2011-01-12 Thread Michael Sullivan
On Wed, 2011-01-12 at 16:31 +, Nuno J. Silva wrote:
 Michael Sullivan msulli1...@gmail.com writes:
 
  OK, for several years I have not had a /dev/cdrom.  My workstation has
  an internal cd-rom drive, which gets mapped to /dev/hda, and an external
 
 If you're using a recent kernel, it's probably udev which refuses to
 process devices under the old ATA driver.
 
 (I don't know if it *exactly* refuses, or if it's something else, but
 the final result is what you see, no /dev/{cdrom,cdrw,...} link)
 
 
  DVD+R drive, which is mapped to /dev/sr0.  When I look
  at /etc/udev/rules.d/70-persistent-cd.rules I see:
 
  camille rules.d # cat 70-persistent-cd.rules 
  # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0)
  ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
  +=cdrom, ENV{GENERATED}=1
 ...
  # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0)
  ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK
  +=cdrom1, ENV{GENERATED}=1
 ...
  # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1)
  SUBSYSTEM==block, ENV{ID_CDROM}==?*,
  ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrom5, ENV{GENERATED}=1
 
  LITE-ON_COMBO_SOHC-5236K is my internal drive, which SHOULD be mapped
  to /dev/cdrom.  But it's not:
 
  camille rules.d # ls /dev/cdrom
  ls: cannot access /dev/cdrom: No such file or directory
 
 Check also /dev/cdrom*. Maybe it got another name, as there are at least
 three rules to symlink that drive (if it matched all rules, udev would
 create the three links, but the third rule looks different).
 
  Why is it not being mapped correctly?  Is the rule above not correct?
  I've tried to read tutorials about writing udev rules, but the example
  rules in the tutorials look nothing like the above rules, and I didn't
  write those.  I think they were created when udev was installed...
 


camille ~ # ls -l /dev/cdrom*
ls: cannot access /dev/cdrom*: No such file or directory


I need /dev/hda to be /dev/cdrom because I cannot use CD player programs
unless it has that name.  Of course, I can manually create a symlink
from /dev/cdrom to /dev/hda every time I reboot, but I shouldn't have to
do that...




Re: [gentoo-user] How to get /dev/cdrom

2011-01-12 Thread Michael Sullivan
On Wed, 2011-01-12 at 10:28 -0600, Paul Hartman wrote:
 On Wed, Jan 12, 2011 at 10:11 AM, Michael Sullivan msulli1...@gmail.com 
 wrote:
  Why is it not being mapped correctly?  Is the rule above not correct?
  I've tried to read tutorials about writing udev rules, but the example
  rules in the tutorials look nothing like the above rules, and I didn't
  write those.  I think they were created when udev was installed...
 
 I guess you don't really have 6 optical drives installed? :)
 
 Some of those have -ide- in the device name, did you change form IDE
 to ATA kernel driver at some point (like most everyone else did)?
 Maybe that's why. New entries are generated for drives that don't
 match existing rules, which is probably why you see your SOHC-5236K
 down at cdrom5 as well...
 
 If you delete the file and reboot, it'll create a new one based on
 your currently-installed hardware config. Hopefully that'll solve it
 or at least clean up that file to the point where you can manage the
 changes more easily.
 

I deleted /etc/udev/rules.d/70-persistent-cd.rules and rebooted the
system.  The file is still gone, and still no /dev/cdrom:
camille ~ # ls /etc/udev/rules.d/
10-zaptel.rules   70-bluetooth.rules   70-libsane.rules
90-hal.rules   hsf.rules
30-svgalib.rules  70-libgphoto2.rules  70-persistent-net.rules
99-btnx.rules
camille ~ # ls /dev/cdrom*
ls: cannot access /dev/cdrom*: No such file or directory


What should I do now?





Re: [gentoo-user] How to get /dev/cdrom

2011-01-12 Thread Michael Sullivan
On Wed, 2011-01-12 at 11:54 -0500, Mike Edenfield wrote:
 On 1/12/2011 11:11 AM, Michael Sullivan wrote:
  OK, for several years I have not had a /dev/cdrom.  My workstation has
  an internal cd-rom drive, which gets mapped to /dev/hda, and an external
  DVD+R drive, which is mapped to /dev/sr0.  When I look
  at /etc/udev/rules.d/70-persistent-cd.rules I see:
 
 I just went through this exact same problem, and it turned out that
 having both the old ATA drivers and the new libata drivers in my kernel
 at the same time was the root of the problem.  I had multiple drivers
 fighting for the same device, and it confused udev for some reason.  The
 end result was, udev never picked up that the IDE drive was actually a
 CD-ROM, so it never ran the udev rules to automatically regenerated
 70-persistent-cd.rules.
 
 The existing rules you have don't work because the ID_PATH isn't valid:
 
 ENV{ID_PATH}==pci-:00:1f.1-ide-0:0
 
 The -ide-0:0 part no longer shows up when you get the udev ID_PATH for
 a device using the old ATA drivers, so there are no matching udev rules
 to create the symlinks.
 
 I fixed it by switching over completely to libata, like this:
 
 1. Delete the 70-persistent-cd.rules file from /etc/udev.  (If
 everything is working correctly, udev will regenerate this file from
 scratch the next time you start it.)
 
 2. In your kernel config, under Device Drivers ---
 * Make sure that ATA/ATAPI/MFM/RLL support is /not/ selected.
 * Enable Serial ATA and Parallel ATA
 * Under Serial ATA and Paralle ATA ---
 ** Enable ATA SFF support
 ** Below that, enable ATA BMDMA support[1]
 ** Below that, enable whatever IDE chipset you have
 
 3. Back under Device Drivers ---
 * Under SCSI device support ---
 ** Enable SCSI disk support
 ** Enable SCSI CDROM support
 ** /Do not/ enable SCSI Generic support[2]
 
 Build/install/reboot and you should now see your two CD drives appearing
 as sr0 and sr1.  udev should now pick them both up, and write a new
 70-persistent-cd.rules file, with the IDE drive having a different
 ID_PATH, something like:
 
 ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0
 
 And you should now get your symlinks.
 
 [1] BMDMA is the controller type in all of the machines I have, and
 seems to be the standard for most personal desktop/laptop/etc machines.
  If you know differently, of course, pick the correct SFF controller.
 
 [2] The SCSI generic driver has a habit of grabbing my other SCSI
 devices and assigning them to sg0/sg1/sg2/etc; this seemed to prevent
 udev from picking up that they were CD drives.  If you need SCSI Generic
 for some reason, I'd suggest making it a module.
 
 --Mike
 
I was still running linux-2.6.30-gentoo-r8.  I didn't even HAVE an
option for ATA SFF support.  I'm going to build a v2.6.36-gentoo-r5
kernel and pray that my ivtv stuff still works...




[gentoo-user] ivtv on 2.6.36-gentoo-r5 kernel.

2011-01-12 Thread Michael Sullivan
I am now running Linux camille 2.6.36-gentoo-r5 kernel.  My ivtv drivers
don't work with this kernel.  The newest ivtv drivers in portage only
work on 2.6.25 kernels.  What should I do?




[gentoo-user] Samba freakiness; why isn't it reading MY /etc/samba/smb.conf file?

2010-06-21 Thread Michael Sullivan
I just rebooted the computer to make sure this wasn't some weird RAM
remnant, but the computer booted up:

carter ~ # /etc/init.d/samba status
 * status:  started
carter ~ # cat /etc/samba/smb.conf
[global] 
workgroup = MYGROUP 
security = user 
encrypt passwords = yes 
guest account = guest
wins support = yes
local master = yes 
os level = 99 
domain master = yes 
preferred master = yes
hosts allow = 192.168.1. 127.
interfaces = eth0

[tmp] 
path=/tmp 
writeable=yes

[homes]
path=/samba/michael
valid users=michael
writable=yes
carter ~ # testparm 
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section [tmp]
Processing section [homes]
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
interfaces = eth0
guest account = guest
os level = 99
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = 192.168.1., 127.

[tmp]
path = /tmp
read only = No

[homes]
path = /samba/michael
valid users = michael
read only = No

At the top there you see that Samba IS started.  Under that you see MY
smb.conf, and at the bottom you see the smb.conf that's being loaded.
Nothing really in the logs that would suggest what's going on here:

carter ~ # cat /var/log/samba/*
cat: /var/log/samba/cores: Is a directory
[2010/06/21 16:39:34,  0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/06/21 16:39:34,  0] nmbd/asyncdns.c:155(start_async_dns)
  started asyncdns process 20980
[2010/06/21 16:39:34,  0]
nmbd/nmbd_become_dmb.c:337(become_domain_master_browser_wins)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup MYGROUP,
subnet UNICAST_SUBNET.
[2010/06/21 16:39:34,  0]
nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins)
  become_domain_master_browser_wins: querying WINS server from IP
192.168.1.2 for domain master browser name MYGROUP1b on workgroup
MYGROUP
[2010/06/21 16:39:40,  0]
nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
  *
  
  Samba server CARTER is now a domain master browser for workgroup
MYGROUP on subnet UNICAST_SUBNET
  
  *
[2010/06/21 16:39:40,  0]
nmbd/nmbd_become_dmb.c:292(become_domain_master_browser_bcast)
  become_domain_master_browser_bcast:
  Attempting to become domain master browser on workgroup MYGROUP on
subnet 192.168.1.2
[2010/06/21 16:39:40,  0]
nmbd/nmbd_become_dmb.c:305(become_domain_master_browser_bcast)
  become_domain_master_browser_bcast: querying subnet 192.168.1.2 for
domain master browser on workgroup MYGROUP
[2010/06/21 16:39:48,  0]
nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
  *
  
  Samba server CARTER is now a domain master browser for workgroup
MYGROUP on subnet 192.168.1.2
  
  *
[2010/06/21 16:39:56,  0]
nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
  *
  
  Samba name server CARTER is now a local master browser for workgroup
MYGROUP on subnet 192.168.1.2
  
  *
[2010/06/21 16:39:33,  0] smbd/server.c:1073(main)
  smbd version 3.4.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/06/21 16:39:33,  0] printing/print_cups.c:103(cups_connect)
  Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such
file or directory
[2010/06/21 16:39:33,  0] printing/print_cups.c:103(cups_connect)
  Unable to connect to CUPS server /var/run/cups/cups.sock:631 - No such
file or directory
[2010/06/21 16:39:34,  0] smbd/server.c:457(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use
[2010/06/21 16:39:34,  0] smbd/server.c:457(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use





Re: OT: CVS [WAS: Re: [gentoo-user] Need help discovering what's using a port (for cvsd)] SOLVED

2010-06-16 Thread Michael Sullivan
On Fri, 2010-03-05 at 09:43 -0600, Paul Hartman wrote:
 On Thu, Mar 4, 2010 at 5:54 PM, Michael Sullivan msulli1...@gmail.com wrote:
  On Thu, 2010-03-04 at 17:30 -0600, Paul Hartman wrote:
  On Thu, Mar 4, 2010 at 5:02 PM, Michael Sullivan msulli1...@gmail.com 
  wrote:
   netstat: no support for `AF IPX' on this system.
   netstat: no support for `AF AX25' on this system.
   netstat: no support for `AF X25' on this system.
   netstat: no support for `AF NETROM' on this system.
  
  
   I assume these are kernel options, but without knowing specific symbol
   names, I'm not sure how to compile them into the kernel.  Can anyone
   give me any advice on this situation?
 
  I think if you don't have support for those protocols the chances of a
  program using them is probably zero. :) FWIW i get the exact same
  messages. I don't think it is meaningful.
 
  I use a similar command (omitting all the unix sockets stuff): netstat
  -lnp --inet
 
  With regard to your original problem, try to edit the cvsd.conf and
  specify an actual IP address to listen on (instead of 0.0.0.0 or * or
  however it is defined there) and see if that helps.
 
 
  Now I've got the server running, but I can't connect to it:
 
  mich...@camille ~ $ cvs login
  Logging in to :pserver:mich...@carter.espersunited.com:2401/root
  CVS password:
  cvs [login aborted]: connect to
  carter.espersunited.com(192.168.1.2):2401 failed: Connection refused
 
 Hmm, does cvsd use inetd? maybe it needs to be added to allowed port
 list or something like that.
 
This line in the config file:

Listen 127.0.0.1  2401

needed to be changed to this:
Listen 192.168.1.2 2401

And now it works





Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-15 Thread Michael Sullivan
On Mon, 2010-06-14 at 22:43 +0100, Stroller wrote:
 On 14 Jun 2010, at 21:41, Michael Sullivan wrote:
  ... When I try to connect to the samba share from my
  linux install, I get this:
 
  mich...@camille ~ $ smbclient //carter//home
  Enter michael's password:
  Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  mich...@camille ~ $ smbclient //carter//michael
  Enter michael's password:
  Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
 
  (The host name is carter, and I didn't understand what the second part
  should be.)
 
 If you're referring to the  //first/second syntax, then the first part  
 is the computer name, the second part the share name.
 
  Also, I didn't know if michael's password meant my password on my
  local box, my password on the remote box, or some password I set up  
  for
  Samba forever ago...
 
 The second / third option.
 
 Each user on the Samba server has a password, but it isn't the same as  
 their system password. Log on to the Samba server (i.e. `ssh carter`)  
 and run smbpasswd (possibly `sudo smbpasswd -U michael`).
 
  Here's my /etc/samba/smb.conf file:
  ...
hosts allow = 192.168.1. 127.
 
 If it's been some time since this system was used, are you still using  
 the 192.168.1.x subnet? If your ISP sent you a new router, you might  
 now be on 192.168.0.x. IMO change this to:
 hosts allow = 192.168. 127.
 
 Also run `smbtree` (works without a password).
 
 I appreciate that Samba tends not to make any sense when you're  
 inexperienced, but there ought to be lots of troubleshooting guides  
 out there. Google troubleshooting samba, follow through the steps  
 suggested by 2 or 3 and report back  tell us what you've done.
 
 Stroller.
   
 
I've got a couple of new errors in the logs:

From /var/log/samba/log.___192.168.1.3:
[2010/06/15 11:56:58,  0] lib/util_sock.c:1564(matchname)
  matchname: host name/address mismatch: :::192.168.1.3 !=
camille.espersunited.com
[2010/06/15 11:56:58,  0] lib/util_sock.c:1685(get_peer_name)
  Matchname failed on camille.espersunited.com :::192.168.1.3

and from /var/log/samba/log.camille:

[2010/06/15 11:56:58,  0] smbd/service.c:942(make_connection_snum)
  Can't become connected user!


What's with the :192.168.1.3?  Camille's address IS 192.168.1.3, and
it seems to know that because it calls the host at the address
'camille'...




[gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Michael Sullivan
My personal workstation is a dual-boot setup with Gentoo and Windows XP.
A long time ago, I set up Samba on another computer on my network to
provide extra hard drive space to our Windows installations.  They used
to work, but we haven't used them in some time.  I tried to use it today
and it didn't work.  When I try to connect to the samba share from my
linux install, I get this:

mich...@camille ~ $ smbclient //carter//home
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
mich...@camille ~ $ smbclient //carter//michael 
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

(The host name is carter, and I didn't understand what the second part
should be.)
Also, I didn't know if michael's password meant my password on my
local box, my password on the remote box, or some password I set up for
Samba forever ago...

Here's my /etc/samba/smb.conf file:

carter samba # cat smb.conf
[global]
   workgroup = MYGROUP
   server string = Samba Server %v
   printcap name = cups
   load printers = yes
   printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
   hosts allow = 192.168.1. 127.
   map to guest = bad user
   security = user
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no 

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = michael amy
   path = /samba

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

[print$]
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   write list = @adm root
   guest ok = yes

[tmp]
   comment = Temporary file space
   path = /samba
   read only = no
   public = yes
   valid users = michael amy

I'm sure I've screwed something up somewhere, I'm just not sure what it
is.





Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Michael Sullivan
On Mon, 2010-06-14 at 22:43 +0100, Stroller wrote:
 If it's been some time since this system was used, are you still using  
 the 192.168.1.x subnet? If your ISP sent you a new router, you might  
 now be on 192.168.0.x. IMO change this to:
 hosts allow = 192.168. 127.
 
I bought a brand new Linksys Wireless-N router a few months ago.  I
configure it to start addresses after 192.168.1.1 because that's what
we've always used, it's what all the computers on our LAN are set up
for, and I see no reason to change it.
 Also run `smbtree` (works without a password).
 
 I appreciate that Samba tends not to make any sense when you're  
 inexperienced, but there ought to be lots of troubleshooting guides  
 out there. Google troubleshooting samba, follow through the steps  
 suggested by 2 or 3 and report back  tell us what you've done.
 
 Stroller.
   

I actually started today at
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html

carter ~ # testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section [homes]
Processing section [printers]
Processing section [print$]
Processing section [tmp]
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server %v
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
hosts allow = 192.168.1., 127.

[homes]
comment = Home Directories
path = /samba
valid users = michael, amy
read only = No
browseable = No
browsable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
browsable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
guest ok = Yes

[tmp]
comment = Temporary file space
path = /samba
valid users = michael, amy
read only = No
guest ok = Yes

mich...@camille ~ $ smbclient -L carter  
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Sharename   Type  Comment
-     ---
print$  Disk  
tmp Disk  Temporary file space
IPC$IPC   IPC Service (Samba Server 3.4.6)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Server   Comment
----
CARTER   Samba Server 3.4.6

WorkgroupMaster
----
MYGROUP  CARTER

mich...@camille ~ $ smbclient  //carter/tmp   
Enter michael's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_LOGON_FAILURE


Then I went to the Samba Checklist:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html

1: Run testparm; already did that.
2: Ping test:

mich...@camille ~ $ ping carter
PING carter.espersunited.com (192.168.1.2) 56(84) bytes of data.
64 bytes from carter.espersunited.com (192.168.1.2): icmp_seq=1 ttl=64
time=0.157 ms
64 bytes from carter.espersunited.com (192.168.1.2): icmp_seq=2 ttl=64
time=0.145 ms
^C
--- carter.espersunited.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.145/0.151/0.157/0.006 ms

carter ~ # ping camille
PING camille.espersunited.com (192.168.1.3) 56(84) bytes of data.
64 bytes from camille.espersunited.com (192.168.1.3): icmp_seq=1 ttl=64
time=0.158 ms
64 bytes from camille.espersunited.com (192.168.1.3): icmp_seq=2 ttl=64
time=0.155 ms
^C
--- camille.espersunited.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.155/0.156/0.158/0.012 ms

3: carter ~ # smbclient -L carter   
Enter root's password: 
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Sharename   Type  Comment
-     ---
print$  Disk  
tmp Disk  Temporary file space
IPC$IPC   IPC Service (Samba Server 3.4.6)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]

Server   Comment
----
CARTER   Samba Server 3.4.6

WorkgroupMaster
----
MYGROUP  CARTER

4: mich...@camille ~ $ nmblookup -B BIGSERVER __SAMBA__
querying __SAMBA__ on 192.168.1.255
192.168.1.2 __SAMBA__00

4:  carter ~ # nmblookup -B camille *
querying xorg.conf.new on 192.168.1.3
name_query failed to find name xorg.conf.new

*I'm not sure what finding xorg.conf.new has 

Re: [gentoo-user] Need help with samba (Possibly OT)

2010-06-14 Thread Michael Sullivan
On Tue, 2010-06-15 at 02:12 +0200, Alex Schuster wrote:
 Michael Sullivan writes:
 
  4: mich...@camille ~ $ nmblookup -B BIGSERVER __SAMBA__
  querying __SAMBA__ on 192.168.1.255
  192.168.1.2 __SAMBA__00
  
  4:  carter ~ # nmblookup -B camille *
  querying xorg.conf.new on 192.168.1.3
  name_query failed to find name xorg.conf.new
  
  *I'm not sure what finding xorg.conf.new has to do with Samba, but it's
  on the checklist...
 
 The shell replaces the * by files in your current directory. I do not know 
 about nmblookup, but I gues you have to escape the *. That is, use '*' or 
 \* instead.
 
   Wonko
 

carter ~ # nmblookup -B camille '*'
querying * on 192.168.1.3
name_query failed to find name *

What is this command looking for?




[gentoo-user] gphoto2 won't work

2010-04-26 Thread Michael Sullivan
I am trying to offload pictures from our digital camera (Kodeak
EasyShare CX7300) using the command gphoto2 -P [1].  This command has
worked for years to offload pictures from the camera.  Now, this command
gives me the output:

*** Error ***  
PTP Invalid Transaction ID

*** Error ***  
An error occurred in the io-library ('Unspecified error'): No error
description available
*** Error (-1: 'Unspecified error') ***   

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list gphoto-de...@lists.sourceforge.net, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -P [1]

Please make sure there is sufficient quoting around the arguments.


I ran the above suggested command and got the my-logfile.txt file, but I
can't make sense of it.  It's a little too long to paste here.  Has
anyone else had this problem?  What additional steps should I go through
to find the solution to this problem.  I found a whole bunch of hits on
Google, but they didn't make much sense, and the ones that did didn't
help.  Here's some additional info:
mich...@camille ~ $ sudo emerge -pv gphoto2 libgphoto2
Password: 

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

Calculating dependencies... done!
[ebuild   R   ] media-libs/libgphoto2-2.4.8  USE=doc examples exif hal
nls -bonjour CAMERAS=-adc65 -agfa_cl20 -aox -barbie -canon -casio_qv
-clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory
-enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a
-kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200
-konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot
-panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600
-polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh
-ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal
-sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -stv0674
-stv0680 -sx330z -template -topfield -toshiba_pdrm11 0 kB
[ebuild   R   ] media-gfx/gphoto2-2.4.8  USE=exif ncurses nls readline
-aalib 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB


Please help!







Re: [gentoo-user] Re: help

2010-03-20 Thread Michael Sullivan
On Sat, 2010-03-20 at 14:55 -0300, Crístian Viana wrote:
 or maybe he's using Seamonkey, like Dale :-) :-).
 

Hey!  What's wrong with seamonkey?




[gentoo-user] How can this be blocking my emerge -uD world if it's not installed

2010-03-05 Thread Michael Sullivan
I'm trying to run emerge -uD world:

[blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
blocking sys-power/pm-utils-1.2.5)

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

  ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
=sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
'sys-apps/apmd-3.2.2_p5', 'merge')

  ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
sys-power/pm-utils required by ('ebuild', '/',
'kde-base/powerdevil-4.3.5', 'merge')


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

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


 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

camille kde-base # emerge -C sys-power/powermgmt-base

--- Couldn't find 'sys-power/powermgmt-base' to unmerge.

 No packages selected for removal by unmerge

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

camille kde-base # 

As you can see powermgmt-base isn't even installed.  How can I get it to
stop blocking my emerge if it's not actually there???





[gentoo-user] Re: How can this be blocking my emerge -uD world if it's not installed [SOLVED]

2010-03-05 Thread Michael Sullivan
On Fri, 2010-03-05 at 13:02 -0600, Michael Sullivan wrote:
 I'm trying to run emerge -uD world:
 
 [blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
 blocking sys-power/pm-utils-1.2.5)
 
  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.
 
   ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
 =sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
 'sys-apps/apmd-3.2.2_p5', 'merge')
 
   ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
 sys-power/pm-utils required by ('ebuild', '/',
 'kde-base/powerdevil-4.3.5', 'merge')
 
 
 For more information about Blocked Packages, please refer to the
 following
 section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 
  * IMPORTANT: 7 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 camille kde-base # emerge -C sys-power/powermgmt-base
 
 --- Couldn't find 'sys-power/powermgmt-base' to unmerge.
 
  No packages selected for removal by unmerge
 
  * IMPORTANT: 7 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.
 
 camille kde-base # 
 
 As you can see powermgmt-base isn't even installed.  How can I get it to
 stop blocking my emerge if it's not actually there???
 

I added =sys-power/powermgmt-base-1.22 to
my /etc/portage/package.mask and the block went away.




I want my old Myth theme back! [WAS Re: [gentoo-user] Re: No more mythtv for Gentoo users?]

2010-03-04 Thread Michael Sullivan
I upgraded to mythtv-0.22_p23069.  Went through the whole song-and-dance
of repairing the database for the utf8 to latin1 thing, and now it's
finally back up.  Except for one tiny problem.  My G.A.N.T. theme is
gone.  I can't even select it as a theme.  Is there some way to get it
back?  I liked the plain gray background, the fact that I could tell at
a glance what was recording and what I had manually set not to record.
And the fact that a generic episode was easily distinguished from a
specific episode (I usually manually set generic episodes not to record,
but now I have to take extra time to find each episode and check that
it's not generic.  :(  I'm also not happy that they changed the order of
options.
-Michael Sullivan-




[gentoo-user] Need help discovering what's using a port (for cvsd)

2010-03-04 Thread Michael Sullivan
A few years ago I was working on a programming project.  I installed a
cvsd server on our server box and checked in/checked out the project
whenever I felt like working on it (it would have gotten majorly screwed
up if the only copy of the project lived on my personal workstation -
hence using cvsd).  Anyway, I got busy with other things and forgot
about that particular programming project.  At some point over the last
few years, cvsd got unmerged.  I remerged it today and have been trying
to get it to work.  I checked the repository directory and the files I
need are still there.  I can't get the server to start.  I tried
running /etc/init.d/cvsd start and it failed with the [!!] thing.  I
catted the script and saw that the executable for the cvsd server lives
at /usr/sbin/cvsd, so I tried calling it directly:
carter log # /usr/sbin/cvsd --debug
cvsd: debug: reading config file (/etc/cvsd/cvsd.conf)
cvsd: debug: done reading config file
cvsd: debug: cvscmd: /bin/cvs
cvsd: debug: cvsargs[0]: cvs
cvsd: debug: cvsargs[1]: -f
cvsd: debug: cvsargs[2]: --allow-root=/root
cvsd: debug: cvsargs[3]: pserver
cvsd: debug: cvsenv[0]: HOME=/
cvsd: debug: cvsenv[1]: PATH=/bin
cvsd: debug: cvsenv[2]: SHELL=/bin/sh
cvsd: debug: cvsenv[3]: TMPDIR=/tmp
cvsd: debug: cvsenv[4]: CVSUMASK=027
cvsd: version 1.0.7 starting
cvsd: debug: binding 0.0.0.0 2401 family=2 socktype=1 protocol=6
cvsd: listening on 0.0.0.0 2401
cvsd: debug: binding :: 2401 family=10 socktype=1 protocol=6
cvsd: bind() failed: Address already in use
cvsd: version 1.0.7 bailing out
carter log # netstat -anp | grep 2401
carter log # 

Nothing.  I hope I'm using the netstat command correctly.  I wrote in to
a linux list years ago asking how to find out which process is using a
port, and they said to grep `netstat -anp` for whatever port I was
looking for.  Anyway, when I ran netstat -anpv, I got some errors:

netstat: no support for `AF IPX' on this system.
netstat: no support for `AF AX25' on this system.
netstat: no support for `AF X25' on this system.
netstat: no support for `AF NETROM' on this system.


I assume these are kernel options, but without knowing specific symbol
names, I'm not sure how to compile them into the kernel.  Can anyone
give me any advice on this situation?  





OT: CVS [WAS: Re: [gentoo-user] Need help discovering what's using a port (for cvsd)]

2010-03-04 Thread Michael Sullivan
On Thu, 2010-03-04 at 17:30 -0600, Paul Hartman wrote:
 On Thu, Mar 4, 2010 at 5:02 PM, Michael Sullivan msulli1...@gmail.com wrote:
  netstat: no support for `AF IPX' on this system.
  netstat: no support for `AF AX25' on this system.
  netstat: no support for `AF X25' on this system.
  netstat: no support for `AF NETROM' on this system.
 
 
  I assume these are kernel options, but without knowing specific symbol
  names, I'm not sure how to compile them into the kernel.  Can anyone
  give me any advice on this situation?
 
 I think if you don't have support for those protocols the chances of a
 program using them is probably zero. :) FWIW i get the exact same
 messages. I don't think it is meaningful.
 
 I use a similar command (omitting all the unix sockets stuff): netstat
 -lnp --inet
 
 With regard to your original problem, try to edit the cvsd.conf and
 specify an actual IP address to listen on (instead of 0.0.0.0 or * or
 however it is defined there) and see if that helps.
 

Now I've got the server running, but I can't connect to it:

mich...@camille ~ $ cvs login
Logging in to :pserver:mich...@carter.espersunited.com:2401/root
CVS password: 
cvs [login aborted]: connect to
carter.espersunited.com(192.168.1.2):2401 failed: Connection refused

My .cvspass looks kinda weird too:
mich...@camille ~ $ cat .cvspass
/1 :pserver:mich...@carter.espersunited.com:2401/root Ah0 %0]y?

Is this right?





Re: [gentoo-user] sys-power/powermgmt-base blocks sys-power/pm-utils, but it's not installed yet

2010-01-07 Thread Michael Sullivan
On Thu, 2010-01-07 at 09:47 +0200, Alan McKinnon wrote:
 On Thursday 07 January 2010 05:35:39 Michael Sullivan wrote:
  On Wed, 2010-01-06 at 22:23 +0100, Renat Golubchyk wrote:
   Hi!
  
   On Wed, 06 Jan 2010 07:49:05 -0600
  
   Michael Sullivan msulli1...@gmail.com wrote:
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
   
  ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in
by
   
=sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
   
'sys-apps/apmd-3.2.2_p5', 'merge')
   
  ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
sys-power/pm-utils required by ('installed', '/',
'kde-base/powerdevil-4.3.3', 'nomerge')
  
   According to the error message sys-power/powermgmt-base is getting
   pulled by sys-apps/apmd and sys-power/pm-utils by kde-base/powerdevil.
   If you use ACPI then there is probably no need in having APM daemon
   installed. Add -t to your emerge command and check what package depends
   on apmd.
  
  
   Cheers,
   Renat
  
  These are the packages that would be merged, in reverse order:
  
  Calculating dependencies... done!
  [nomerge  ] gnome-base/gnome-2.26.3  USE=cdr cups dvdr
  -accessibility -esd -ldap -mono
  [nomerge  ]  gnome-base/gnome-applets-2.26.3  USE=acpi apm gnome
  gstreamer hal ipv6 -debug -doc -policykit
 
 USE=-apm
 
 If you have acpi you do not need to use apm. Unless you have weird hardware.

catherine ~ # USE=-apm emerge -pvuDt world

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

Calculating dependencies... done!
[nomerge  ] gnome-base/gnome-2.26.3  USE=cdr cups dvdr
-accessibility -esd -ldap -mono 
[nomerge  ]  gnome-base/gnome-applets-2.26.3  USE=acpi apm gnome
gstreamer hal ipv6 -debug -doc -policykit 
[ebuild  N]   sys-apps/apmd-3.2.2_p5  USE=X nls 0 kB
[nomerge  ] games-emulation/dosbox-0.73  USE=alsa opengl -debug
-hardened 
[nomerge  ]  media-libs/sdl-sound-1.0.3  USE=flac mikmod mp3 mpeg
vorbis -physfs -speex 
[ebuild U ]   media-libs/libmikmod-3.2.0_beta2-r1 [3.1.11-r5]
USE=oss (-alsa%*) (-esd%) 744 kB
[nomerge  ] kde-base/kde-meta-4.3.3  USE=nls -accessibility
(-kdeprefix) 
[nomerge  ]  kde-base/kdebase-meta-4.3.3  USE=semantic-desktop
(-kdeprefix) -policykit 
[nomerge  ]   kde-base/powerdevil-4.3.3  USE=pm-utils (-aqua)
-debug (-kdeenablefinal) (-kdeprefix) 
[ebuild  N]sys-power/pm-utils-1.2.5  USE=alsa -debug
-networkmanager -ntp VIDEO_CARDS=-intel -radeon 0 kB
[nomerge  ] sys-apps/apmd-3.2.2_p5  USE=X nls 
[ebuild  N]  sys-power/powermgmt-base-1.22  0 kB
[blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
blocking sys-power/pm-utils-1.2.5)

Total: 4 packages (1 upgrade, 3 new), Size of downloads: 744 kB
Conflict: 1 block (1 unsatisfied)

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

  ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
=sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
'sys-apps/apmd-3.2.2_p5', 'merge')

  ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
sys-power/pm-utils required by ('installed', '/',
'kde-base/powerdevil-4.3.3', 'nomerge')


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

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


 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

catherine ~ # 







Re: [gentoo-user] sys-power/powermgmt-base blocks sys-power/pm-utils, but it's not installed yet [SOLVED I think]

2010-01-07 Thread Michael Sullivan
  Calculating dependencies... done!
  [nomerge  ] gnome-base/gnome-2.26.3  USE=cdr cups dvdr
  -accessibility -esd -ldap -mono
  [nomerge  ]  gnome-base/gnome-applets-2.26.3  USE=acpi apm gnome
  gstreamer hal ipv6 -debug -doc -policykit
  [ebuild  N]   sys-apps/apmd-3.2.2_p5  USE=X nls 0 kB
  [nomerge  ] games-emulation/dosbox-0.73  USE=alsa opengl -debug
  -hardened
  [nomerge  ]  media-libs/sdl-sound-1.0.3  USE=flac mikmod mp3 mpeg
  vorbis -physfs -speex
  [ebuild U ]   media-libs/libmikmod-3.2.0_beta2-r1 [3.1.11-r5]
  USE=oss (-alsa%*) (-esd%) 744 kB
  [nomerge  ] kde-base/kde-meta-4.3.3  USE=nls -accessibility
  (-kdeprefix)
  [nomerge  ]  kde-base/kdebase-meta-4.3.3  USE=semantic-desktop
  (-kdeprefix) -policykit
  [nomerge  ]   kde-base/powerdevil-4.3.3  USE=pm-utils (-aqua)
  -debug (-kdeenablefinal) (-kdeprefix)
  [ebuild  N]sys-power/pm-utils-1.2.5  USE=alsa -debug
  -networkmanager -ntp VIDEO_CARDS=-intel -radeon 0 kB
  [nomerge  ] sys-apps/apmd-3.2.2_p5  USE=X nls
  [ebuild  N]  sys-power/powermgmt-base-1.22  0 kB
  [blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
  blocking sys-power/pm-utils-1.2.5)
 
  Total: 4 packages (1 upgrade, 3 new), Size of downloads: 744 kB
  Conflict: 1 block (1 unsatisfied)
 
   * Error: The above package list contains packages which cannot be
   * installed at the same time on the same system.
 
('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
  =sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
  'sys-apps/apmd-3.2.2_p5', 'merge')
 
('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
  sys-power/pm-utils required by ('installed', '/',
  'kde-base/powerdevil-4.3.3', 'nomerge')
 
 
  For more information about Blocked Packages, please refer to the
  following
  section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
 
  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 
   * IMPORTANT: 3 news items need reading for repository 'gentoo'.
   * Use eselect news to read news items.
 
  catherine ~ #
 
 
 
 
 
 
 If the package pulling in powermgmt-base isn't necessary for anything you  
 know of then add it to package.mask
 

I changed USE in /etc/make.conf to -apm and did an emerge -ND world and
the block is resolved.  I think the apm flag got added to solve an X
problem years ago, but I guess we'll find out the next time the computer
is rebooted...




[gentoo-user] sys-power/powermgmt-base blocks sys-power/pm-utils, but it's not installed yet

2010-01-06 Thread Michael Sullivan
I was hoping that this was a dev boo-boo and would work itself out in
time, but it's been several days and it hasn't, so the problem must be
on my end.  See the following listing:

Calculating dependencies  .. . ... done!
[ebuild  N] sys-power/powermgmt-base-1.22 
[ebuild U ] media-libs/libmikmod-3.2.0_beta2-r1 [3.1.11-r5]
[ebuild  N] sys-apps/apmd-3.2.2_p5  USE=X nls 
[ebuild  N] sys-power/pm-utils-1.2.5  USE=alsa -debug
-networkmanager -ntp VIDEO_CARDS=-intel -radeon 
[blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
blocking sys-power/pm-utils-1.2.5)

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

  ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
=sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
'sys-apps/apmd-3.2.2_p5', 'merge')

  ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
sys-power/pm-utils required by ('installed', '/',
'kde-base/powerdevil-4.3.3', 'nomerge')

As you can see powermgmt-base is on the emerge list, as is pm-utils.  I
installed kde-meta because my mother-in-law is visiting and she likes
kpatience and it didn't work anymore with kde-3.5.  Now, how do I
resolve this block? 




Re: [gentoo-user] sys-power/powermgmt-base blocks sys-power/pm-utils, but it's not installed yet

2010-01-06 Thread Michael Sullivan
On Wed, 2010-01-06 at 22:23 +0100, Renat Golubchyk wrote:
 Hi!
 
 On Wed, 06 Jan 2010 07:49:05 -0600
 Michael Sullivan msulli1...@gmail.com wrote:
   * Error: The above package list contains packages which cannot be
   * installed at the same time on the same system.
  
('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in
  by
  =sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
  'sys-apps/apmd-3.2.2_p5', 'merge')
  
('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
  sys-power/pm-utils required by ('installed', '/',
  'kde-base/powerdevil-4.3.3', 'nomerge')
 
 According to the error message sys-power/powermgmt-base is getting
 pulled by sys-apps/apmd and sys-power/pm-utils by kde-base/powerdevil.
 If you use ACPI then there is probably no need in having APM daemon
 installed. Add -t to your emerge command and check what package depends
 on apmd.
 
 
 Cheers,
 Renat
 
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge  ] gnome-base/gnome-2.26.3  USE=cdr cups dvdr
-accessibility -esd -ldap -mono 
[nomerge  ]  gnome-base/gnome-applets-2.26.3  USE=acpi apm gnome
gstreamer hal ipv6 -debug -doc -policykit 
[ebuild  N]   sys-apps/apmd-3.2.2_p5  USE=X nls 0 kB
[nomerge  ] games-emulation/dosbox-0.73  USE=alsa opengl -debug
-hardened 
[nomerge  ]  media-libs/sdl-sound-1.0.3  USE=flac mikmod mp3 mpeg
vorbis -physfs -speex 
[ebuild U ]   media-libs/libmikmod-3.2.0_beta2-r1 [3.1.11-r5]
USE=oss (-alsa%*) (-esd%) 744 kB
[nomerge  ] kde-base/kde-meta-4.3.3  USE=nls -accessibility
(-kdeprefix) 
[nomerge  ]  kde-base/kdebase-meta-4.3.3  USE=semantic-desktop
(-kdeprefix) -policykit 
[nomerge  ]   kde-base/powerdevil-4.3.3  USE=pm-utils (-aqua)
-debug (-kdeenablefinal) (-kdeprefix) 
[ebuild  N]sys-power/pm-utils-1.2.5  USE=alsa -debug
-networkmanager -ntp VIDEO_CARDS=-intel -radeon 0 kB
[nomerge  ] sys-apps/apmd-3.2.2_p5  USE=X nls 
[ebuild  N]  sys-power/powermgmt-base-1.22  0 kB
[blocks B ] sys-power/powermgmt-base (sys-power/powermgmt-base is
blocking sys-power/pm-utils-1.2.5)

Total: 4 packages (1 upgrade, 3 new), Size of downloads: 744 kB
Conflict: 1 block (1 unsatisfied)

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

  ('ebuild', '/', 'sys-power/powermgmt-base-1.22', 'merge') pulled in by
=sys-power/powermgmt-base-1.22 required by ('ebuild', '/',
'sys-apps/apmd-3.2.2_p5', 'merge')

  ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') pulled in by
sys-power/pm-utils required by ('installed', '/',
'kde-base/powerdevil-4.3.3', 'nomerge')


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

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


 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.






Re: [gentoo-user] Re: Externel drive should be /dev/sda1, but /dev/sda1 does not exist

2010-01-02 Thread Michael Sullivan
On Fri, 2010-01-01 at 11:37 -0800, walt wrote:
 On 01/01/2010 05:48 AM, Michael Sullivan wrote:
  Hello
 
  My wife's computer is pretty slow, so I've attached and old hard drive
  into a hard drive enclosure and hooked it into her USB port for
  additional swap space.  It used to work.  The swap space is supposed to
  be /dev/sda1.  The problem is that for some reason when I rebooted this
  morning with a new kernel, /dev/sda does not exist anymore...
 
 Hm.  So the only thing you changed was the new kernel?  Might help to
 know why you built the new kernel.  What problem were you solving by
 doing it?
 
OK here goes.  I built the new kernel because with the old one /dev/sda
didn't seem to exist when I know it should.  And besides, there was a
newer kernel marked as stable and aren't we always supposed to use the
newest stable kernel for security reasons, unless there's something that
we need done that the new kernel doesn't do?

 I would try booting the machine without the USB swap disk and then
 hotplug it when the machine is already running.  What does dmesg say
 then?  Can be simpler to interpret when you know exactly which lines
 were printed in response to the newly connected drive.


I rebooted the machine with the drive unplugged and ran dmesg:

catherine ~ # cat dmesg.txt
Initializing cgroup subsys cpuset
Linux version 2.6.31-gentoo-r6 (r...@catherine) (gcc version 4.3.4
(Gentoo 4.3.4 p1.0, pie-10.1.5) ) #1 SMP Thu Dec 31 19:13:07 CST 2009
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 0dff (usable)
 BIOS-e820: 0dff - 0dff3000 (ACPI NVS)
 BIOS-e820: 0dff3000 - 0e00 (ACPI data)
 BIOS-e820: fec0 - fec01000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820:  - 0001 (reserved)
DMI 2.2 present.
Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range:  - 0001 (usable) ==
(reserved)
last_pfn = 0xdff0 max_arch_pfn = 0x10
MTRR default type: uncachable
MTRR fixed ranges enabled:
  0-9 write-back
  A-B uncachable
  C-C7FFF write-protect
  C8000-E uncachable
  F-F write-protect
MTRR variable ranges enabled:
  0 base 0 mask FF000 write-back
  1 base 00E00 mask FFE00 uncachable
  2 base 0D000 mask FF800 write-combining
  3 disabled
  4 disabled
  5 disabled
  6 disabled
  7 disabled
initial memory mapped : 0 - 0080
init_memory_mapping: -0dff
 00 - 40 page 4k
 40 - 000dc0 page 2M
 000dc0 - 000dff page 4k
kernel direct mapping tables up to dff @ 1-15000
RAMDISK: 0dcc5000 - 0dfdf8aa
ACPI: RSDP 000f7170 00014 (v00 AWARD )
ACPI: RSDT 0dff3000 0002C (v01 AWARD  AWRDACPI 42302E31 AWRD )
ACPI: FACP 0dff3040 00074 (v01 AWARD  AWRDACPI 42302E31 AWRD )
ACPI: DSDT 0dff30c0 038FA (v01 AWARD  AWRDACPI 1000 MSFT 010E)
ACPI: FACS 0dff 00040
ACPI: APIC 0dff69c0 0005A (v01 AWARD  AWRDACPI 42302E31 AWRD )
ACPI: Local APIC address 0xfee0
0MB HIGHMEM available.
223MB LOWMEM available.
  mapped low ram: 0 - 0dff
  low ram: 0 - 0dff
  node 0 low ram:  - 0dff
  node 0 bootmap 00011000 - 00012c00
(9 early reservations) == bootmem [00 - 000dff]
  #0 [00 - 001000]   BIOS data page == [00 -
001000]
  #1 [001000 - 002000]EX TRAMPOLINE == [001000 -
002000]
  #2 [006000 - 007000]   TRAMPOLINE == [006000 -
007000]
  #3 [10 - 637f00]TEXT DATA BSS == [10 -
637f00]
  #4 [000dcc5000 - 000dfdf8aa]  RAMDISK == [000dcc5000 -
000dfdf8aa]
  #5 [09f800 - 10]BIOS reserved == [09f800 -
10]
  #6 [638000 - 63a06a]  BRK == [638000 -
63a06a]
  #7 [01 - 011000]  PGTABLE == [01 -
011000]
  #8 [011000 - 013000]  BOOTMAP == [011000 -
013000]
found SMP MP-table at [c00f57a0] f57a0
Zone PFN ranges:
  DMA  0x0010 - 0x1000
  Normal   0x1000 - 0xdff0
  HighMem  0xdff0 - 0xdff0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x0010 - 0x009f
0: 0x0100 - 0xdff0
On node 0 totalpages: 57215
free_area_init_node: node 0, pgdat c0561da0, node_mem_map c1000200
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3951 pages, LIFO batch:0
  Normal zone: 416 pages used for memmap
  Normal zone

Re: [gentoo-user] Re: Externel drive should be /dev/sda1, but /dev/sda1 does not exist [SOLVED somehow]

2010-01-02 Thread Michael Sullivan
I guess I should have checked before I sent that last post because
now /dev/sda is there.  Now, how do I make it be there when I first boot
into Linux?

On Sat, 2010-01-02 at 08:35 -0600, Michael Sullivan wrote:
 On Fri, 2010-01-01 at 11:37 -0800, walt wrote:
  On 01/01/2010 05:48 AM, Michael Sullivan wrote:
   Hello
  
   My wife's computer is pretty slow, so I've attached and old hard drive
   into a hard drive enclosure and hooked it into her USB port for
   additional swap space.  It used to work.  The swap space is supposed to
   be /dev/sda1.  The problem is that for some reason when I rebooted this
   morning with a new kernel, /dev/sda does not exist anymore...
  
  Hm.  So the only thing you changed was the new kernel?  Might help to
  know why you built the new kernel.  What problem were you solving by
  doing it?
  
 OK here goes.  I built the new kernel because with the old one /dev/sda
 didn't seem to exist when I know it should.  And besides, there was a
 newer kernel marked as stable and aren't we always supposed to use the
 newest stable kernel for security reasons, unless there's something that
 we need done that the new kernel doesn't do?
 
  I would try booting the machine without the USB swap disk and then
  hotplug it when the machine is already running.  What does dmesg say
  then?  Can be simpler to interpret when you know exactly which lines
  were printed in response to the newly connected drive.
 
 
 I rebooted the machine with the drive unplugged and ran dmesg:
 
 catherine ~ # cat dmesg.txt
 Initializing cgroup subsys cpuset
 Linux version 2.6.31-gentoo-r6 (r...@catherine) (gcc version 4.3.4
 (Gentoo 4.3.4 p1.0, pie-10.1.5) ) #1 SMP Thu Dec 31 19:13:07 CST 2009
 KERNEL supported cpus:
   Intel GenuineIntel
   AMD AuthenticAMD
   NSC Geode by NSC
   Cyrix CyrixInstead
   Centaur CentaurHauls
   Transmeta GenuineTMx86
   Transmeta TransmetaCPU
   UMC UMC UMC UMC
 BIOS-provided physical RAM map:
  BIOS-e820:  - 0009f800 (usable)
  BIOS-e820: 0009f800 - 000a (reserved)
  BIOS-e820: 000f - 0010 (reserved)
  BIOS-e820: 0010 - 0dff (usable)
  BIOS-e820: 0dff - 0dff3000 (ACPI NVS)
  BIOS-e820: 0dff3000 - 0e00 (ACPI data)
  BIOS-e820: fec0 - fec01000 (reserved)
  BIOS-e820: fee0 - fee01000 (reserved)
  BIOS-e820:  - 0001 (reserved)
 DMI 2.2 present.
 Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
 e820 update range:  - 0001 (usable) ==
 (reserved)
 last_pfn = 0xdff0 max_arch_pfn = 0x10
 MTRR default type: uncachable
 MTRR fixed ranges enabled:
   0-9 write-back
   A-B uncachable
   C-C7FFF write-protect
   C8000-E uncachable
   F-F write-protect
 MTRR variable ranges enabled:
   0 base 0 mask FF000 write-back
   1 base 00E00 mask FFE00 uncachable
   2 base 0D000 mask FF800 write-combining
   3 disabled
   4 disabled
   5 disabled
   6 disabled
   7 disabled
 initial memory mapped : 0 - 0080
 init_memory_mapping: -0dff
  00 - 40 page 4k
  40 - 000dc0 page 2M
  000dc0 - 000dff page 4k
 kernel direct mapping tables up to dff @ 1-15000
 RAMDISK: 0dcc5000 - 0dfdf8aa
 ACPI: RSDP 000f7170 00014 (v00 AWARD )
 ACPI: RSDT 0dff3000 0002C (v01 AWARD  AWRDACPI 42302E31 AWRD )
 ACPI: FACP 0dff3040 00074 (v01 AWARD  AWRDACPI 42302E31 AWRD )
 ACPI: DSDT 0dff30c0 038FA (v01 AWARD  AWRDACPI 1000 MSFT 010E)
 ACPI: FACS 0dff 00040
 ACPI: APIC 0dff69c0 0005A (v01 AWARD  AWRDACPI 42302E31 AWRD )
 ACPI: Local APIC address 0xfee0
 0MB HIGHMEM available.
 223MB LOWMEM available.
   mapped low ram: 0 - 0dff
   low ram: 0 - 0dff
   node 0 low ram:  - 0dff
   node 0 bootmap 00011000 - 00012c00
 (9 early reservations) == bootmem [00 - 000dff]
   #0 [00 - 001000]   BIOS data page == [00 -
 001000]
   #1 [001000 - 002000]EX TRAMPOLINE == [001000 -
 002000]
   #2 [006000 - 007000]   TRAMPOLINE == [006000 -
 007000]
   #3 [10 - 637f00]TEXT DATA BSS == [10 -
 637f00]
   #4 [000dcc5000 - 000dfdf8aa]  RAMDISK == [000dcc5000 -
 000dfdf8aa]
   #5 [09f800 - 10]BIOS reserved == [09f800 -
 10]
   #6 [638000 - 63a06a]  BRK == [638000 -
 63a06a]
   #7 [01 - 011000]  PGTABLE == [01 -
 011000]
   #8 [011000 - 013000]  BOOTMAP == [011000 -
 013000]
 found SMP MP-table at [c00f57a0] f57a0
 Zone PFN ranges:
   DMA  0x0010 - 0x1000
   Normal   0x1000 - 0xdff0
   HighMem  0xdff0 - 0xdff0
 Movable zone start PFN for each node
 early_node_map[2

[gentoo-user] Externel drive should be /dev/sda1, but /dev/sda1 does not exist

2010-01-01 Thread Michael Sullivan
 
usb_storage49012  0 
ehci_hcd   30756  0 
usbcore   125412  7
sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
aic94xx63056  0 
libsas 40312  1 aic94xx
lpfc  335680  0 
qla2xxx   198228  0 
megaraid_sas   28672  0 
megaraid_mbox  27444  0 
megaraid_mm 8140  1 megaraid_mbox
megaraid   37876  0 
aacraid61408  0 
sx813232  0 
DAC960 61252  0 
cciss  83956  0 
3w_9xxx28080  0 
3w_21528  0 
mptsas 44696  0 
scsi_transport_sas 25004  3 aic94xx,libsas,mptsas
mptfc  1  0 
scsi_transport_fc  39252  3 lpfc,qla2xxx,mptfc
scsi_tgt   10984  1 scsi_transport_fc
mptspi 15484  0 
mptscsih   28516  3 mptsas,mptfc,mptspi
mptbase78172  4 mptsas,mptfc,mptspi,mptscsih
atp870u25132  0 
dc395x 29184  0 
qla128020272  0 
imm 8980  0 
parport31484  4 lp,ppdev,parport_pc,imm
dmx3191d9472  0 
sym53c8xx  65888  0 
qlogicfas4086292  0 
gdth   76584  0 
advansys   52732  0 
initio 15264  0 
BusLogic   20632  0 
arcmsr 19832  0 
aic7xxx   104240  0 
aic79xx   109548  0 
scsi_transport_spi 20276  5
mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx
sg 25136  0 
pdc_adma6208  0 
sata_inic162x   8328  0 
sata_mv24500  0 
ata_piix   22152  0 
ahci   32120  0 
sata_qstor  6324  0 
sata_vsc5036  0 
sata_uli3824  0 
sata_sis4840  0 
sata_sx49144  0 
sata_nv20180  0 
sata_via8304  0 
sata_svw4856  0 
sata_sil24 11980  0 
sata_sil8344  0 
sata_promise9908  0 
pata_pcmcia10796  0 
pcmcia 31232  2 ssb,pata_pcmcia
pcmcia_core32096  2 ssb,pcmcia

I don't know if I just don't have the right drivers loaded or installed
or what, but this is a problem.  My mother-in-law is coming today and
she's the type of person who will be scared off if something doesn't
work right.  We don't want her scared off.  She's a Windows user, so
this is kind of a big deal for us.  Thank you for your help.  Please let
me know if there's any other information you need in order to help me...
-Michael Sullivan-







Re: [gentoo-user] Externel drive should be /dev/sda1, but /dev/sda1 does not exist

2010-01-01 Thread Michael Sullivan
On Fri, 2010-01-01 at 16:12 +0200, Alan McKinnon wrote:
 On Friday 01 January 2010 15:48:52 Michael Sullivan wrote:
  Hello
  
  My wife's computer is pretty slow, so I've attached and old hard drive
  into a hard drive enclosure and hooked it into her USB port for
  additional swap space.  It used to work.  The swap space is supposed to
  be /dev/sda1.  The problem is that for some reason when I rebooted this
  morning with a new kernel, /dev/sda does not exist anymore.  I'm at a
  lost as to what to do now.  Here's dmesg, or at least the parts
  portaining to usb devices:
 
 does it make a difference if you disable CONFIG_USB_SUSPEND, which can be 
 done 
 by reloading the module usbcore with the option autosuspend=-1 ?
 

catherine dev # modprobe usbcore autosuspend=-1
catherine dev # ls /dev/sda1
ls: cannot access /dev/sda1: No such file or directory



Did I do this right?




Re: [gentoo-user] Re: udev (probably) (Really MythTV) [SOLVED]

2009-11-24 Thread Michael Sullivan
On Tue, 2009-11-24 at 13:34 +, Neil Bothwick wrote:
 On Mon, 23 Nov 2009 15:23:58 -0600, Michael Sullivan wrote:
 
  I'm rebuilding the kernel with that option disabled, but in the meantime
  why did Mythtv forget my programs set to record?  I checked that mysql
  is running, and it is, I checked mythbacked.  The only discrepancy I can
  find is the existence of /dev/video0...
 
 If MythTV can't find your TV card, it can't record from it and gives the
 slightly ambiguous message about no programs to record. It is true,
 because without a configured input, it won't record any programs.
 
 

I build kernel 2.6.30-r10 and booted with it and Myth seems to work fine
now...




[gentoo-user] udev (probably)

2009-11-23 Thread Michael Sullivan
I've been working all day rearranging furniture in my apartment.  I got
the my computer to its new spot and hooked everything up and booted and
I saw a message that said something about some kernel option that was
turned on that shouldn't be, and that udev might not work.  When I got
logged in, I found that Mythtv was all screwed up and that it said I
didn't have any programs set to record.  LiveTV didn't work at all.  My
tv card (dev/video0); ls says it's there, but cat says it's not.  When I
used /etc/init.d/udev I got a message saying that the udev initscript
only works with baselayout 2 and that I shouldn't use it with baselayout
1.  I didn't even know I was using baselayout 1!  Anyway, is there a
way, after I've booted the computer, to access those messages shown at
startup?




[gentoo-user] Re: udev (probably)

2009-11-23 Thread Michael Sullivan
On Mon, 2009-11-23 at 15:05 -0600, Michael Sullivan wrote:
 I've been working all day rearranging furniture in my apartment.  I got
 the my computer to its new spot and hooked everything up and booted and
 I saw a message that said something about some kernel option that was
 turned on that shouldn't be, and that udev might not work.  When I got
 logged in, I found that Mythtv was all screwed up and that it said I
 didn't have any programs set to record.  LiveTV didn't work at all.  My
 tv card (dev/video0); ls says it's there, but cat says it's not.  When I
 used /etc/init.d/udev I got a message saying that the udev initscript
 only works with baselayout 2 and that I shouldn't use it with baselayout
 1.  I didn't even know I was using baselayout 1!  Anyway, is there a
 way, after I've booted the computer, to access those messages shown at
 startup?

I found it in /var/log/messages.  It said:

Nov 23 15:37:07 camille kernel: udev: missing sysfs features; please
update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED
option; udev may fail to work correctly
Nov 23 15:00:01 camille sudo:  michael : TTY=pts/4 ; PWD=/home/michael ;
USER=root ; COMMAND=/etc/init.d/udev restart

I'm rebuilding the kernel with that option disabled, but in the meantime
why did Mythtv forget my programs set to record?  I checked that mysql
is running, and it is, I checked mythbacked.  The only discrepancy I can
find is the existence of /dev/video0...




  1   2   3   4   5   6   7   8   9   >