I am trying some experiments involving the modification of the
permissions on pages but I can't seem to get a valid pte in the first
place. I wrote a little driver that has the following code in its init
routine.
void init(){
void * memory;
pgd_t * pgd;
pud_t * pud;
pmd_t * pmd;
version will work.
I'm not linux developer but I would guess that a patch or linux must be
made against the latest version. I don't see how a patch against 2.6.14
could be included in the main distribution (unless it applies cleanly to
the latest of course).
> - Original Message
What version of gcc are you using? Also, is there a good reason you want
to use 2.6.14 instead of a newer kernel?
[EMAIL PROTECTED] wrote:
> Dear Sir,
>
> I failed to build the user-mode Linux with the Linux kerenl 2.6.14. The Linux
> kernel is downloaded
> from www.kernel.org. The commands used
Looks like a simple matter of the rootfs file not being there. Did you
bunzip2 FedoraCora5-x86-root_fs.bz2?
guodonn wrote:
Hi All.
I am new to UML, i download the linux-2.6.24-rc7.bz2 and
FedoraCora5-x86-root_fs.bz2 from http://user-mode-linux.sourceforge.net/
Then i follow the instructions:
Jeff Dike wrote:
> On Thu, Apr 17, 2008 at 11:43:09AM -0600, Jon Rafkind wrote:
>
>> If I used root=/dev/ubd0 or root=/dev/ubda I get basically the same error
>>
>
> Looks like a severe misconfiguration problem - like you used the
> host's .config. I wou
n
unknown-block(0,0)
Adding con0=... did not get rid of the parse_chan_pair errors.
Antoine Martin wrote:
> have you tried adding root=/dev/ubda ?
>
> using ubda/b/c instead of ubd0/1/2?
>
> And for the parse_chan_pair warnings, you may also want:
> con0=fd:0,fd:1 con=null
>
>
I just tried UML with the new 2.6.25 kernel but it would not boot up
properly. I was using the same rootfs with 2.6.21.3 and it worked fine.
$ file rootfs/Gentoo-2006.1-AMD64-root_fs
rootfs/Gentoo-2006.1-AMD64-root_fs: Linux rev 1.0 ext3 filesystem data
(large files)
$ ./linux ubd0=rootfs/Gentoo
You can try this blog post I wrote about UML and networking. I wrote it
after the fact so it might be missing things but I did do things
manually all the way through.
http://www.rafkind.com/jon/showproject.php?id=34
Robert P. J. Day wrote:
> On Wed, 5 Mar 2008, Antoine Martin wrote:
>
>
>> ---
Hi,
I am getting a new error message with UML. First a few lines of
Using a channel type which is configured out of UML
parse_chan_pair failed for device 15 : Configuration failed
and then the vfs can't mount the root partition specified with ubd0.
VFS: Cannot open root device "98:0" or unknow
I set up tuntap so that my uml instance has an ip, 192.168.0.1, and can
talk to the host, 192.168.0.254, which works fine but when I try to talk
to the rest of the world from uml any command will just hang.
# wget www.google.com
--08:41:58-- http://www.google.com/
=> `index.html'
Resol
Jon Rafkind wrote:
> Jeff Dike wrote:
>
>> On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote:
>>
>>
>>> How can I use gdb to debug uml? I get a segfault because I have been
>>> hacking on the ext3 code but I can't seem to us
Jeff Dike wrote:
> On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote:
>
>> How can I use gdb to debug uml? I get a segfault because I have been
>> hacking on the ext3 code but I can't seem to use gdb to set breakpoints
>> in uml
>>
>&g
Is there a way to view printk's from UML before the console is fully set
up? I am getting a segfault before printk can make its way to the
console so I can't view any output. Basically my session is this:
...
Checking for the skas3 patch in the host:
- /proc/mm...not found: No such file or direc
How can I use gdb to debug uml? I get a segfault because I have been
hacking on the ext3 code but I can't seem to use gdb to set breakpoints
in uml
gdb) break ext3_fill_super
gdb) run
...
Program received signal SIGSEGV, Segmentation fault.
0x080d9e97 in ext3_count_free_blocks (sb=0x87e38c0) at fs
>>>
>>>
>> It's a 32-bit binary on a 32-bit host, or 64-on-64?
>>
>>
> Hm, thats interesting too. My host is 64-bit which is what I copied all
> the files from for the UML fs. I must be compiling linux as 64-bit,
> though, and /sbin/init as well as /bin/sh can exec ok.
>
Sor
Jeff Dike wrote:
> On Wed, Aug 29, 2007 at 09:43:27AM -0600, Jon Rafkind wrote:
>
>>> What happens if you chroot to mnt and try to run sulogin?
>>>
>>>
>> I was able to run sulogin at first although it complained about the
>> password fi
Jon Rafkind wrote:
>>> I think I have all the right libraries for /sbin/sulogin in my image but
>>> it still won't exec. Any ideas?
>>>
>>> $ ldd mnt/sbin/sulogin
>>> linux-gate.so.1 => (0xe000)
>>> libcrypt.so.1 =&
>> I think I have all the right libraries for /sbin/sulogin in my image but
>> it still won't exec. Any ideas?
>>
>> $ ldd mnt/sbin/sulogin
>> linux-gate.so.1 => (0xe000)
>> libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7ebe000)
>> libc.so.6 => /lib/libc.so.6 (0xb7d96000)
>>
I'm trying to use UML so that I can hack on linux a bit but am having
trouble getting UML up and running. Initially I tried the kernel and fs
listed on the UML.sf.net site which worked ok except it didn't want to
load the hostfs module so I couldn't easily copy over any files on my
host system.
I'
19 matches
Mail list logo