Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 May 2007 16:40:45 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        "Valery V.Chikalov" <valera@chikalov.dp.ua>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: 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
Message-ID:  <1178527245.7199.60.camel@monet>
In-Reply-To: <463DDCB9.8070205@chikalov.dp.ua>
References:  <200705061007.l46A7L3g065595@repoman.freebsd.org> <463DDCB9.8070205@chikalov.dp.ua>

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




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