Bug 470839

Summary: mkinitrd does not create '/dev/hvc0' console device inside initrd
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, hdegoede, jturner, katzj, krh, pjones, rstrode, wtogami, wwoods
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-14 23:52:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 438943    
Attachments:
Description Flags
fix for hvc devices
none
add hvc device nodes for all arches none

Description James Laska 2008-11-10 16:00:15 UTC
+++ This bug was initially created as a clone of Bug #470569 +++

Booting F10 on a IBM PowerPC system with encrypted partitions fails.  It appears that /dev/hvc0 is not created inside the initrd.

By adding the following into the initrd's '/init' script I am able to boot and enter my passphrase.

--- /tmp/init.old	2008-11-10 10:55:11.000000000 -0500
+++ /tmp/init.new	2008-11-10 10:55:24.000000000 -0500
@@ -21,2 +21,3 @@
 mknod /dev/fb c 29 0
+mknod /dev/hvc0 c 229 0
 mknod /dev/tty0 c 4 0

# rpm -q mkinitrd
mkinitrd-6.0.70-1.fc10.ppc

# tty
/dev/hvc0

# ls -ltd /dev/hvc0
crw--w---- 1 root tty 229, 0 2008-11-10 10:52 /dev/hvc0

Comment 1 Tom "spot" Callaway 2008-11-10 21:42:58 UTC
Created attachment 323121 [details]
fix for hvc devices

Only adds hvc devices on ppc.

Comment 2 Jeremy Katz 2008-11-10 22:10:17 UTC
HVC is used on more than ppc these days; it's also the console type for pvops Xen guests without a framebuffer.  So we should probably just create them on all arches

Comment 3 Tom "spot" Callaway 2008-11-11 22:45:08 UTC
Created attachment 323270 [details]
add hvc device nodes for all arches

Comment 4 Peter Jones 2008-11-12 18:34:13 UTC
Should be fixed in 6.0.71-1 (albeit not with the patch attached.)

Comment 5 Jesse Keating 2008-11-14 23:52:13 UTC
71-2 is tagged for F10-final, closing bug.