HEADSUP!!! USB MFC committed..

Shunsuke Akiyama akiyama at jp.FreeBSD.org
Thu Mar 11 07:57:04 PST 2004


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 at jp.FreeBSD.org
akiyama at FreeBSD.org


More information about the freebsd-stable mailing list