From owner-freebsd-current Sun Aug 26 4: 3: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by hub.freebsd.org (Postfix) with ESMTP id 5A38337B407 for ; Sun, 26 Aug 2001 04:03:00 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from nantai.utsunomiya-u.ac.jp by nasu.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/26Jan01-1134AM) id f7QB2c5149764; Sun, 26 Aug 2001 20:02:38 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp by nantai.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/30Jan01-0241PM) id f7QB2bc265558; Sun, 26 Aug 2001 20:02:37 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:1sl+H6BVzm1axTqmf8xwfF4fN2vbjDG3@zodiac.mech.utsunomiya-u.ac.jp [160.12.43.7]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id UAA14768; Sun, 26 Aug 2001 20:12:19 +0900 (JST) Message-Id: <200108261112.UAA14768@zodiac.mech.utsunomiya-u.ac.jp> To: Warner Losh Cc: "David W. Chapman Jr." , current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: unknown PNP hardware In-reply-to: Your message of "Sat, 25 Aug 2001 10:36:37 CST." <200108251636.f7PGabW05246@harmony.village.org> References: <20010823172813.A69940@leviathan.inethouston.net> <200108251636.f7PGabW05246@harmony.village.org> Date: Sun, 26 Aug 2001 20:12:18 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >In message <20010823172813.A69940@leviathan.inethouston.net> "David W. Chapman > Jr." writes: >: I'm running -current as of an hour ago. I've gotten this since I've >: been running 4.2-stable, any ideas on how I can find out what it >: belongs to? >: >: unknown: can't assign resources >: unknown: can't assign resources >: unknown: can't assign resources >: unknown: can't assign resources >: unknown: can't assign resources >: unknown: can't assign resources > >Don't worry about these. > >Warner Shouldn't we just suppress the message? It just confuses users. The attached patch will print this message only when we boot the kernel by 'boot -v'. Kazu Index: isa_common.c =================================================================== RCS file: /src/CVS/src/sys/isa/isa_common.c,v retrieving revision 1.23 diff -u -r1.23 isa_common.c --- isa_common.c 2001/08/10 07:50:14 1.23 +++ isa_common.c 2001/08/26 10:24:03 @@ -416,10 +416,11 @@ /* * Disable the device. */ - bus_print_child_header(device_get_parent(child), child); - printf(" can't assign resources\n"); - if (bootverbose) - isa_print_child(device_get_parent(child), child); + if (bootverbose) { + bus_print_child_header(device_get_parent(child), child); + printf(" can't assign resources\n"); + isa_print_child(device_get_parent(child), child); + } bzero(cfg, sizeof (*cfg)); if (idev->id_config_cb) idev->id_config_cb(idev->id_config_arg, cfg, 0); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message