public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] udev (probably)
@ 2009-11-23 21:05 Michael Sullivan
  2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Michael Sullivan @ 2009-11-23 21:05 UTC (permalink / raw
  To: gentoo-user

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?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: udev (probably)
  2009-11-23 21:05 [gentoo-user] udev (probably) Michael Sullivan
@ 2009-11-23 21:23 ` Michael Sullivan
  2009-11-23 22:45   ` Dale
                     ` (2 more replies)
  2009-11-23 22:20 ` [gentoo-user] udev (probably) BRM
  2009-11-24 13:07 ` Christian Könitzer
  2 siblings, 3 replies; 10+ messages in thread
From: Michael Sullivan @ 2009-11-23 21:23 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] udev (probably)
  2009-11-23 21:05 [gentoo-user] udev (probably) Michael Sullivan
  2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
@ 2009-11-23 22:20 ` BRM
  2009-11-24  0:45   ` Michael Sullivan
  2009-11-24 13:07 ` Christian Könitzer
  2 siblings, 1 reply; 10+ messages in thread
From: BRM @ 2009-11-23 22:20 UTC (permalink / raw
  To: gentoo-user

dmesg

Ben



----- Original Message ----
From: Michael Sullivan <msulli1355@gmail.com>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Sent: Mon, November 23, 2009 4:05:17 PM
Subject: [gentoo-user] udev (probably)

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?



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: udev (probably)
  2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
@ 2009-11-23 22:45   ` Dale
  2009-11-23 23:48   ` daid kahl
  2009-11-24 13:34   ` Neil Bothwick
  2 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2009-11-23 22:45 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-) 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: udev (probably)
  2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
  2009-11-23 22:45   ` Dale
@ 2009-11-23 23:48   ` daid kahl
  2009-11-24  0:25     ` Dale
  2009-11-24 13:34   ` Neil Bothwick
  2 siblings, 1 reply; 10+ messages in thread
From: daid kahl @ 2009-11-23 23:48 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: udev (probably)
  2009-11-23 23:48   ` daid kahl
@ 2009-11-24  0:25     ` Dale
  0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2009-11-24  0:25 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-) 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] udev (probably)
  2009-11-23 22:20 ` [gentoo-user] udev (probably) BRM
@ 2009-11-24  0:45   ` Michael Sullivan
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Sullivan @ 2009-11-24  0:45 UTC (permalink / raw
  To: gentoo-user

The only thing I saw in dmesg that might point to a myth problem was:

ivtv0: Failed to initialize on minor 32
ivtv0: Failed to initialize on minor 64
ivtv0: Failed to initialize on minor 224
ivtv0: Failed to initialize on minor 0
ivtv0: Failed to initialize on minor 24
ivtv0: Failed to initialize on minor 0


On Mon, 2009-11-23 at 14:20 -0800, BRM wrote:
> dmesg
> 
> Ben
> 
> 
> 
> ----- Original Message ----
> From: Michael Sullivan <msulli1355@gmail.com>
> To: gentoo-user <gentoo-user@lists.gentoo.org>
> Sent: Mon, November 23, 2009 4:05:17 PM
> Subject: [gentoo-user] udev (probably)
> 
> 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?
> 




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] udev (probably)
  2009-11-23 21:05 [gentoo-user] udev (probably) Michael Sullivan
  2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
  2009-11-23 22:20 ` [gentoo-user] udev (probably) BRM
@ 2009-11-24 13:07 ` Christian Könitzer
  2 siblings, 0 replies; 10+ messages in thread
From: Christian Könitzer @ 2009-11-24 13:07 UTC (permalink / raw
  To: gentoo-user

Add
 >=sys-apps/baselayout-1.12.13
to your /etc/portage/package.mask and
emerge -DuN world
and reboot the PC

It worked for me. There is also a bug in bugzilla with more solutions:
http://bugs.gentoo.org/show_bug.cgi?id=291916


For the first message you can turn

CONFIG_SYSFS_DEPRECATED

off in your kernel but it has nothing to do with the problem....

Michael Sullivan schrieb:
> 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?
>
>   



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: udev (probably)
  2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
  2009-11-23 22:45   ` Dale
  2009-11-23 23:48   ` daid kahl
@ 2009-11-24 13:34   ` Neil Bothwick
  2009-11-24 14:20     ` [gentoo-user] Re: udev (probably) (Really MythTV) [SOLVED] Michael Sullivan
  2 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2009-11-24 13:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: udev (probably) (Really MythTV) [SOLVED]
  2009-11-24 13:34   ` Neil Bothwick
@ 2009-11-24 14:20     ` Michael Sullivan
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Sullivan @ 2009-11-24 14:20 UTC (permalink / raw
  To: gentoo-user

On Tue, 2009-11-24 at 13:34 +0000, 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...




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-11-24 16:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 21:05 [gentoo-user] udev (probably) Michael Sullivan
2009-11-23 21:23 ` [gentoo-user] " Michael Sullivan
2009-11-23 22:45   ` Dale
2009-11-23 23:48   ` daid kahl
2009-11-24  0:25     ` Dale
2009-11-24 13:34   ` Neil Bothwick
2009-11-24 14:20     ` [gentoo-user] Re: udev (probably) (Really MythTV) [SOLVED] Michael Sullivan
2009-11-23 22:20 ` [gentoo-user] udev (probably) BRM
2009-11-24  0:45   ` Michael Sullivan
2009-11-24 13:07 ` Christian Könitzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox