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

» Linux Archive

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


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-23-2009, 08:05 PM
Michael Sullivan
 
Default 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?
 
Old 11-23-2009, 08:23 PM
Michael Sullivan
 
Default udev (probably)

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...
 
Old 11-23-2009, 09:20 PM
BRM
 
Default udev (probably)

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?
 
Old 11-23-2009, 09:45 PM
Dale
 
Default udev (probably)

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

:-) :-)
 
Old 11-23-2009, 10:48 PM
daid kahl
 
Default udev (probably)

>> 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
 
Old 11-23-2009, 11:25 PM
Dale
 
Default udev (probably)

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

:-) :-)
 
Old 11-23-2009, 11:45 PM
Michael Sullivan
 
Default udev (probably)

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?
>
 
Old 11-24-2009, 12:07 PM
Christian Könitzer
 
Default udev (probably)

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?
 
Old 11-24-2009, 12:34 PM
Neil Bothwick
 
Default udev (probably)

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?
 

Thread Tools




All times are GMT. The time now is 11:12 AM.

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