linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* bad vidmode on debian install
@ 2000-11-07 14:06 Steven Hanley
  2000-11-07 14:08 ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Hanley @ 2000-11-07 14:06 UTC (permalink / raw)
  To: Linux PPC Dev


All

Anyway trying to upgrade form non debian dist to debian (potato) on my
7220/200, as it is old world I used the hfs floppy image. Anyway it boots
fine but then the video mode is at a frequency such that no text is clear
and it is moving around on the screen a bit (like running X i modes a
machine cant handle)

So I think, all I need to do is type the command line in somewhere to set it
to a vidmode I know works on the machine.

However this alas does not seem to work, there is some data that flashes up
in 80x25 before the vidmode switch on booting any kernel wether it be off
floppy or through bootx into the current ydl install. And looking in
arch/ppc/boot/misc.c this seems to be useful and interesting information
including a bit that should wait for 5 seconds for me to enter command line
arguments. Howevedr the information flashes past so fast I cant even read
it. I am then on booting off the debian install floppy put into this
unusable video mode.

I tried changing the #defined CMDLINE in misc.c to have the appropriate
vidmode command, but then I noticed on a simple makevmlinux the make process
didnt even enter the boot directory and compile the changed misc.c (all this
is using a 2.2.18pre18 from paul's ppc.samba.org from yesterday)

What I want to know is what is the official (tm) way in which I am supposed
to put a command line that will actually be used into the kernel for booting
off the debian hfs rescue floppy. I made the image I wanted fine and gzipped the
vmlinux and placed it on the floppy but due to there being no setting of
video mode it still boots into an unreadable text frame buffer.

I assume rdev is specific to i386 and compressed images. I notice the floppy
uses a simple gzipped vmlinux, not a compressed ppc zImage even.

I assume it may help me to know for future reference how to set the kernel
command line if I am no longer using bootx and thus wil be unable to just
leave the command line there.

Thanks

	See You
	    Steve

--
sjh@wibble.net http://wibble.net/~sjh/
Look Up In The Sky
   Is it a bird?  No
      Is it a plane?  No
         Is it a small blue banana?
YES

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bad vidmode on debian install
  2000-11-07 14:06 bad vidmode on debian install Steven Hanley
@ 2000-11-07 14:08 ` Olaf Hering
  2000-11-07 22:46   ` Steven Hanley
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2000-11-07 14:08 UTC (permalink / raw)
  To: Steven Hanley; +Cc: Linux PPC Dev


On Wed, Nov 08, Steven Hanley wrote:

>
> All
>
> Anyway trying to upgrade form non debian dist to debian (potato) on my
> 7220/200, as it is old world I used the hfs floppy image. Anyway it boots
> fine but then the video mode is at a frequency such that no text is clear
> and it is moving around on the screen a bit (like running X i modes a
> machine cant handle)

You cant pass a video mode to platinumfb.
Do you have 834x624 and more than 8 bit color depth? If yes, change the
resolution or set the color depth to 8 bit.


Gruss Olaf

--
 $ man clone

BUGS
       Main feature not yet implemented...

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bad vidmode on debian install
  2000-11-07 14:08 ` Olaf Hering
@ 2000-11-07 22:46   ` Steven Hanley
  2000-11-07 23:04     ` jpgarcia
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Hanley @ 2000-11-07 22:46 UTC (permalink / raw)
  To: linuxppc-dev


On Tue, Nov 07, 2000 at 03:08:00PM +0100, Olaf Hering wrote:
> On Wed, Nov 08, Steven Hanley wrote:
>
> >
> > All
> >
> > Anyway trying to upgrade form non debian dist to debian (potato) on my
> > 7220/200, as it is old world I used the hfs floppy image. Anyway it boots
> > fine but then the video mode is at a frequency such that no text is clear
> > and it is moving around on the screen a bit (like running X i modes a
> > machine cant handle)
>
> You cant pass a video mode to platinumfb.

it is a Mach 64 video card

> Do you have 834x624 and more than 8 bit color depth? If yes, change the
> resolution or set the color depth to 8 bit.

wouldnt doing this involve the passing of a video=atyfb:vmode:8 or some such
?

	See You
	    Steve

--
sjh@wibble.net http://wibble.net/~sjh
Look Up In The Sky
    Is it a bird?   No
        Is it a plane    No
            Is it a small blue banana?
Yes

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bad vidmode on debian install
  2000-11-07 22:46   ` Steven Hanley
@ 2000-11-07 23:04     ` jpgarcia
  0 siblings, 0 replies; 4+ messages in thread
From: jpgarcia @ 2000-11-07 23:04 UTC (permalink / raw)
  To: sjh; +Cc: linuxppc-dev


On  8 Nov, Steven Hanley wrote:
> it is a Mach 64 video card
>
>> Do you have 834x624 and more than 8 bit color depth? If yes, change the
>> resolution or set the color depth to 8 bit.
>
> wouldnt doing this involve the passing of a video=atyfb:vmode:8 or some such
> ?

vmode for resolution, using values available in nvvideo's manpage
cmode for color mode (bit count works).

in reference to the nervous text, I get this on my PDQ when the mclk is
set incorrectly.  this can be specified using the mclk: param.  my
cmdline is "video=atyfb:vmode:14,cmode:32,mclk:100", but I am aware that
earlier systems, even wallstreets use smaller mclk values.  the
default/autodetect in the kernel does not work for me.  could try 83 or
60, two other fairly successful values IIRC.

Hope this is helpful.

--
Joseph P. Garcia      jpgarcia@execpc.com      jpgarcia@lidar.ssec.wisc.edu
CS Undergraduate                      Student Employee - Systems Programmer
University of Wisconsin - Madison                            UW Lidar Group


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-07 23:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-07 14:06 bad vidmode on debian install Steven Hanley
2000-11-07 14:08 ` Olaf Hering
2000-11-07 22:46   ` Steven Hanley
2000-11-07 23:04     ` jpgarcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).