Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 00:56:56 +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:  <20040312005656X.akiyama@jp.FreeBSD.org>
In-Reply-To: <20040310221805L.akiyama@jp.FreeBSD.org>
References:  <040308013807.M0100724@shimako.imasy.or.jp> <20040310221805L.akiyama@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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