Skip to contentSkip to conversation

bad vidmode on debian install

DISCUSSION Steven Hanley 4 participants 4 messages Nov 7, 2000

lore
Share & tools
lore
#0 lore raw

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

--
[email protected] 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/

#1 lore raw
Quoted 8 lines · Steven Hanley

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/

#2 lore raw
Quoted 5 lines · Olaf Hering
Quoted 3 lines · Steven Hanley

All

Quoted 7 lines
Quoted 5 lines

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

Quoted 2 lines

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

--
[email protected] 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/

#3 lore raw
Quoted 7 lines · Steven Hanley

it is a Mach 64 video card

Quoted 2 lines

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 [email protected] [email protected]
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/