Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 293019 Details for
Bug 290731
udev error message on startup node_symlink: device /dev/rtc already exists...
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
PATCH: proof of concept fix to mkinitrd
mkinitrd-bug290731.patch (text/plain), 1.81 KB, created by
Hans de Goede
on 2008-01-25 23:00:00 UTC
(
hide
)
Description:
PATCH: proof of concept fix to mkinitrd
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2008-01-25 23:00:00 UTC
Size:
1.81 KB
patch
obsolete
>--- mkinitrd.orig 2008-01-25 21:59:56.000000000 +0100 >+++ mkinitrd 2008-01-25 23:29:10.000000000 +0100 >@@ -1447,9 +1447,18 @@ > mknod $MNTIMAGE/dev/tty c 5 0 > mknod $MNTIMAGE/dev/console c 5 1 > mknod $MNTIMAGE/dev/ptmx c 5 2 >-mknod $MNTIMAGE/dev/rtc c 10 135 >-if [ "$(uname -m)" == "ia64" ]; then >- mknod $MNTIMAGE/dev/efirtc c 10 136 >+if grep -q "CONFIG_RTC_CLASS=y" /boot/config-$kernel; then >+ # warning this assumes that the rtc class is the first to dynamicly allocate >+ # a character major, the rtc class really should switch to a reserved major >+ # or we need to add code to nash to do mknods for devices with dynamic >+ # majors. >+ mknod $MNTIMAGE/dev/rtc0 c 254 0 >+ ln -s rtc0 $MNTIMAGE/dev/rtc >+else >+ mknod $MNTIMAGE/dev/rtc c 10 135 >+ if [ "$(uname -m)" == "ia64" ]; then >+ mknod $MNTIMAGE/dev/efirtc c 10 136 >+ fi > fi > > if [ -n "$raiddevices" ]; then >@@ -1494,10 +1503,27 @@ > mknod /dev/tty c 5 0 > mknod /dev/console c 5 1 > mknod /dev/ptmx c 5 2 >-mknod /dev/rtc c 10 135 > EOF >-if [ "$(uname -m)" == "ia64" ]; then >- emit "mknod /dev/efirtc c 10 136" >+ >+if grep -q "CONFIG_RTC_CLASS=y" /boot/config-$kernel; then >+ # warning this assumes that the rtc class is the first to dynamicly allocate >+ # a character major, the rtc class really should switch to a reserved major >+ # or we need to add code to nash to do mknods for devices with dynamic >+ # majors. >+ emit "mknod /dev/rtc0 c 254 0" >+ emit "ln -s rtc0 /dev/rtc" >+ # we need ln in the image now >+ inst /bin/ln "$MNTIMAGE" >+ # and we need to load rtc_cmos >+ installmodule rtc_cmos >+ if [ -n "$fmPath" -a -f "$fmPath" ]; then >+ emit "modprobe rtc_cmos" >+ fi >+else >+ emit "mknod /dev/rtc c 10 135" >+ if [ "$(uname -m)" == "ia64" ]; then >+ emit "mknod /dev/efirtc c 10 136" >+ fi > fi > > # XXX really we need to openvt too, in case someting changes the
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 290731
:
293019
|
293768