Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] udev (probably)

4 views
Skip to first unread message

Michael Sullivan

unread,
Nov 23, 2009, 5:20:02 PM11/23/09
to
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?

Michael Sullivan

unread,
Nov 23, 2009, 5:30:02 PM11/23/09
to

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

Dale

unread,
Nov 23, 2009, 7:10:02 PM11/23/09
to

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

:-) :-)

BRM

unread,
Nov 23, 2009, 7:10:02 PM11/23/09
to
dmesg

Ben

daid kahl

unread,
Nov 23, 2009, 7:20:01 PM11/23/09
to
>> 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

Michael Sullivan

unread,
Nov 23, 2009, 7:50:01 PM11/23/09
to
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

Dale

unread,
Nov 23, 2009, 9:10:02 PM11/23/09
to

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

:-) :-)

Neil Bothwick

unread,
Nov 24, 2009, 9:20:03 AM11/24/09
to
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

Christian Könitzer

unread,
Nov 24, 2009, 9:20:04 AM11/24/09
to
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:

Michael Sullivan

unread,
Nov 24, 2009, 11:10:01 AM11/24/09
to

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

0 new messages