HEADSUP!!! USB MFC committed..

Julian Elischer julian at elischer.org
Thu Mar 11 08:08:30 PST 2004



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



More information about the freebsd-hackers mailing list