From owner-freebsd-stable@FreeBSD.ORG Thu Mar 11 08:08:29 2004 Return-Path: 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 E786416A4CE; Thu, 11 Mar 2004 08:08:29 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 717A343D3F; Thu, 11 Mar 2004 08:08:26 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004031116082501200qh8m3e>; Thu, 11 Mar 2004 16:08:25 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id IAA91223; Thu, 11 Mar 2004 08:08:23 -0800 (PST) Date: Thu, 11 Mar 2004 08:08:21 -0800 (PST) From: Julian Elischer To: Shunsuke Akiyama In-Reply-To: <20040312005656X.akiyama@jp.FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 16:08:30 -0000 On Fri, 12 Mar 2004, Shunsuke Akiyama wrote: > 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. On the other hand teh netgraph autoloading workd better in 4.x than it did in 5.x. (last time I checked about 6 months ago) > -- > Shunsuke Akiyama > akiyama@jp.FreeBSD.org > akiyama@FreeBSD.org >