Re: NetBSD/ofppc boots multiuser on Pegasos
Jorge Acereda MaciĆ” <[email protected]> Fri, 28 Jul 2006 03:42:20 +0200
| Newsgroups | gmane.os.netbsd.ports.ofppc,gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports |
|---|---|
| Message-ID | <[email protected]> |
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