NetBSD Problem Report #38779
From martin@duskware.de Wed May 28 13:21:12 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id ED40063B8BC
for <gnats-bugs@gnats.netbsd.org>; Wed, 28 May 2008 13:21:11 +0000 (UTC)
Message-Id: <20080528105904.B6E9163B8BC@narn.NetBSD.org>
Date: Wed, 28 May 2008 10:59:04 +0000 (UTC)
From: jeb@jeb.com.fr
Reply-To: jeb@jeb.com.fr
To: netbsd-bugs-owner@NetBSD.org
Subject: NetBSD 4 KP : uvm_fault / proc_trampoline
X-Send-Pr-Version: www-1.0
>Number: 38779
>Category: kern
>Synopsis: NetBSD 4 KP : uvm_fault / proc_trampoline
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 28 13:25:00 +0000 2008
>Closed-Date: Fri Dec 28 11:53:51 +0000 2018
>Last-Modified: Fri Dec 28 11:53:51 +0000 2018
>Originator: Jean-Edouard BABIN
>Release: 4.0.0 and 200805250002Z
>Organization:
>Environment:
Sorry the server is not booting, so I can't do a uname -a.
It's a i386 processor under qemu
>Description:
Hello,
I'm sorry that I can't follow http://www.netbsd.org/support/send-pr.html#pr-hints as I did not get any pc = line.
I got a KP when booting NetBSD 4.0.0 or ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200805250002Z/iso/i386cd.iso one under QEMU. I did not have much information about QEMU configuration. This is a server hosted by a french company (OVH.com). They allow customers to boot their server using QEMU to get a sort of virtual KVM on the server.
note that the trace come from the 200805250002Z iso but I got exactly the same with 4.0.0 iso but address may be different
You can get the 200805250002Z iso at ftp://ks.jeb.be/i386cd.iso if the iso is no longer available on netbsd ftp server when you read the pr
Every thing work fine if I boot NetBSD 3.1 iso
When booting I got this :
NetBSD 4.0_STABLE (INSTALL_LARGE) #0: Sun May 25 19:12:08 PDT 2008
total memory = 877 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 852 MB
...
cpu0 at mainbus0: apid 0 (bootprocessor)
cpu0: Intel Pentium II (Klamath) (686-class) 1201.03Mhz, id 0x633
...
cd0 ar atapibus0 drive 0: <QEMU CD-ROM, QM00003, 0.9.0> cdrom removable
boot device: <unknown>
root on md0a dumps on md0b
root file system type: ffs
WARNING: clock gained 2 days
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
uvm_fault(0xc0a20ee0, 0xcb581000, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 1.1 (init) at netbsd:proc_trampoline+0x4d: ired
>From here I don't what i can do to give you more information ("trace" only give the proc_trampoline call)
You can see the full dmesg view here: ftp://ks.jeb.be/ files Image 1.png Image 2.png Image 3.png and Image 4.png
>How-To-Repeat:
I think that you will not be able to reproduce easily :/
I will try to get more information about QEMU configuration but not sur that I will get them
>Fix:
>Release-Note:
>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/38779: NetBSD 4 KP : uvm_fault / proc_trampoline
Date: Wed, 28 May 2008 21:27:14 +0200
What about trying the INSTALL kernel instead of INSTALL_LARGE ?
try 'boot nbnoacpi' from the cdrom boot loader prompt.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Jean-Edouard Babin <jeb@jeb.com.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/38779: NetBSD 4 KP : uvm_fault / proc_trampoline
Date: Thu, 29 May 2008 14:55:49 +0200
Le 28 mai 08 =E0 21:30, Manuel Bouyer a =E9crit :
> What about trying the INSTALL kernel instead of INSTALL_LARGE ?
> try 'boot nbnoacpi' from the cdrom boot loader prompt.
There is something strange because i did not have any time to type
anything to the bootloader, I think that the vnc server start just
after that the bootloader load the kernel :/
So i'm trying to build an iso with a different default kernel (or may
may be this already exist on the ftp ? but I did not found)
From: Jean-Edouard Babin <jeb@jeb.com.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/38779: NetBSD 4 KP : uvm_fault / proc_trampoline
Date: Thu, 29 May 2008 15:58:14 +0200
Ok, I tried this (it's easyer than doing a new iso for each case)
Installing 3.1 on the dd (this work) then putt NetBSD 4 kernel instead =20=
of NetBSD 3.1 one
netbsd-GENERIC.gz crash
netbsd-GENERIC_DIAGNOSTIC.gz crash
netbsd-GENERIC.NOACPI.gz crash
netbsd-INSTALL.gz crash
and of course netbsd-INSTALL_LARGE.gz crash
is there anything else I can do ?
With netbsd-INSTALL kernel the crash is
uvm_fault(0xc09abd60, 0xcb4d1000, 1) -> 0xe
from symbols =
(ftp://ftp4.fr.netbsd.org/mirrors/ftp.netbsd.org/NetBSD-4.0/i386/binary/kernel/netbsd-INSTALL.symbols.gz)
this match kernel_map_store
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
jeb@jeb.com.fr
Subject: Re: kern/38779: NetBSD 4 KP : uvm_fault / proc_trampoline
Date: Thu, 29 May 2008 21:14:18 +0200
> anything to the bootloader, I think that the vnc server start just
> after that the bootloader load the kernel :/
That's quite possible. Another issue with qemu is that the countdown
goes way too fast, but it's usually possible to interrupt it by
repeatedly (?) hitting a key
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 28 Dec 2018 11:53:51 +0000
State-Changed-Why:
I see several references online that netbsd on OVH works now. If you are still having issues, feel free to reply or make a new bug.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.