Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 22:18:05 +0900
From:      Shunsuke Akiyama <akiyama@jp.FreeBSD.org>
To:        mistral@imasy.or.jp (Yoshihiko Sarumaru)
Cc:        julian@elischer.org
Subject:   Re: HEADSUP!!! USB MFC committed..
Message-ID:  <20040310221805L.akiyama@jp.FreeBSD.org>
In-Reply-To: <040308013807.M0100724@shimako.imasy.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Wed_Mar_10_22:18:05_2004-1
Content-Type: text/plain; charset=US-ASCII

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


--Multipart_Wed_Mar_10_22:18:05_2004-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="moddepfix.diffs"
Content-Transfer-Encoding: 7bit

Index: sys/modules/ucom/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/modules/ucom/Makefile,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 Makefile
--- sys/modules/ucom/Makefile	8 Aug 2002 18:45:05 -0000	1.1.2.1
+++ sys/modules/ucom/Makefile	10 Mar 2004 13:06:22 -0000
@@ -6,5 +6,6 @@
 KMOD=	ucom
 SRCS=	ucom.c ucomvar.h opt_usb.h device_if.h bus_if.h vnode_if.h
 NOMAN=
+KMODDEPS= usb
 
 .include <bsd.kmod.mk>
Index: sys/modules/umodem/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/modules/umodem/Makefile,v
retrieving revision 1.7.2.1
diff -u -r1.7.2.1 Makefile
--- sys/modules/umodem/Makefile	1 Mar 2004 00:07:25 -0000	1.7.2.1
+++ sys/modules/umodem/Makefile	10 Mar 2004 13:06:23 -0000
@@ -6,5 +6,6 @@
 
 KMOD=	umodem
 SRCS=	bus_if.h device_if.h vnode_if.h opt_usb.h umodem.c
+KMODDEPS= ucom
 
 .include <bsd.kmod.mk>

--Multipart_Wed_Mar_10_22:18:05_2004-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040310221805L.akiyama>