From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 11 07:57:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCDB716A4CE; Thu, 11 Mar 2004 07:57:03 -0800 (PST) Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7123E43D4C; Thu, 11 Mar 2004 07:57:03 -0800 (PST) (envelope-from akiyama@jp.FreeBSD.org) Received: from localhost (castle.jp.FreeBSD.org [2001:218:422:1::15]) ESMTP/inet6 id i2BFv0763078; Fri, 12 Mar 2004 00:57:00 +0900 (JST) (envelope-from akiyama@jp.FreeBSD.org) Date: Fri, 12 Mar 2004 00:56:56 +0900 From: Shunsuke Akiyama To: mistral@imasy.or.jp (Yoshihiko Sarumaru) In-Reply-To: <20040310221805L.akiyama@jp.FreeBSD.org> References: <040308013807.M0100724@shimako.imasy.or.jp> <20040310221805L.akiyama@jp.FreeBSD.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Message-Id: <20040312005656X.akiyama@jp.FreeBSD.org> X-Dispatcher: imput version 20030322(IM144) Lines: 39 cc: stable@freebsd.org cc: hackers@freebsd.org cc: julian@elischer.org Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 15:57:03 -0000 At Wed, 10 Mar 2004 22:18:05 +0900, Shunsuke Akiyama wrote: > At Mon, 8 Mar 2004 01:38:07 +0900, > Yoshihiko Sarumaru wrote: > > > I report you about a USB problem that would be occur with my > > laptop after you MFC'ed USB stuff. > > > > With GENERIC kernel, it is fine and there are no changes from > > before, but with no usb kernel + usb.ko + umass.ko, it would be > > panic everytime on boot. > > > > It is not depend on umass. The panic would be happen when I > > didn't load umass.ko but ucom.ko + umodem.ko and plug USB modem > > (PHS phone). > > I reproduced this panic, and tracked this down. > This is a kernel module dependency problem. > > Please try attached patch, and let me know the result. > If this patch fix your problem, I'll commit this. Grrr, my patch makes another problem about loading kernel module. I tried to load umodem.ko by hand with kernel which have compiled-in uhci and usb drivers. Then I got an error like following. # kldload umodem module_register: module usb/uhub already exists! linker_file_sysinit "usb.ko" failed to register! 17 kldload: can't load umodem: Exec format error Hum, this is different from CURRENT's behavior. I think in-kernel loader/linker should be fixed first. -- Shunsuke Akiyama akiyama@jp.FreeBSD.org akiyama@FreeBSD.org