Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6866 closed defect (duplicate)

Wrong command used to query udev database

Reported by: superm1@… Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

A whole lot of this comes up:

# 2009-08-18 01:56:46.341 MMUnix::GetDeviceFile?(/sys/block/sde), Error - udevinfo failed to start! # 2009-08-18 01:56:46.347 MMUnix::GetDeviceFile?(/sys/block/sr0/bdi), Error - udevinfo failed to start! # 2009-08-18 01:56:46.347 MMUnix::AddDevice?() Error: failed to stat /dev/bdi, #

eno: No such file or directory (2)

# 2009-08-18 01:56:46.350 MMUnix::GetDeviceFile?(/sys/block/sr0/power), Error - udevinfo failed to start! # 2009-08-18 01:56:46.350 MMUnix::AddDevice?() Error: failed to stat /dev/power, #

eno: No such file or directory (2)

# 2009-08-18 01:56:46.364 MMUnix::GetDeviceFile?(/sys/block/sr0), Error - udevinfo failed to start!

Attachments (1)

modern_udev.patch.dpatch (1.4 KB) - added by superm1@… 14 years ago.
patch to use proper udev command

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by superm1@…

Attachment: modern_udev.patch.dpatch added

patch to use proper udev command

comment:1 Changed 14 years ago by sphery

Resolution: duplicate
Status: newclosed

dup of #6137 . Closing this ticket, even though it has a patch, because #6137 has an explanation of why this hasn't been fixed, yet, at http://svn.mythtv.org/trac/ticket/6137#comment:3 .

comment:2 Changed 14 years ago by Nigel

(In [21360]) Hide a few warnings in -v media. Suggestion by Michael T. Dean. Refs #6866

comment:3 Changed 14 years ago by sphery

(In [21944]) Fixes #7062. Check pointers given by system calls using slightly modified version of Erik's patch.

Also, while I was in mediamonitor-unix.cpp, I changed back to important the non-udevinfo-related verbose Nigel changed in [21360] due to my miscommunicating a request to suppress only the udevinfo failure messages. Refs #6866.

Note: See TracTickets for help on using tickets.