Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2007 15:40:02 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Niki Denev <nike_d@cytexbg.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic when removing pccard
Message-ID:  <200706191540.02882.hselasky@c2i.net>
In-Reply-To: <4677CBEC.4080208@cytexbg.com>
References:  <466913F0.2060200@cytexbg.com> <200706191331.50323.hselasky@c2i.net> <4677CBEC.4080208@cytexbg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 19 June 2007 14:28, Niki Denev wrote:
> Hans Petter Selasky wrote:
> > On Tuesday 19 June 2007 13:25, Niki Denev wrote:
> >> Hans Petter Selasky wrote:
> >>> On Tuesday 19 June 2007 11:06, Niki Denev wrote:
> >>>> Hans Petter Selasky wrote:
> >>>>> On Friday 08 June 2007 10:31, Niki Denev wrote:
> >>>>>> -----BEGIN PGP SIGNED MESSAGE-----
> >>>>>> Hash: SHA1
> >>>>>>
> >>>>>> I experience the following panic on a few days old -current :
> >>>>>>
> >>>>>> If i insert and then remove a pcmcia card using the ubsa module
> >>>>>> (Vodafone Mobile Connect, which actually is Huawei E630 UMTS/HSDPA
> >>>>>> modem) the machine panics, because i think the order of removal of
> >>>>>> the devices by the kernel is not correct. I'm not sure because i
> >>>>>> don't have -STABLE machine with pcmcia now, but i think this problem
> >>>>>> does not exist there.
> >>>>>>
> >>>>>> Here is what happens when card is inserted :
> >>>>>
> >>>>> Hi!
> >>>>>
> >>>>> If you want to be able to remove the card you need to install the new
> >>>>> USB stack. The old USB stack is completely broken when it comes to
> >>>>> this point!
> >>>>>
> >>>>> --HPS
> >>>>>
> >>>>> http://www.turbocat.net/~hselasky/usb4bsd
> >>>>>
> >>>>> Install the SVN version.
> >>>>> _______________________________________________

> I did make S=../src package the first time, but then for some reason i
> was trying without defining the S variable.
> Making it properly this time i went further, but still the build failed
> in if_rum with error if_rum.c:1118 too few arguments to function
> 'ieee80211_input' and several warnings about nested extern declarations
> and implicit declarations of the ieee80211 functions.
> I'll try disconnecting if_rum from the build to see if will help.
>

Just create an empty "/sys/dev/usb/if_rum.c" rum file.

rm -f "/sys/dev/usb/if_rum.c"
touch "/sys/dev/usb/if_rum.c"

Then try to compile again.

--HPS



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