Bug 677713 - virtio_console is module for x86_64 but is builtin into i386
Summary: virtio_console is module for x86_64 but is builtin into i386
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 672527
TreeView+ depends on / blocked
 
Reported: 2011-02-15 16:23 UTC by Martin Sivák
Modified: 2011-03-08 23:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-08 23:08:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Sivák 2011-02-15 16:23:21 UTC
Description of problem:

I believe modules should be consistent between arches, so the virtio_console should be built-in or module on all arches.

Currently it is built-in into i386 but appears as module in x86_64.

See https://bugzilla.redhat.com/show_bug.cgi?id=672527#c23 where we encountered it.

Comment 1 Chuck Ebbert 2011-02-16 17:00:06 UTC
Switched to built-in on x86_64.

Comment 2 Fedora Update System 2011-02-17 05:59:15 UTC
kernel-2.6.38-0.rc5.git1.1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.38-0.rc5.git1.1.fc15

Comment 3 Fedora Update System 2011-02-18 06:56:14 UTC
kernel-2.6.38-0.rc5.git1.1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Ales Kozumplik 2011-02-22 10:20:40 UTC
Chuck,

I downloaded the 2.6.38-0.rc5.git7.1.fc15.x86_64 kernel from koji, the virtio_console module is present as a .ko and none of the virtio modules is mentioned in modules.builtin (the i386 kernel has virtio_console.ko, virtio.ko and virtio_ring.ko there).

Did the patch slip somehow?

Comment 5 Chuck Ebbert 2011-02-24 14:46:28 UTC
Yeah, the whole virtio configuration in the kernel is just screwed up.

VIRTIO and VIRTIO_RING are not user-selectable, they are supposed to be autoselected by anything that needs them. But VIRTIO_CONSOLE has a dependency on those instead of autoselecting them. And VIRTIO_PCI and VIRTIO_BALLOON autoselect them and are both modular, so VIRTIO gets set to modular and forces VIRTIO_CONSOLE to modular as well.

On i386, LGUEST_GUEST is a bool and selects VIRTIO, VIRTIO_RING and VIRTIO_CONSOLE, so those are all forced to built-in.

Comment 6 Chuck Ebbert 2011-02-26 01:04:09 UTC
OK, this should really be fixed in 2.6.38-0.rc6.git6.1, which is building now.


Note You need to log in before you can comment on or make changes to this bug.