virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: bert hubert <bert.hubert@netherlabs.nl>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: virtualization@lists.osdl.org
Subject: lhype booting debootstrapped debian image over nfsroot, partial success
Date: Sun, 7 Jan 2007 23:46:45 +0100	[thread overview]
Message-ID: <20070107224644.GA1521@outpost.ds9a.nl> (raw)

Hi!

Bored by previous lhype success, I tried to boot a debootstrapped debian
over nfsroot, and lo, this almost works!

Commandline:
# drivers/lhype/lhype_add 256m 0 ./vmlinux --tunnet=192.168.1.20
 root=/dev/root nfsroot=/home/ahu/lhype-root
ip=192.168.1.21:192.168.1.20:192.168.1.20

This with lhype.patch current as of this message and 2.9.20-rc4.

The boot process stops after:
Starting periodic command scheduler: crond.

Trying to use the console yields:
lhype_add: Failed to get DMA buffer from (nil): No such file or directory
lhype_add: console: no dma buffer!: No such file or directory

/dev/tty does exist on the root: crw-rw-rw- 1 root tty 5, 0 Jan  7  2007 /dev/tty

However, TCP/IP was working, so I installed an ssh server so I could log in
over the network, but no dice:
Starting OpenBSD Secure Shell server: sshdPRNG is not seeded
 
Installing telnet, and removing /etc/securetty allowed me to login as root,
but this doesn't always work. When I try to, lhype prints out the following,
if it works or not:

lhype_add: Failed to get DMA buffer from 0xb7fff008: No such file or directory
lhype_add: network: no dma buffer!: No such file or directory
lhype_add: Failed to get DMA buffer from 0xb7fff008: No such file or directory
lhype_add: network: no dma buffer!: No such file or directory
(8 more of these 2)
lhype_add: Pending dma 0x7906c0, addr 0xb7fff000

When it does work, things sort of work, but it looks like timing is
seriously off:

intel:~# uptime
 01:52:22 up -24855 days, -3:-14,  1 user,  load average: nan, nan, 0.03

The clock appears to run around 5 times too slow.

But things are looking pretty nice! Booting from nfsroot beats a fixed image
any day for me.

Keep up the good work!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

             reply	other threads:[~2007-01-07 22:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-07 22:46 bert hubert [this message]
2007-01-08 11:56 ` lhype booting debootstrapped debian image over nfsroot, partial success Rusty Russell
2007-01-09  6:34 ` Rusty Russell
2007-01-10  9:51 ` Rusty Russell

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=20070107224644.GA1521@outpost.ds9a.nl \
    --to=bert.hubert@netherlabs.nl \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.osdl.org \
    /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).