NetBSD Problem Report #33048

From www@netbsd.org  Fri Mar 10 09:30:52 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6E58963B848; Fri, 10 Mar 2006 09:30:52 +0000 (UTC)
Message-Id: <20060310093052.6E58963B848@narn.netbsd.org>
Date: Fri, 10 Mar 2006 09:30:52 +0000 (UTC)
From: tonnerre@bsdprojects.net
Reply-To: tonnerre@bsdprojects.net
To: gnats-bugs@netbsd.org
Subject: aac(9) fails to initialize under Xen (NetBSD 3.0)
X-Send-Pr-Version: www-1.0

>Number:         33048
>Category:       port-xen
>Synopsis:       aac(9) fails to initialize under Xen (NetBSD 3.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 10 09:35:00 +0000 2006
>Closed-Date:    Fri Jul 17 11:31:31 +0000 2020
>Last-Modified:  Fri Jul 17 11:31:31 +0000 2020
>Originator:     Tonnerre Lombard
>Release:        NetBSD 3.0_STABLE
>Organization:
SyGroup GmbH
>Environment:
NetBSD srsyg05.sygroup.ch 3.0_STABLE NetBSD 3.0_STABLE (SYXEN0) tonnerre@thebsh.sygroup.ch:/home/tonnerre/netbsd/sys/arch/i386/compile/SYXEN0 i386
>Description:
(The uname -a output is "as it would be", because, well, the kernel doesn't boot ;)

I had to add aac(9) to the XEN0 config myself, thus the name SYXEN0. However, unlike others suggested on tech-kern@, it doesn't boot under Xen:

aac0 at pci1 device 2 function 1: Dell PERC 3/Di
aac0: interrupting at irq 26, event channel 4
<30 seconds of wild rattling>
aac0: error establishing init structure

Manuel Bouyer suggested that it might possibly be a problem with incontiguous memory returned by bus_dmamem_alloc() under xen. He is however quite sure that it isn't. I am willing to try and/or create under advise any type of patches, but I can't work them out myself because all the time I can devote to NetBSD kernel hacking here goes into ciss(9).
>How-To-Repeat:
 - copy the XEN0 config to SYXEN0
 - add the following lines:
aac* at pci? device ? function ?
ld* at aac? unit ?
 - Compile and boot
>Fix:
No idea

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-i386-maintainer->port-xen-maintainer
Responsible-Changed-By: maxv@NetBSD.org
Responsible-Changed-When: Sun, 25 Feb 2018 17:02:03 +0000
Responsible-Changed-Why:
i386 -> xen


State-Changed-From-To: open->feedback
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Mon, 09 Jul 2018 19:53:25 +0000
State-Changed-Why:
Are you by chance in position to confirm whether this is still problem
with more current NetBSD (ideally 8.0_RC2) and Xen (e.g. 4.8)? Trying
to figure if it's worth investigating, as I've not seen any similar
problem with other drivers under xen.


State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 09 Jan 2019 19:02:57 +0000
State-Changed-Why:
feedback mail is bouncing


State-Changed-From-To: open->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Fri, 17 Jul 2020 11:31:31 +0000
State-Changed-Why:
Email bounces, submitter unlikely to be in position to retest.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.