Re: [gentoo-user] Re: udev (probably)

2009-11-24 Thread Neil Bothwick
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.


-- 
Neil Bothwick

Is it possible to be totally partial?


signature.asc
Description: PGP signature


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] 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...




Re: [gentoo-user] Re: udev (probably)

2009-11-23 Thread Dale

Michael Sullivan wrote:

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...

  


Question one:  You using baselayout 2 or 1?

I ran into this the other day and I just recompiled a new kernel with 
the CONFIG_SYSFS_DEPRECATED option disabled.  It's under the General 
Setup screen as:


Create deprecated sysfs layout for older userspace tools

I'm pretty sure that is it.  After you disable that and reboot, 
everything should go back to normal.  I don't have MythTV or anything so 
I hope everything will go back to normal on that too. 


Hope that helps.

Dale

:-)  :-) 



Re: [gentoo-user] Re: udev (probably)

2009-11-23 Thread daid kahl
 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.
 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...

I also had this message for maybe a week before I rebuilt the kernel
(same way as you).  The only difference I noticed was that the error
message went away, but maybe it had some effect on your hardware?

~daid



Re: [gentoo-user] Re: udev (probably)

2009-11-23 Thread Dale

daid kahl wrote:

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.
  

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...



I also had this message for maybe a week before I rebuilt the kernel
(same way as you).  The only difference I noticed was that the error
message went away, but maybe it had some effect on your hardware?

~daid

  


Since I hadn't rebooted in a while, I don't know what changed on mine 
either.  It appears udev was still working tho.  I noticed this when I 
went to single user and typed in the wrong process number and killed 
udev.  I restarted it and got the error the OP got.  I figured I would 
fix it while I was already that close to a shutdown anyway.


I suspect tho that MythTV sort of complicates things by needing udev to 
create things not needed on a system without MythTV. 

For the record OP, if you are on baselayout-1, you can start udev by 
typing in /sbin/udevd --daemon.  I'm pretty sure you have to be root to 
do that tho.


Dale

:-)  :-)