9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Jens Staal <staal1978@gmail.com>
To: 9front@googlegroups.com
Subject: Re: difference cdrom boot and 9fat boot?
Date: Tue, 31 May 2011 21:49:31 +0200	[thread overview]
Message-ID: <BANLkTi=KCxZkBaLWQ763t+FT_8q3Er5Vqg@mail.gmail.com> (raw)
In-Reply-To: <f09c8b8eb5c0ab8ccd4adb48e471e1a4@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2184 bytes --]

I really start believing that what I got is a GRUB2 bug
Similar issues was seen in this bug report:
http://goo.gl/7j5ll

I did the experiment you suggested to check what the e820 output is.
I wanted to do this as comparable as possible so I have compared
9front booted from CD and booted from 9fat

9fat:
"e820: 0000 0000 0009 f800 memory"

cdboot:
"e820: 0000000000000000 000000000009f800 0000000000100000 000000007fed0000"

I guess the first thing I should try is to boot using another
bootloader (or google for "e820 hooked by grub2" and see if I can
disable it).

Thanks a lot for the help I would never have figured this one out myself!
Now the big mystery is just how the 9pcf from Bell labs plan9 was able
to boot...
I attach the diff of the pcf configuration files for my version of
9pcf from 9front and Bell labs Plan9.
Are there any stuff in there that could influence an overide in RAM
detection in the stock kernel?

2011/5/31  <cinap_lenrek@gmx.de>:
> but it would be more interesting figuring out why this
> happens :-)
>
> sure, you could backport bcm driver to bell labs plan9,
> but this memory detection problem might happen to others
> too...
>
> one tip (i think i wrote this in my first mail) is that
> you can break 9boot into a prompt where it will sit
> there until you type boot. just hit any key like space
> or enter. (it waits for one second and then does
> automatically boot if it had a bootfile= in plan9.ini)
>
> you could also comment out the bootfile= line and
> type it at the prompt every time when experimenting.
>
> the command syntax of the prompt is the same
> syntax used in plan9.ini (sections/menus are not
> supported by 9boot)
>
> it would be very interesting what e820= is and also
> the e820 prints from the bell-labs kernel.
>
> i think we have some problem with the e820 call... but
> its hard to tell what exactly is wrong without any
> data.
>
> if you are interested, the e820= format is just a list
> of 2 64bit hex numbers. the first is the start address
> of a memory block, and the 2nd is the end address of
> the block...
>
> e820= should really be memory= but we had no choice
> as 9atom is already using it.
>
> --
> cinap
>

[-- Attachment #2: pcfdiff --]
[-- Type: application/octet-stream, Size: 437 bytes --]

1c1
< # pcf - pc terminal with fossil root and maybe venti block store
---
> # pcf - pc terminal with local disk
24a25
> 	kbd
26,27d26
< 	kbmap
< 	kbin
56a56
> 	etherbcm        pci
75a76,78
> 	audiosb16	dma
> 	audioac97	audioac97mix
> 
133c136,137
< 	/386/bin/ip/ipconfig
---
> 	/386/bin/bzfs
> 	/386/bin/mntgen
135,138c139
< 	/386/bin/fossil/fossil
< 	/386/bin/venti/venti
< 	/386/bin/usb/usbd
< 	/386/bin/disk/partfs
---
> 	rootfs.bz2

  reply	other threads:[~2011-05-31 19:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-31  5:42 staalmannen
2011-05-31  9:39 ` cinap_lenrek
2011-06-02  4:52   ` Uriel
2011-05-31  9:43 ` cinap_lenrek
2011-05-31 14:27   ` Jens Staal
2011-05-31 16:36     ` cinap_lenrek
2011-05-31 17:14       ` Jens Staal
2011-05-31 17:16         ` Jens Staal
2011-05-31 17:19           ` cinap_lenrek
2011-05-31 17:43         ` Julius Schmidt
2011-05-31 17:57         ` cinap_lenrek
2011-05-31 19:49           ` Jens Staal [this message]
2011-05-31 21:21             ` cinap_lenrek
2011-06-01  4:22               ` Jens Staal
2011-06-01  6:05                 ` Jens Staal
2011-06-01 15:52                   ` Jens Staal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTi=KCxZkBaLWQ763t+FT_8q3Er5Vqg@mail.gmail.com' \
    --to=staal1978@gmail.com \
    --cc=9front@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).