Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.development > #8410

Re: System log and format of log entries

From "Rod Pemberton" <boo@fasdfrewar.cdm>
Newsgroups alt.os.development
Subject Re: System log and format of log entries
Date 2015-07-17 06:39 -0400
Organization Aioe.org NNTP Server
Message-ID <op.x1wyj5eqyfako5@localhost> (permalink)
References (3 earlier) <mo622s$pq6$1@speranza.aioe.org> <op.x1uhssosyfako5@localhost> <mo901d$bjg$1@speranza.aioe.org> <mo91u2$g2m$1@speranza.aioe.org> <mo93uu$kmh$1@speranza.aioe.org>

Show all headers | View raw


On Thu, 16 Jul 2015 16:24:59 -0400, Benjamin David Lunt <zfysz@fysnet.net> wrote:

> [Ben's USB boot issues in James log thread]

Ok.

So, in the past few posts, I think you've actually brought up
two issues with booting from USB:

1) boot image not available due to removable media
2) boot image unknown due to inability to map BIOS
emulated device to the USB boot device

> How do you find out which form of media you actually booted from?

1) serial number in boot code closest to booting the OS,
e.g., PBR or VBR
2) serial number for disk plus booted partition id
3) hardware serial number from device itself  (?)
4) user select
5) special file or flag written to booted filesystem
6) don't do that - i.e., warn if multiple bootable devices
...

> So far, the only thing I have is to store a few parameters
> of the device.  Things like count of sectors, starting sector,
> media descriptor, type of file system used, etc. to get
> a reasonably close match when scanning all found media devices.

How close can you get to creating an actual screw up?
e.g., either it's very close or it's definately not going to work.

If you can get really close, but are unable to create an actual
foul up, then it might not be possible to do so ...

> Just as a side note, as soon as I move to pmode and my
> kernel takes control, except for the video information and mode
> switching, the BIOS might as well be gone.  I don't use, nor do
> I rely upon any of the BIOS, either code or data, once my kernel
> takes control.

Me either.  Although, that may need to change, if I ever continue
with it.  See my reply to James in "OS startup goals and steps."


Rod Pemberton

-- 
Scientist now say we'll experience a mini-ice in 2030.
So, I guess we need more global warming today ...

Back to alt.os.development | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

System log and format of log entries "James Harris" <james.harris.1@gmail.com> - 2015-07-14 11:42 +0100
  Re: System log and format of log entries "James Harris" <james.harris.1@gmail.com> - 2015-07-14 11:59 +0100
  Re: System log and format of log entries "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-15 03:23 -0400
    Re: System log and format of log entries "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-15 22:46 -0400
  Re: System log and format of log entries "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-15 03:33 -0400
    Re: System log and format of log entries Peter Cheung <mcheung63@gmail.com> - 2015-07-15 00:47 -0700
    Re: System log and format of log entries "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-15 22:42 -0400
      Re: System log and format of log entries "Benjamin David Lunt" <zfysz@fysnet.net> - 2015-07-16 12:18 -0700
        Re: System log and format of log entries "Mike Gonta" <mikegonta@gmail.com> - 2015-07-16 15:50 -0400
          Re: System log and format of log entries "Benjamin David Lunt" <zfysz@fysnet.net> - 2015-07-16 13:24 -0700
            Re: System log and format of log entries "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-07-17 06:39 -0400
              Re: System log and format of log entries "Benjamin David Lunt" <zfysz@fysnet.net> - 2015-07-17 10:27 -0700
                Re: System log and format of log entries "Benjamin David Lunt" <zfysz@fysnet.net> - 2015-07-21 16:38 -0700
  Re: System log and format of log entries "James Harris" <james.harris.1@gmail.com> - 2015-07-15 15:15 +0100

csiph-web