WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] OpenSuse 11 hvm domU: screen resolution up to 640x480

To: Flavio <fbcyborg@xxxxxxxxx>
Subject: Re: [Xen-users] OpenSuse 11 hvm domU: screen resolution up to 640x480
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Tue, 08 Nov 2011 22:35:23 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, "Fajar A. Nugraha" <list@xxxxxxxxx>
Delivery-date: Tue, 08 Nov 2011 19:37:19 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1320809731; bh=Z7UdnITlaA4cQq42jSyx6+OxwQ3BYYHdMTbc7elzLNA=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-ID:User-Agent:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; b=M/NgeM8QY3zjusaFfvnX0OiWF3vXorZoQyNCQbbbHQwtWxx1zCt1FCAqHLd0lcmt6fY57HP4twCmR8mpmQCzsfm1+va10JIklkJHeSPrl3Fkph4HVhh3s2Z+Jwuo5Eld8iogTDcMDaZ9xnzhb2OHLvMaEOw+xhJgABEvpCqqrLA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAP8Jb=pXm5YL=GCsQ+TECdx6s3Q5m7mirekB_16LdAZ=ByiwQg@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <7877809.94pu0BOf0I@dell4550> <CAP8Jb=q1g79AaqmVZ6qgSVy3Y2FPr6oRk7vytNjypfN6U=a3hw@xxxxxxxxxxxxxx> <CAP8Jb=pXm5YL=GCsQ+TECdx6s3Q5m7mirekB_16LdAZ=ByiwQg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/4.7.3 (Linux/2.6.37.6-0.7-default; KDE/4.7.3; i686; ; )
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

<Prev in Thread] Current Thread [Next in Thread>