Hi, I''m trying to start Xorg on a PV Fedora8 guest running 2.6.21.7 fedora stock xen kernel, however, it seems that there''s no xenfb.ko driver included in the .rpm package. The only included drivers I see in /lib/modules are: emre@xenroot:/lib/modules/2.6.21.7-3.fc8xen/kernel/drivers/xen$ ls blkback blkfront blktap netback netfront pciback however, if I look at the source rpm: emre@xenroot:/d/xen/fedora8/xen-3.1.3/linux-2.6-xen-sparse/drivers/xen$ ls balloon blktap core gntdev netback pcifront util.c blkback char evtchn Kconfig netfront privcmd xenbus blkfront console fbfront Makefile pciback tpmback xenoprof I can clearly see the fbfront directory, with "xenfb.c xenkbd.c" files inside. Is there a specific reason why these drivers are excluded from the default build? Thanks a lot for your comments. Emre
Mark McLoughlin
2008-Apr-14 07:06 UTC
Re: [Fedora-xen] no xenfb module in 2.6.21.7-3.fc8xen ?
On Mon, 2008-04-14 at 03:10 +0200, Emre ERENOGLU wrote:> Hi, > > I''m trying to start Xorg on a PV Fedora8 guest running 2.6.21.7 fedora > stock xen kernel, however, it seems that there''s no xenfb.ko driver > included in the .rpm package.It''s built-in to the kernel since it''s used early on in boot to display to the console: CONFIG_XEN_FRAMEBUFFER=y Cheers, Mark.
Emre ERENOGLU
2008-Apr-14 09:52 UTC
Re: [Fedora-xen] no xenfb module in 2.6.21.7-3.fc8xen ?
Hi Mark, thanks for the answer. If it''s built into the kernel, why can''t I modprobe it, or see it in the list of loaded modules? Maybe I''m missing something here??? Here''s the output from my DomU running with this kernel: voyager ~ # lsmod Module Size Used by microcode 7428 0 nls_utf8 6144 1 cifs 212980 1 joydev 13376 0 ext3 125704 3 jbd 59816 1 ext3 mbcache 12420 1 ext3 fuse 45972 1 xennet 30216 0 xenblk 20592 4 pciback 30348 0 blkbk 23584 0 [permanent] netloop 10752 0 netbk 78912 0 [permanent] xenblktap 118916 0 [permanent] dm_snapshot 20644 0 dm_mirror 24724 0 dm_mod 57548 2 dm_snapshot,dm_mirror raid456 125712 0 xor 18312 1 raid456 raid10 27136 0 linear 9984 0 multipath 12672 0 ahci 23044 0 ata_generic 11780 0 pata_jmicron 10496 0 libata 112624 3 ahci,ata_generic,pata_jmicron sd_mod 29056 0 sg 37276 0 sr_mod 20132 0 scsi_mod 139532 4 libata,sd_mod,sg,sr_mod cdrom 37152 1 sr_mod raid1 26496 0 raid0 12032 0 voyager ~ # modprobe xenfb FATAL: Module xenfb not found. voyager ~ # Emre On Mon, Apr 14, 2008 at 9:06 AM, Mark McLoughlin <markmc@redhat.com> wrote:> On Mon, 2008-04-14 at 03:10 +0200, Emre ERENOGLU wrote: > > Hi, > > > > I''m trying to start Xorg on a PV Fedora8 guest running 2.6.21.7 fedora > > stock xen kernel, however, it seems that there''s no xenfb.ko driver > > included in the .rpm package. > > It''s built-in to the kernel since it''s used early on in boot to display > to the console: > > CONFIG_XEN_FRAMEBUFFER=y > > Cheers, > Mark. > >-- Emre Erenoglu erenoglu@gmail.com
Mark McLoughlin
2008-Apr-14 10:20 UTC
Re: [Fedora-xen] no xenfb module in 2.6.21.7-3.fc8xen ?
On Mon, 2008-04-14 at 11:52 +0200, Emre ERENOGLU wrote:> thanks for the answer. If it''s built into the kernel, why can''t I > modprobe it, or see it in the list of loaded modules?If it''s built-in, it''s not visible as a module ... Cheers, Mark.
Emre ERENOGLU
2008-Apr-14 10:26 UTC
Re: [Fedora-xen] no xenfb module in 2.6.21.7-3.fc8xen ?
Hi Mark,
Thanks again very much for the explanation. OK, one last question and
I''ll
stop bugging, would you have an idea why X refuse to launch? on this frame
buffer?
I''m pasting the Xorg.0.log, it seems that the driver (FBDEV) cannot
change
resolution or something like this. I have the login promt in the this VNC
(or SDL) window, so I guess the xenfb driver is working properly.
Is it possible that X can''t use the console that I''m currently
logged on?
(ttyX ?)
(II) FBDEV: driver for framebuffer: fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 0.0.2
ABI class: X.Org Video Driver, version 1.2
(II) FBDEV(0): using default device
(II) Running in FRAMEBUFFER Mode
(**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
(==) FBDEV(0): RGB weight 565
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: xen (video memory: 1875kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): mode "800x600" test failed
(II) FBDEV(0): mode "640x480" test failed
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 800x600 (pitch 800)
(**) FBDEV(0): Built-in mode "current": 28000.0 MHz, 35000.0 kHz,
58333.3
Hz
(II) FBDEV(0): Modeline "current" 28000.00 800 800 800 800 600 600
600
600 -hsync -vsync -csync
(==) FBDEV(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.3
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules//libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 1.1.0
ABI class: X.Org ANSI C Emulation, version 0.3
(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
(EE) FBDEV(0): mode initialization failed
Fatal server error:
AddScreen/ScreenInit failed for driver 0
Emre
On Mon, Apr 14, 2008 at 12:20 PM, Mark McLoughlin <markmc@redhat.com>
wrote:
> On Mon, 2008-04-14 at 11:52 +0200, Emre ERENOGLU wrote:
>
> > thanks for the answer. If it''s built into the kernel, why
can''t I
> > modprobe it, or see it in the list of loaded modules?
>
> If it''s built-in, it''s not visible as a module ...
>
> Cheers,
> Mark.
>
>
--
Emre Erenoglu
erenoglu@gmail.com