virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* lhype booting debootstrapped debian image over nfsroot, partial success
@ 2007-01-07 22:46 bert hubert
  2007-01-08 11:56 ` Rusty Russell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bert hubert @ 2007-01-07 22:46 UTC (permalink / raw)
  To: Rusty Russell; +Cc: virtualization

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-10  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 22:46 lhype booting debootstrapped debian image over nfsroot, partial success bert hubert
2007-01-08 11:56 ` Rusty Russell
2007-01-09  6:34 ` Rusty Russell
2007-01-10  9:51 ` Rusty Russell

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).