On Nov 30 18:15:30, Torsten Valentin wrote:
> > dmesg is the lazy way to get this info, the same info is written to
> > /var/log/messages during boot.  Are you saying your system is so
> > stripped down you don't even log anything?
> 
> Yep. And because the only persistent memory is Flash (32MB, which
> quickly dies if you permanently write to it), the whole system runs
> inside a RAMDISK only.
> And there is no terminal or ssh. Modifying the
> system means setting up a new system with modified /sbin/init each time.

So: your machine has 32MB of Flash storage that holds the entire
system. On boot, it all gets loaded as a RAMDISK. Right?

Question: how do you actually put a new system onto that
Flash storage? What kind of Flash storage is it? (I suppose
it's not a CF card or an USB flash drive that you would
plug out, put an image on it, and plug in.)

> Hard to believe, I know, but what people do with OpenBSD is sometimes
> quite different from what you know from "usual systems".

It certainly sounds interesting. Out of curiosity: what do these
system do? Are their routers? Rocket launchers?

> I can provide a dmesg from a virtual machine that we use for testing
> purposes, but obviously that's not the same as the system that the
> kernel is going to be running on later in production environment. But,
> hey, yet, I haven't been able to compile the kernel on this testing
> machine, either. I explain this so elaborately because I know I'd
> otherwise get replies like: "What did you tell us about having little
> memory and such, this is a usual virtual machine and therefor you've got
> no need to use a custom kernel..." ;-) You know what I mean... My goal
> is to have kernel config files that will do on both, the virtual machine
> for testing and the production environment. Being able to compile a
> custom kernel on this VM would be a good first step. From there on I
> could add the drivers I need on the production machine and that way get
> closer to a final solution...
> 
> I'm very curious how dmesg will help...

A dmesg from the actual machine would; really, it would.

Reply via email to