* Building and Installation errors due to modprobe -l was deprecated
@ 2012-03-08 16:02 Aaron
2012-04-23 23:45 ` Sami
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Aaron @ 2012-03-08 16:02 UTC (permalink / raw)
To: linux-wireless
Hello,
I have problems with building and installing compat-wireless-3.3-rc1-2
drivers due to modprobe -l option is obsolete.
Debian wheezy/sid
Linux laptop 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64
GNU/Linux
# make install
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
Your old wireless subsystem modules were left intact:
/sbin/modprobe: invalid option -- 'l'
make: *** [uninstall] Error 1
Best regards,
Aaron
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building and Installation errors due to modprobe -l was deprecated
2012-03-08 16:02 Building and Installation errors due to modprobe -l was deprecated Aaron
@ 2012-04-23 23:45 ` Sami
2012-07-04 10:03 ` Artem Chekunov
2012-07-04 10:42 ` Artem Chekunov
2 siblings, 0 replies; 4+ messages in thread
From: Sami @ 2012-04-23 23:45 UTC (permalink / raw)
To: linux-wireless
Hi Aaron,
I have the same problem with building module for bluetooth dongle Asus BT211.
Have you found a fix for this issue? Thank you.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building and Installation errors due to modprobe -l was deprecated
2012-03-08 16:02 Building and Installation errors due to modprobe -l was deprecated Aaron
2012-04-23 23:45 ` Sami
@ 2012-07-04 10:03 ` Artem Chekunov
2012-07-04 10:42 ` Artem Chekunov
2 siblings, 0 replies; 4+ messages in thread
From: Artem Chekunov @ 2012-07-04 10:03 UTC (permalink / raw)
To: linux-wireless
Aaron <regtothismail@...> writes:
>
> Hello,
>
> I have problems with building and installing compat-wireless-3.3-rc1-2
> drivers due to modprobe -l option is obsolete.
> Debian wheezy/sid
> Linux laptop 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64
> GNU/Linux
>
> # make install
> /sbin/modprobe: invalid option -- 'l'
> /sbin/modprobe: invalid option -- 'l'
>
> Your old wireless subsystem modules were left intact:
>
> /sbin/modprobe: invalid option -- 'l'
> make: *** [uninstall] Error 1
>
> Best regards,
> Aaron
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@...
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
Try run next
####################################################
cat > /sbin/modprobe.sh <<EOF
#!/bin/bash
if [[ \$1 == -l ]]
then
if [ -z \$2 ]
then
find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname
-r)\/##g"
else
find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname
-r)\/##g" | grep \$2
fi
else
/sbin/modprobe \$@
fi
EOF
chmod +x /sbin/modprobe.sh
alias modprobe=/sbin/modprobe.sh
echo "alias modprobe=/sbin/modprobe.sh" >> /etc/bash.bashrc
cp Makefile Makefile.save
sed -i -e 's/^MODPROBE.*/MODPROBE := \/sbin\/modprobe.sh/g' Makefile
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Building and Installation errors due to modprobe -l was deprecated
2012-03-08 16:02 Building and Installation errors due to modprobe -l was deprecated Aaron
2012-04-23 23:45 ` Sami
2012-07-04 10:03 ` Artem Chekunov
@ 2012-07-04 10:42 ` Artem Chekunov
2 siblings, 0 replies; 4+ messages in thread
From: Artem Chekunov @ 2012-07-04 10:42 UTC (permalink / raw)
To: linux-wireless
Try run next
########################
cat > /sbin/modprobe.sh <<EOF
#!/bin/bash
if [[ \$1 == -l ]]
then
if [ -z \$2 ]
then
find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname
-r)\/##g"
else
find /lib/modules/\$(uname -r) -name '*.ko' | sed -e "s#\/lib\/modules\/\$(uname
-r)\/##g" | grep \$2
fi
else
/sbin/modprobe \$@
fi
EOF
chmod +x /sbin/modprobe.sh
alias modprobe=/sbin/modprobe.sh
echo "alias modprobe=/sbin/modprobe.sh" >> /etc/bash.bashrc
cp Makefile Makefile.save
sed -i -e 's/^MODPROBE.*/MODPROBE := \/sbin\/modprobe.sh/g' Makefile
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-04 10:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 16:02 Building and Installation errors due to modprobe -l was deprecated Aaron
2012-04-23 23:45 ` Sami
2012-07-04 10:03 ` Artem Chekunov
2012-07-04 10:42 ` Artem Chekunov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).