On Tue November 8 2011, 10:05:40 PM, Flavio wrote:
> > serial='pty'
> > usbdevice='tablet'
> > extra = 'video=32,1280,1024'
> >
> > Thank you,
>
> I finally finished to compile the 3.1 kernel. I have compiled the kernel
> with the xenfb module as built in, but even passing the video option
> to the kernel line
> I still cannot set a resolution higher than 800x600.
>
> This is the kernel command line in menu.lst:
> kernel /boot/vmlinuz-3.1.0-1.2-desktop
> root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2
> resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 splash=silent
> quiet showopts vga=0x314 extra='video=32,1280,1024'
>
> and this is what cat /proc/cmdline says:
> root=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part2
> resume=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001-part1 splash=silent
> quiet vga=0x314 extra='video=32,1280,1024'
This won't work for another reason: 'extra=' is a pv config option for passing
extra kernel options to the boot process, as reflected by /proc/cmdline. Only
adding it to menu.lst would work, IF xen-fbfront is builtin, and the syntax is
as Fajar suggested - xen-fbfront.video=32,1280,1024. If it is not builtin, you
must use the /etc/modprobe.d approach.
However, beyond syntax problems. I doubt this would work at all in an hvm
domu, as they don't use fbfront - that's a pv driver. (Fajar - you can verify
this, right?) 'lspci -vvv' will tell you what driver is loaded for your video
controller. Pls post the output of 'lspci -vvv -s video-device-number', and
then for the driver mentioned at the end, post 'modinfo driver-name'.
A further note: if you ever intend to convert this domu to boot as a pv domu,
the above syntax for /dev/disk-by-id won't work, since pv domus don't use
qemu disks. (That's one of those device differences between pv and hvm domus I
was talking about.) I suppose this is a worry for much further down the road.
In my opensuse memu.lst, it is sufficient to say:
kernel /vmlinuz root=/dev/system/root resume=/dev/system/swap [...]
if you are using lvm, or simply /dev/sda?, where ?=partition number. Then
/etc/fstab would have a similar problem, where you would have to use
/dev/sda?, or /dev/disk/by-uuid. As I say, this is much further down the road.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|