From owner-freebsd-current@FreeBSD.ORG Tue Nov 4 10:43:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FA9D16A4CE; Tue, 4 Nov 2003 10:43:57 -0800 (PST) Received: from mail-in.m-online.net (svr8.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE5B843FB1; Tue, 4 Nov 2003 10:43:54 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-onlne.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 88E1262D; Tue, 4 Nov 2003 19:43:53 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-235-108.mnet-online.de [62.245.235.108]) by mail.m-online.net (Postfix) with ESMTP id 3F471157AA; Tue, 4 Nov 2003 19:43:53 +0100 (CET) From: Harald Schmalzbauer To: John Baldwin Date: Tue, 4 Nov 2003 19:43:46 +0100 User-Agent: KMail/1.5.4 References: In-Reply-To: X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_pN/p/0x01ieZI3k"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200311041943.53890@harrymail> cc: current@FreeBSD.org cc: Lukas Ertl Subject: Re: new interrupt code: panic when going multiuser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 18:43:57 -0000 --Boundary-02=_pN/p/0x01ieZI3k Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Tuesday 04 November 2003 19:38, John Baldwin wrote: > On 04-Nov-2003 Harald Schmalzbauer wrote: > > On Tuesday 04 November 2003 18:19, John Baldwin wrote: > >> On 04-Nov-2003 Lukas Ertl wrote: > >> > On Tue, 4 Nov 2003, John Baldwin wrote: > >> >> On 04-Nov-2003 Lukas Ertl wrote: > >> >> > On Tue, 4 Nov 2003, Lukas Ertl wrote: > >> >> >> I somehow can't get at a good vmcore :-(. But I found out that > >> >> >> the machine boots fine in "Safe Mode", where DMA and hw.ata.wc is > >> >> >> turned off. > >> >> > > >> >> > Ok, if I set hw.ata.ata_dma=3D0 in loader.conf, it boots fine. C= ould > >> >> > there be some issue with ATAng + new interrupt code? > >> >> > >> >> Can you provide a dmesg please? There may be a weird issue with > >> >> some PPro's for example that I haven't been able to test. > >> > > >> > Sorry for the noise, I think I found the problem: I had to put > >> > "options SMP" and "device apic" into the kernel, now everythings see= ms > >> > to run fine. I thought they were only needed for SMP kernels, that's > >> > at least what the comment in GENERIC says... If you still want the > >> > dmesg, I can send it to you. > >> > >> Well, a kernel without SMP and just 'device apic' should work fine, and > >> a kernel with both SMP and 'device apic' should also work fine. > > > > Hmm, I think this answer should be for "New and aPic question= "? > > > > Well I tired to build one (with -curr some weeks ago) with device apic > > only which didn't work, I had to add options smp arrrgghhh. Had a look = in > > my file and saw I did the following: > >#options SMP > >#options APIC_IO > > > > Seems I didn't use "device apic" (perhaps I didn't recognize) > > > > But regardless, when I built a SMP kernel it didn't run on my UP machin= e. > > > > Thanks a lot, > > I just committed a bunch of changes to the interrupt and SMP code. > When you update to those changes, you should be able to build a UP > kernel with 'device apic' and have it work, and you should be able > to build an SMP kernel and have it run on your machine. Oh, great! Thanks a lot and sorry for the former nonses-reply. I read your= =20 first answer which was correct for my subject but I hadn't carefully read=20 this thread. After jdk14 is finished I'll recvsup and build a new kernel. I already buil= t=20 world today so I hope kernel only is okay. Best regards, =2DHarry --Boundary-02=_pN/p/0x01ieZI3k Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/p/NpBylq0S4AzzwRAoNRAKCGfjdN+LK/wAoRxol8JGxLtYOHiQCfXeS+ sadW2X/zJMlggUDgO9gnitc= =Z1tw -----END PGP SIGNATURE----- --Boundary-02=_pN/p/0x01ieZI3k--