cvs commit: src/share/man/man4 Makefile rum.4 src/sys/conf files src/sys/dev/usb if_rum.c if_rumreg.h if_rumvar.h rt2573_ucode.h usbdevs src/sys/i386/conf GENERIC src/sys/modules Makefile src/sys/modules/rum Makefile

Kevin Lo kevlo at FreeBSD.org
Mon May 7 09:09:33 UTC 2007


Valery V.Chikalov wrote:
> Kevin Lo wrote:
> > kevlo       2007-05-06 10:07:21 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     share/man/man4       Makefile 
> >     sys/conf             files 
> >     sys/dev/usb          usbdevs 
> >     sys/i386/conf        GENERIC 
> >     sys/modules          Makefile 
> >   Added files:
> >     share/man/man4       rum.4 
> >     sys/dev/usb          if_rum.c if_rumreg.h if_rumvar.h 
> >                          rt2573_ucode.h 
> >     sys/modules/rum      Makefile 
> >   Log:
> >   Add support for Ralink Technology RT2501USB/RT2601USB devices.
> >   
> 
> Kevin,

Hi Valery,

> this driver is not fully functional for me as before.
> 
> $ dmesg | grep rum
> rum0: <Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 4> on uhub4
> rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528
> rum0: Ethernet address: 00:15:e9:f7:5e:79
> rum0: if_start running deferred for Giant
> 
> $ uname -a
> FreeBSD tiger.novakom.dp.ua 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun May 
>   6 15:46:36 EEST 2007 
> root at tiger.novakom.dp.ua:/usr/obj/usr/src/sys/TIGER64  amd64
> 
> $ sysctl kern.smp.cpus
> kern.smp.cpus: 2
> 
> $ sysctl kern.osreldate
> kern.osreldate: 700039
> 
> svsup'ed 06.may.2007
> 
> First of all working of the driver constantly accompanied by the next LORs
> 
> lock order reversal: (Giant after non-sleepable)
>   1st 0xffffffff8071ee40 in_multi_mtx (in_multi_mtx) @ 
> /usr/src/sys/netinet/in.c:1013
>   2nd 0xffffffff806934c0 Giant (Giant) @ 
> /usr/src/sys/modules/rum/../../dev/usb/if_rum.c:1478
> 
> lock order reversal: (Giant after non-sleepable)
>   1st 0xffffff00151d80e8 inp (rawinp) @ /usr/src/sys/netinet/raw_ip.c:286
>   2nd 0xffffffff806934c0 Giant (Giant) @ 
> /usr/src/sys/modules/rum/../../dev/usb/if_rum.c:1384
> 
> And when I trying to get big file by ftp this results to hang.
> 
> In my version of the functions rum_ioctl and rum_start that I mailed you 
> before there are no any of this issues,
> of course this don't means that my version is correct, its just for 
> information to make right changes.

Thanks for testing. As I mentioned, I didn't get a kernel panic when
getting a file about 400MB via ftp, yours was about 200MB. 
Anyway, I'll try to fix the problem.

> If you need of testing don't hesitate to ask.

Thanks!

> Valery.

	Kevin



More information about the cvs-src mailing list