trouble on booting from CF2 Card


Forum: DSL Embedded
Topic: trouble on booting from CF2 Card
started by: fabax

Posted by fabax on Mar. 29 2006,19:03
Hallo forum,

I have created a CUPS-Printserver with Ubuntu and It's running very good, but this server is a old IBM-Netfinity3000 and he needs  a lot of (  power == money ).

So I decide to implement this CUPS Server on a Thin client.

Hardware
Quote

System: LICA Thin client 233 MHz GEODE™ National SemiC.. (from ebay for 10€ needs only 25 Watt)
unplug the existing DiskOnChip2000 ROM 16KB (maybe later I can flush back the system to DiskOnChip ??)
install a CF card reader on IDE0 for booting on this device ( runnig DSL on a 128KB card )
Test this system with DSL Live-CD was ok,
    ok     fluxbox and jwm are running.
    ok     connect to internet is ok


This old system can run DSL


I created a Image on the CF card for booting from this device. But now I get in trouble :(

When I try to boot with normal mode from this CF-card, I get a kernel panic.
When I boot the system with failsafe I'm able to start DSL manually also with fluxbox, but sure, I get some errors.

I'm not the profi to manage this problem.

Quote

..
accessing system on /dev/hda...  (The CF Card for boot)
...
Trouble starts on this section
....IDE0 : reset : success
hda : read_intr: status=0x51 {DriveReady Seekcomplete Error 3 }
hda : read_intr: error=0x14 {DriveStatusError SectorID not found}
This errors are repeated many times (  )
...
FAT: unable to read bootsector
...
EFS: cannot read volume header



Now I have to make the settings manually
>>> XVESA server
>>> USB Mouse => no
>>> IMPS2 Mouse => yes
>>> 640 x 480
>>> 24 Bit
>>> key ==> de

System runs !?!?



Why this ? Because i'm able to boot from this CF device.
Where is my problem ?

every help is welcome  ???

Posted by N0NAS on Mar. 31 2006,15:21
I think I can throw a little light on the problem. I have been leading some others on a similar quest to use old thin clients. One of the boxes is a Neoware EON 4000 (or 2000/3000). It uses a Geode processor and the rest is fairly standard glue logic. Our project has been using Slackware 10 and we have a working image cut down to about 20MB for our project (CLI only). But in order to work properly the kernel must be recompiled with certain flags set to enable proper setup of the Geode CPU. Without the special flags the Geode runs VERY slow (if at all) and that is probably why you got the kernel panic. At least I don't think you have a hope of making work without recompiling the kernel...

If you want something that is true-blue IBM compatable, look for the IBM 8364 Netvista 2800 thin client. This is an excellent 266MHz box and even has an on-board CF socket for booting from a 256MB or smaller CF card. One word of warning, the very last BIOS IBM made disabled the CF boot. If you can't find the "workstation boot" options in the BIOS, you will need to downgrade the BIOS to a previous version.

But our project is going ahead with the Neoware thin clients and the Geode-specific kernel isn't that big a problem. I will keep playing with the IBM 8364 and maybe I'll get DSL running on one of them....

Doug.

Posted by fabax on April 01 2006,10:07
Hi Nonas,

great to here that there is hope  :D,
I'm a newbie on linux and I make test with some different systems.
Is it possible to test your working image on my maschine ?

Where do I get more information about your project ?

Franz

Posted by N0NAS on April 01 2006,12:43
We haven't put anything on the web yet and I'm not real sure it would be very useful to you. Our emphasis has been on cutting down the system and leaving just the minimum we need for our amateur radio packet node project. No X, no printers, no Samba, etc. The important notice was that your problem is due to the Geode CPU. But I'll make an effort today at our workshop to arrange making an image available. But in order to make it useful you'll probably have to swap the kernel into a different Syslinux boot image. When something is ready for download I'll post the URL here. Until then you could look to see if there are any other Geode specific Linux kernel images available. I'm pretty sure the Geode runs as an i386 once you get the registers setup right during boot. So all the other i386 Linux software should work with the right kernel. I guess I have to ask my friends about that too. There is too much I don't know about Linux.
Doug.

Posted by fabax on April 02 2006,15:37
Hi Doug,

thanks for your tips on Geode CPU. I have found some interesting links on the web < for example > this.
Sure your project ist not really helpful for me, but I think it could help me to test the system kernel for get this box to run.
It would be very cool by your team to let me test this kernel. When it was possible please also to let me know which flags have to been set on kernel.

The next step for me is to get knowledge how to compile a kernel. So i can do this "settings" on the kernel.

My aim also is only to get a small system as CUPS-server (.. USB printer support should run and the needed software to control this by http). Nothing more...no X or other nice linux tool's are needed.

I have two of this boxes, the next little project :D  will be a firewall when I get the CUPS server on running.

have a nice weekend
Franz

Posted by N0NAS on April 02 2006,20:55
Looking for some info on the Capio II thin client turned up info that DSL will boot on that machine and it also uses a Geode CPU. So my comment about requiring kernel flags may be wrong. However, in order to boot the Capio, the person was first booting MSDOS and then having MSDOS boot the Linux kernel in the autoexec.bat file. So it is possible the MSDOS boot is setting the flags we need for the Geode, and it is equally possible DSL already has them built-in. I don't know but I may have lead you down a false path.
< http://damnsmalllinux.org/cgi-bin....t=12165 >
< http://www.linux-hacker.net/cgi-bin....nClient >

By the way, for the work we've been doing with the Eon 4000 and IBM 8364 thin clients, we've been using Syslinux to boot the machines. It seems to be fairly reliable that way and also fairly easy to setup. Of course this alternate suggestion for using MSDOS to boot and then tricking it to run the Linux kernel also sounds nice. I'd really prefer it be something simple to do from a Windoze box.... I'm just not comfortable enough with Linux yet....

Doug.

Posted by N0NAS on April 02 2006,21:02
Hi Franz.
I don't know where that link was supposed to take me but I ended up at a MS site promoting PowerToys software. Nothing at all like the linux URL you had in the message....

Doug.

Posted by fabax on April 03 2006,04:51
Hi Doug,
Sorry I made a mistake on linking. Here is the right one.

< http://www.linux-m32r.org/lxr....spmod.c >

also thanks for the new links, they are very helpful and interresting.

Franz

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.