All of lore.kernel.org
 help / color / mirror / Atom feed
From: BALATON Zoltan <balaton@eik.bme.hu>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: "kraxel@redhat.com" <kraxel@redhat.com>,
	"richard.henderson@linaro.org" <richard.henderson@linaro.org>,
	Andrew Randrianasulu <randrianasulu@gmail.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: X on old (non-x86) Linux guests
Date: Thu, 29 Apr 2021 03:07:07 +0200 (CEST)	[thread overview]
Message-ID: <614fe571-f38b-bc9d-bc8-9ce9b599dfa6@eik.bme.hu> (raw)
In-Reply-To: <YIlmweq8zLIhN04l@work-vm>

On Wed, 28 Apr 2021, Dr. David Alan Gilbert wrote:
> * BALATON Zoltan (balaton@eik.bme.hu) wrote:
>> On Wed, 28 Apr 2021, Andrew Randrianasulu wrote:
>>> On Wednesday, April 28, 2021, Andrew Randrianasulu <randrianasulu@gmail.com>
>>> wrote:
>>>> On Monday, April 26, 2021, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>>>>> On Mon, 26 Apr 2021, Dr. David Alan Gilbert wrote:
>>>>>>  Over the weekend I got a Red Hat 6.x (not RHEL!) for Alpha booting
>>>>>> under QEMU which was pretty neat.  But I failed to find a succesful
>>>>>> combination to get X working; has anyone any suggestions?
>>>>>>
>>>>>
>>>>> Adding Andrew who has experimented with old X framebuffer so he may
>>>>> remember something more but that was on x86.
>>>>
>>>>
>>>>
>>>> Sorry, I still away from my desktop (with notes/logs), not sure when
>>>> return..
>>>> I do not think I tried something that old.. Kernel 2.2 i guess, before any
>>>> attempt at r128 drm Kernel module was written (in 2.4?) and so before ddx
>>>> attempted to use that (as it tries by default in much newer distros)
>>
>> Maybe it would work better with newer RedHat than 6.0? I think I've seen
>> images up to at least 7.1 that supported alpha but I don't know how to boot
>> them. I could get kernel and installer running with -kernel -initrd but did
>> not find the CD on the defailt CMD646 controller (seems to only have driver
>> for one SCSI controller) so I'm not sure how to try this. Trying to just
>> boot from the CD without -kernel -initrd it just stops after displaying
>> "Hello" in top left but that could be something about alpha firmware I don't
>> know how to use.
>
> I ended up using -kernel/-initrd and passed the cdrom as an image to hdb
> rather than with -cdrom; as you say the cmd646 didn't like the cdrom.
> (Where I'm pretty sure my real Alpha does have a CDROM connected to it's
> cmd646).  And none of the SCSI controllers would work.

Passing the iso as HD did not work with 7.1 iso as that does not seem to 
be hybrid or the kernel said no partition found.

> I'll make some notes on my command line this weekend and post them next
> week; I'll try the X suggestions as well.

It looks like RedHat versions before 7.1 don't have any fb drivers (not 
sure those existed on kernel 2.2), the 7.1 iso has kernel 2.4 but only 
seems to have radeonfb and r128 drm driver which may not work as it 
probably wants to use 3D or other features we don't emulate yet. If you 
can't compile a kernel with aty128fb you may try the provided radeonfb 
with -device ati-vga,model=rv100 but not sure if that will load or work. 
If you can get picture with that then X using fb driver may work. Not sure 
if the X r128 driver would work with -device ati-vga but I'm quite sure a 
radeon driver will not work yet even if you set model to rv100 as those 
drivers usually want to use memory queues that we don't emulate yet.

It also seems there was once a 7.2 iso available from Compaq but could not 
find a place that still has it so don't know if that would be any better. 
Maybe you can try other distros too to see if those have more fb drivers.

Regards,
BALATON Zoltan


  reply	other threads:[~2021-04-29  1:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 10:01 X on old (non-x86) Linux guests Dr. David Alan Gilbert
2021-04-26 13:48 ` Thomas Huth
2021-04-26 14:14   ` Dr. David Alan Gilbert
2021-04-26 14:04 ` Laurent Vivier
2021-04-26 14:18   ` Dr. David Alan Gilbert
2021-04-26 14:54     ` Laurent Vivier
2021-04-26 15:26 ` BALATON Zoltan
2021-04-28  1:19   ` Andrew Randrianasulu
2021-04-28  1:37     ` Andrew Randrianasulu
2021-04-28 12:04       ` BALATON Zoltan
2021-04-28 13:18         ` Andrew Randrianasulu
2021-04-28 13:44         ` Dr. David Alan Gilbert
2021-04-29  1:07           ` BALATON Zoltan [this message]
2021-05-04 11:07   ` Dr. David Alan Gilbert
2021-04-26 15:53 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=614fe571-f38b-bc9d-bc8-9ce9b599dfa6@eik.bme.hu \
    --to=balaton@eik.bme.hu \
    --cc=dgilbert@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=randrianasulu@gmail.com \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.