From owner-freebsd-stable@FreeBSD.ORG Thu Mar 11 09:33:50 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 BF2A316A4CE; Thu, 11 Mar 2004 09:33:50 -0800 (PST) Received: from shimako.yamayuri.org (yumi.yamayuri.org [218.45.22.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E0D843D2F; Thu, 11 Mar 2004 09:33:50 -0800 (PST) (envelope-from mistral@imasy.or.jp) Received: from shimako.yamayuri.org (localhost [IPv6:3ffe:505:2020:0:203:47ff:fe14:7175])i2BHXZGa000662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Mar 2004 02:33:35 +0900 (JST) (envelope-from mistral@imasy.or.jp) Received: (from sarumaru@localhost) by shimako.yamayuri.org (8.12.11/8.12.11/Submit) id i2BHXVxV000661; Fri, 12 Mar 2004 02:33:31 +0900 (JST) (envelope-from sarumaru) From: mistral@imasy.or.jp (Yoshihiko Sarumaru) To: akiyama@jp.FreeBSD.org In-Reply-To: Your message of "Wed, 10 Mar 2004 22:18:05 +0900". <20040310221805L.akiyama@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Mailer: mnews [version 1.22PL5] 2001-02/07(Wed) Date: Fri, 12 Mar 2004 02:33:31 +0900 Message-ID: <040312023331.M0100549@shimako.imasy.or.jp> cc: stable@freebsd.org cc: hackers@freebsd.org cc: julian@elischer.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 17:33:50 -0000 Hi akiyama san, unfortunately, It couldn't help me. With KMODDEPS, DDB said: Stopped at usbd_get_string+0x15: movl 0(%eax), %eax) db> trace usbd_get_string(.....) usbd_devinfo_vp(.....) usbd_devinfo(.....) ugen_attach(.....) DEVICE_ATTACH(.....) device_probe_and_attach(.....) at ... usbd_probe_and_attach(.....) at ... usbd_new_device(.....) at ... (snip) Without KMODEPS, I had been seen: Stopped at usbd_get_interface_descriptor+0x6: movl 0x4(%eax),%eax db> trace usbd_get_interface_descriptor(1,6,....) at usbd_get_interface_descriptor+0x6 umodem_match(.....) at umodem_match+0x24 DEVICE_PROBE(.....) at DEVICE_PROBE+0x2e device_probe_child(.....) at ... device_probe_and_attach(.....) at ... usbd_probe_and_attach(.....) at ... usbd_new_device(.....) at ... (snip) I don't know what is different between two above situation. By the way, I found it would always panic with latter panic message when I load kernel-without-usb + usb.ko + ucom.ko + umodem.ko then boot although I didn't plugged any umodem devices. akiyama san wrote: > Hi, Sarumaru-san. > > 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. > -- > Shunsuke Akiyama > akiyama@jp.FreeBSD.org > akiyama@FreeBSD.org -- Yoshihiko Sarumaru mail: mistral@imasy.or.jp web: http://www.imasy.or.jp/~mistral/