From owner-freebsd-stable@FreeBSD.ORG Tue Sep 26 19:13:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 425FB16A403; Tue, 26 Sep 2006 19:13:56 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A592B43D72; Tue, 26 Sep 2006 19:10:37 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.dp.ua (localhost [127.0.0.1]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k8QJASjt053688; Tue, 26 Sep 2006 22:10:28 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: from localhost (dmitry@localhost) by atlantis.dp.ua (8.13.1/8.13.1/Submit) with ESMTP id k8QJASY1053685; Tue, 26 Sep 2006 22:10:28 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Tue, 26 Sep 2006 22:10:28 +0300 (EEST) From: Dmitry Pryanishnikov To: John Baldwin In-Reply-To: <200609261309.19663.jhb@freebsd.org> Message-ID: <20060926215928.H38624@atlantis.atlantis.dp.ua> References: <20060924171559.C7094@atlantis.atlantis.dp.ua> <200609261309.19663.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Loadable SMBus modules regression in 6-STABLE -> 6-BETA X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 19:13:56 -0000 Hello! On Tue, 26 Sep 2006, John Baldwin wrote: > It still works here. Since you are using modules, make sure all your modules > are in sync. Short of that, you can edit sys/dev/smbus/smb.c and add a Yes, they are (I've followed the standard OS upgrade procedure, including full recompile of the kernel and all modules). > printf to smb_identify() and make sure it is called. I've instrumented it in the following fashion: smb_identify(driver_t *driver, device_t parent) { printf("smb_identify() called!!!\n"); if (device_find_child(parent, "smb", -1) == NULL) { printf("BUS_ADD_CHILD() = %p\n", BUS_ADD_CHILD(parent, 0, "smb", -1)); } } and here is the output: smb_identify() called!!! BUS_ADD_CHILD() = 0x6 6? ENXIO? Why?! Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE