LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-18-2009, 02:11 AM   #1
linudin
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
I want to uninstall a kernel module


first and foremost thank u for this beautiful work,
I tried to install speedtouch modem driver but I failed (thanx to my noobness in linux ), finaly I found a patch that does the work for me, and when I tried to install it it gives me this :

[root@localhost speedtouchconf]# ./speedtouchconf.sh

(c) Steve Parker, 17 Oct 2002 - 2005Home ********* [ steve-parker**** ])
speedtouchconf comes with ABSOLUTELY NO WARRANTY; for details type:
./speedtouchconf.sh -gpl
This is free software, and you are welcome to redistribute it
under certain conditions.
See the included file COPYING for more details.

************************************************
* *
* speedtouchconf.sh by Steve Parker *
* *
* ************SpeedTouchConf - Home************ *
* based on speedtouch.sourceforge.net project *
* *
************************************************

If you have any problems with this script, mail me
(steve at steve-parker dot org) with the files
/tmp/speedtouch.txt and (possibly) /var/log/messages for diagnosis.
The kernel speedtch module is loaded. This is not
compatible with the speedtouch usermode driver.
Removing the speedtch module
ERROR: Module speedtch is in use
Failed to remove the speedtch module - please do this by hand.

[root@localhost speedtouchconf]#


when I listed the modules loded in the kernel ( to know the name of the module to unload it :

[bouzbal@localhost ~]$ /sbin/lsmod
Module Size Used by
ipt_IFWLOG 6788 2
ipt_psd 47752 1
ip_set_iptree 10376 2
ip6table_filter 6528 1
ip6_tables 16528 1 ip6table_filter
iptable_raw 6144 0
xt_comment 5504 0
xt_policy 6912 0
ipt_ULOG 11044 0
ipt_TTL 5888 0
ipt_ttl 5504 0
ipt_set 5888 2
ipt_REJECT 6912 4
ipt_REDIRECT 5760 0
ipt_recent 11804 0
ipt_NETMAP 5760 0
ipt_MASQUERADE 6784 0
ipt_LOG 9476 9
ipt_ECN 6400 0
ipt_ecn 5888 0
ipt_CLUSTERIP 10628 0
ipt_ah 5632 0
ipt_addrtype 6400 4
nf_nat_tftp 5504 0
nf_nat_snmp_basic 12808 0
nf_nat_sip 10880 0
nf_nat_pptp 6912 0
nf_nat_proto_gre 6148 1 nf_nat_pptp
nf_nat_irc 6016 0
nf_nat_h323 10240 0
nf_nat_ftp 6656 0
nf_nat_amanda 5760 0
ts_kmp 6272 5
nf_conntrack_amanda 7680 1 nf_nat_amanda
nf_conntrack_tftp 8084 1 nf_nat_tftp
nf_conntrack_sip 20756 1 nf_nat_sip
nf_conntrack_proto_sctp 12168 0
nf_conntrack_pptp 9476 1 nf_nat_pptp
nf_conntrack_proto_gre 8576 1 nf_conntrack_pptp
nf_conntrack_netlink 19840 0
nf_conntrack_netbios_ns 6400 0
nf_conntrack_irc 8996 1 nf_nat_irc
nf_conntrack_h323 51144 1 nf_nat_h323
nf_conntrack_ftp 11428 1 nf_nat_ftp
ip_set_portmap 8064 0
ip_set_macipmap 7940 0
ip_set_ipmap 8064 0
ip_set_iphash 10500 0
ip_set 21532 11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
xt_tcpmss 5888 0
xt_pkttype 5632 0
xt_physdev 6416 0
xt_owner 6656 0
xt_NFQUEUE 5760 0
xt_NFLOG 5760 0
xt_multiport 7168 4
xt_MARK 6272 0
xt_mark 5888 0
xt_mac 5632 0
xt_limit 6148 0
xt_length 5632 0
xt_iprange 6400 0
xt_helper 6016 0
xt_hashlimit 14096 0
xt_DSCP 7040 0
xt_dscp 6400 0
xt_dccp 6792 0
xt_conntrack 7808 0
xt_CONNMARK 7040 0
xt_connmark 6400 0
xt_CLASSIFY 5632 0
xt_tcpudp 6912 11
xt_state 6016 12
iptable_nat 9480 0
nf_nat 19736 13 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_ir c,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_netlink,iptable_nat
nf_conntrack_ipv4 17676 15 iptable_nat,nf_nat
nf_conntrack 60128 29 ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_ h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_pr oto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_co nntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_sta te,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle 6784 1
nfnetlink 7448 1 nf_conntrack_netlink
iptable_filter 6656 1
ip_tables 15376 4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables 16516 46 ipt_IFWLOG,ipt_psd,ip6_tables,xt_comment,xt_policy,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_set,ipt_REJECT,ipt_R EDIRECT,ipt_recent,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrty pe,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac, xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMAR K,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
ipv6 250660 16
binfmt_misc 12424 1
loop 18316 0
fuse 55196 10
dm_mod 55112 0
cpufreq_ondemand 10636 0
cpufreq_conservative 10248 0
cpufreq_powersave 5632 0
freq_table 7680 1 cpufreq_ondemand
bt878 13112 0
tuner_simple 17680 1
tuner_types 17664 1 tuner_simple
snd_hda_intel 409488 3
tda9887 14212 1
snd_bt87x 16356 2
snd_hwdep 10884 1 snd_hda_intel
tda8290 16260 0
snd_seq_dummy 6660 0
snd_seq_oss 33664 0
snd_seq_midi_event 10240 1 snd_seq_oss
snd_seq 51312 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
tuner 28744 0
snd_seq_device 10252 3 snd_seq_dummy,snd_seq_oss,snd_seq
usbhid 50368 0
ff_memless 8712 1 usbhid
tvaudio 26172 0
snd_pcm_oss 41632 0
snd_pcm 72964 3 snd_hda_intel,snd_bt87x,snd_pcm_oss
snd_timer 23816 2 snd_seq,snd_pcm
snd_mixer_oss 18304 1 snd_pcm_oss
bttv 164244 1 bt878
snd 52772 20 snd_hda_intel,snd_bt87x,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,s nd_mixer_oss
videodev 35712 2 tuner,bttv
v4l1_compat 18052 1 videodev
ir_common 39044 1 bttv
compat_ioctl32 5120 1 bttv
i2c_algo_bit 9604 1 bttv
v4l2_common 14208 3 tuner,tvaudio,bttv
videobuf_dma_sg 14980 1 bttv
videobuf_core 19844 2 bttv,videobuf_dma_sg
via_agp 12032 1
btcx_risc 7944 1 bttv
thermal 19100 0
shpchp 33556 0
button 10000 0
processor 37292 1 thermal
pci_hotplug 29476 1 shpchp
i2c_viapro 11540 0
serio_raw 9220 0
evdev 13216 4
soundcore 10080 1 snd
snd_page_alloc 11784 3 snd_hda_intel,snd_bt87x,snd_pcm
tveeprom 15876 1 bttv
i2c_core 24212 10 tuner_simple,tda9887,tda8290,tuner,tvaudio,bttv,i2c_algo_bit,v4l2_common,i2c_viapro,tveeprom
agpgart 32840 1 via_agp
rtc_cmos 13472 0
via_rhine 25352 0
mii 8576 1 via_rhine
sr_mod 18884 0
sg 34736 0
pata_via 11780 0
sata_via 11396 8
libata 155552 2 pata_via,sata_via
dock 11792 1 libata
sd_mod 37912 9
scsi_mod 138188 4 sr_mod,sg,libata,sd_mod
crc_t10dif 5760 1 sd_mod
ext3 128264 2
jbd 46868 1 ext3
uhci_hcd 26000 0
ohci_hcd 27280 0
ehci_hcd 37900 0
usbcore 137712 5 usbhid,uhci_hcd,ohci_hcd,ehci_hcd
[bouzbal@localhost ~]$ ls /lib/modules/$(uname -r)
kernel/ modules.dep modules.inputmap modules.order modules.symbols
modules.alias modules.description modules.isapnpmap modules.pcimap modules.usbmap
modules.ccwmap modules.ieee1394map modules.ofmap modules.seriomap
[bouzbal@localhost ~]$


the question is how do I know the name of speedtch module to unload it

thanx
 
Old 05-18-2009, 02:30 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
the question is how do I know the name of speedtch module to unload it
... you ask the people you got it off. There are usually documentation files in that tarball you downloaded.

Quote:
ERROR: Module speedtch is in use
Failed to remove the speedtch module - please do this by hand.
have you tried:

modprobe -r speedtch

have you tried unplugging the modem?


http://linux-usb.sourceforge.net/SpeedTouch/
 
Old 05-18-2009, 02:44 AM   #3
linudin
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
thanx for reply
I'm using duel boot, connected under win***s
I'll switch to linux, test and reply
 
Old 05-18-2009, 03:22 AM   #4
linudin
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
by doing the command

/sbin/modprobe -r speedtch

my pc freezes !!!

I did something I pluged in my modem and rebooted linux (pressnig ESC to see what happen in the background, when it comes to detection devices it freezes and show the message :
Unknown model ALC660VD/ALC861VD tring out auto-probe from bios
but it passed it due to a timeout

and it freezed when detection new devices pluged in

I'm using mandriva and the modem work just fine in win***s
 
Old 05-18-2009, 09:48 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Your modem will not work with windows unless you get help from the manufacturer - vendors like to prop it up. With linux, we are expected to do all this on our own. All this tells us is that the modem is electronically fine... which we already knew.

I notice that the driver is free software - so it should be supplied in your distro repos, may even be in the kernel already. So you check the software sources for mandriva.

Your boot message, what timed out, suggests that the module is not loaded. Certainly it is not assigned to your adapter. You get that sort of message for any unidentified device - mandrivas kernel is just asking bios about it ... but bios dosn't know either.

Unplug the modem, leave it unplugged then reboot. Message will go away. Module will not be loaded.

Then try to run the script - if you still have a problem, tell Steve.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a kernel module call the function of another kernel module sceadu Programming 3 05-02-2011 02:22 AM
Install/Uninstall Perl Module? Xris718 Linux - General 4 11-02-2009 11:51 PM
2in1 problem thread. (nvidia kernel module vs X module, and strange workbug phenom) htedrom Linux - Software 15 10-04-2007 10:55 PM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration