I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
Getting visible text at Linux Console and also random power losses
Two separate problems

New MessageGetting visible text at Linux Console and also random power losses (modified 0 times) no_nick
Profile
OK, working on my second I-O. This one's a V5 now powered by a new patched BIOS from Badflash and the hard drive I was running on my old V3 before it went straight Jailbait.

Problem one: Booting/console: I can read the text at the POST right up to the lilo prompt, then things get weird. First, the lilo prompt and options are shown with a different color for each letter. OK, I've seen this before with my V3 (with V1 BIOS) when I don't tab out of the ugly splash screen and let lilo boot from under that. But on that machine, as soon as the boot messages start flying, then text looks OK (actually, doesn't jailbait use FB? I don't know). Anyway, with the hard drive in there, boot messages and console text look normal. But with the new machine, I get no text. It seems like the screen moves up a pixel or two for each new line, but no text ever shows. I can blindly log in and then startx and no problem (mostly, see problem #2). Hey, I even did a fsck from an emergency repair prompt blind just now (see problem #2 again). I figured this was a simple vga="something" problem at boot, but no matter what I try, I get the same thing. This is with Redhat 6.2.

The solution is probably simple, but damned if I know what it is.

Problem #2: RF-screen = random power loss. On my first machine, when I ran the harddrive, I did it without the RF-shield since I knew I'd eventually go jailbait, and didn't want to hack it up. On my V5, I cut a hole for my hard drive and installed it (I have a I-Mod 1 with the drive bolted to the heat sink.) Things were running fine, but then after a while, it just died. Power switch was useless - no response. I figured I must have shorted something out and killed it. I pulled the harddirve out and reseated the cable, and finally got it to accept power (had absolutely no response at first). (* had another little problem I'll discuss below as solution #1) So then I let it run overnight with the whole back off and it ran fine. So I reassembled it today with the everything and it ran fine for a while. Then poof, same thing. I took out the RF-shield and now it is running fine with just the plastic on back. I'll see how long it goes. (note, this is why I had to do the repair-prompt fsck "in the dark", even the normal fsck during boot coudn't handle the sudden power loss). I think maybe it might be an overheating problem with the drive, especially since it is attached to the heat sink. But why would it cut power to the whole machine? That was scary and strange.

------

Solution #1: This is either a solution or I got lucky. After the first power-out problem, when ever I started X blindly, well, it didn't work. The screen blanked, but I never got X. And I couldn't seem to escape it either. I could telnet into it, and run X apps remotely, but could not get X on the screen. Interestingly, `ps ax` showed that none of the apps that get started by `startkde` were started. Just X was running. Really strange, especially since it was running before the power outage. So I went into the BIOS, and changed a few things. one was Video Off mode to DPMS and Video Off After to suspend. That's all I think should have tok better notes). Only options that looked remotely applicable. I migt have also changed the power off button from 4-second delay to right-away. Anyway, that fixed the problem somehow.

01-14-2001 19:37:21

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) BadFlash
Profile | Email
The I-O screen defaults are wierd. I don't know doodle about jailbait, but in dos you need to set the screen mode to co80 or you are blind. I always put the command: mode co80 in my autoexec.bat file. If you don't the screen goes blue when scandisk runs and it makes it tough to answer any questions.

Anyway, there may be some jailbait equiv to mode co80 and that may help you.

Placing pressure on the motherboard in the area where they are normally mounted will prevent the machine from powering up. I once tried to mash a 19 mm drive inside the case. once in it wouldn't boot, one I loosened up the screws it did. I went to a backpack mount.

01-15-2001 06:48:04

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) no_nick
Profile
Thanks Jack. The lilo equivalent to the mode co80 is something to the effect of vga=0x080 or something to that effect. I remember reading it somewhere, but I can't find it, and am hoping that somenoe knows it. the lilo.conf man page doesn't help.

The pressure is probably the thing with the power. My drive is a 12.5 mm, which is the max for the I-MOD 1. The first time with the power problems, I had the whole RF-shield in there (except for the screw-well that was where the drive is). The reinforced threaded holes in the RF-shield where the stand screws in were still there, though and added pressure I'm sure (back was bulging). I removed these the second time but still had the screws in on the other side of the stand. Power was lost when I adjusted the angle, so it probably was a presure issues. Now, I have the stand held on by twist-ties (it works well!) and has been running for a while. Maybe I will reattachthe RF-shield and keep the twist-tie mount and see if that works.

01-15-2001 08:44:29

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) wireless
Profile
VGA=<mode> specifies the VGA text mode that should be selected when booting. The following values are recognized (case is ignored):

NORMAL select normal 80x25 text mode.
EXTENDED select 80x50 text mode. The word EXTENDED can be abbreviated to EXT.
ASK stop and ask for user input (at boot time).
<number> use the corresponding text mode. A list of available modes can be obtained by booting with vga=ask and pressing [Enter].

If this variable is omitted, the VGA mode setting contained in the kernel image is used. rdev supports manipulation of the VGA text mode setting in the kernel image.


For a good source of lilo info go to http://gryn.astro.uni.torun.pl/LINUX/lilo.html

01-15-2001 10:41:40

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) no_nick
Profile
Thanks but I tried that and it didn't work. vga=ask didn't ask me but I'll try again tonight.

http://www.linuxhq.com/kernel/v2.2/doc/svga.txt.html provides more documentation on the vga modes. Under "Still doesn't work?", it suggests among other things adding 0x8000 to the mode settings to correct one particular problem which sounds suspiciously like the DOS mode co80 line in autoexec.bat. Or maybe not.

I've read the docs and am still scratching my head. I just figured this must be something common that people have figured out. Once I figure it out, I will defintiely rdev it into the kernel.

01-15-2001 11:11:53

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) Doogman
Profile
On the garbled console...

On my v1.0 i-o, if I let it boot without touching anything, the screen starts out with the spash screen, then lilo starts out garbled like you mentioned. However, once the kernel boots, the text clears-up and I can read the boot-up messages. This is with a 2.2.18 kernel and RH 6.2. Note, this is with normal console; not the FB console. Maybe that's your problem? By the way, you can bypass the garbled graphics completely by hitting TAB to get the i-o out of graphics modem during the splash screen.

As for your electrical problems, my 12.5 mm HD fits with room to spare in my i-o with the I-Mod 2 kit using the "turn the heatsink down" mod for cooling. Works fine unless I try to compile a kernel or something, then it gets rather roasty-toasty so I just make sure to do CPU-intensive stuff on my regular Linux box and transfer things over to the i-o as needed.

01-15-2001 17:51:23

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) no_nick
Profile
Doogman: That works on my V3 with the V1 BIOS. However, the patched-V5 BIOS I am running on my V5 doesn't have a splash screen. It starts right up in text mode. Text is OK during the POST, but at the LILO prompt, I get the funky colors, and then nothing. And I am not runnign a FB console, just a regular vga. I tried holding down tab during the text POST, but it didn't do anything.

Badflash hit the nail on the head with the power. I haven't put the RF shield back on yet, but I presume that if I don't screw the stand into it, the power should be OK.

01-15-2001 20:14:41

New MessageRE:Getting visible text at Linux Console and also random power losses (modified 0 times) Hous68
Profile
Ok, I've found the solution (sorry for the x-post, but I didn't want people to miss it):

It seems that a fresh install (of Red Hat, at least) gets the video settings right in the kernel, but subsequent kernel builds have to have the proper settings.

In menuconfig:
under Console Drivers:
make sure the following are checked as built into the kernel:
VGA Text Console
Video Mode Selection Support

VGA Text Console is the more important of the two, but if you want to see what 'vga=###' or 'vga=ask' does when put in lilo.conf, you need the Video Mode Selection Support. FWIW, I tried using 'vga=ask' and then 'scan' when prompted, but my screen flashed a bunch of times and then hung, either at an incompatible video mode or just hung altogether.

Once your new kernel is built, you should be able to boot straight away without using 'vga=####' in lilo.conf, but the text mode is 80x50, I think. I can't be sure as I don't use that video mode. Now, this mode can be changed in the kernel by using 'rdev -v' or 'vidmode' so you won't have to muck with 'vga=###' in lilo.conf. The syntax is as follows:

/usr/sbin/vidmode <insert kernel image here> 65535

This statement sets the videomode to 80x25. (Remember, if you want this in your kernel builds, you have to always use the kernel config options stated and change this value.)

I hope this helps some people and takes a little stress off that 'TAB' key.

Thanks.

01-18-2001 00:19:25

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3