Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/ofppc boots multiuser on Pegasos



Simon Burge wrote:
=?ISO-8859-1?Q?Jorge_Acereda_Maci=E1?= wrote:


Simon Burge wrote:


No ideas offhand.  That's a page size which may or may not mean
anything.

I wonder what happens if you do something like:

        dd if=/netbsd of=/tmp/foo bs=4k count=1 seek=1

do you zeros or real data at 0x1000 in /tmp/foo ?  Still, I'm not
sure what that proves either if it works or not...


Interesting. I got two identical chunks at 0x0000 and 0x1000 which are in fact the data at 0x0000 in /netbsd.

Want to hear something really annoying? if I use dd if=/netbsd of=/tmp/foo instead of cp, I get an exact replica.


I think cp uses mmap instead of read, but still uses writes normally?

Maybe try regress/sys/uvm/mmap ?

Bingo :-)

mmap: mmap anon MAP_WIRED: Cannot allocate memory




Home | Main Index | Thread Index | Old Index