tech-kern archive

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

Re: reading /dev/mem panics a domU



On Fri, Jan 13, 2012 at 02:03:15PM +0100, Wolfgang Solfrank wrote:
> Hi,
> 
> >I just discovered the oddity below, on a netbsd-5 domU. Is there a
> >reason for not calling that a bug? Does it happens only at mine?
> >
> ># strings /dev/mem>  /dev/null
> >xpq_flush_queue: 1 entries
> >0x00000000a8b5e948: 0x0000000000000221
> >panic: HYPERVISOR_mmu_update failed
> 
> No, this is not a bug, especially not, if this is run by root.

It is a bug in the sense that the kernel should not ask the hypervisor
to map nonextistent memory.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index