ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* Re: [sisyphus] Как удалить модуль ?
  @ 2001-10-01 10:27 ` Vyt
  2001-10-01 10:30   ` [sisyphus] " Alex Murphy
  0 siblings, 1 reply; 6+ messages in thread
From: Vyt @ 2001-10-01 10:27 UTC (permalink / raw)
  To: sisyphus

On Mon, 1 Oct 2001 14:38:19 +0500
"Alex Murphy" <murphy@samara.ru> wrote:

> Привет всем !!!
> Я в системе в работающем состоянии выдернул из USB шины
> устройство, остался модуль, теперь снова это устройство втыкаю
> - тишина... Смотрю lsmod - модуль есть, делаю rmmod mod - не
> удаляет, пишет
> Device or resource busy. Как можно его выкинуть без
> перезагрузки системы ??

1. 
Посмотреть, кем busy и прибить тоже. Можно еще ознакомиться с
документацией по usb на предмет hotplug.

2.
service usb restart (можно попробовать reload)

<skipped>

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@jabber.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sisyphus] Re: [sisyphus] Как удалить модуль ?
  2001-10-01 10:27 ` [sisyphus] Как удалить модуль ? Vyt
@ 2001-10-01 10:30   ` Alex Murphy
  2001-10-01 10:54     ` Vyt
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Murphy @ 2001-10-01 10:30 UTC (permalink / raw)
  To: sisyphus

> > Device or resource busy. Как можно его выкинуть без
> > перезагрузки системы ??
>
> 1.
> Посмотреть, кем busy и прибить тоже. Можно еще ознакомиться с
> документацией по usb на предмет hotplug.
как посмотреть ???

>
> 2.
> service usb restart (можно попробовать reload)
не работает :(




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sisyphus] Как удалить модуль ?
  2001-10-01 10:30   ` [sisyphus] " Alex Murphy
@ 2001-10-01 10:54     ` Vyt
  2001-10-01 10:59       ` [sisyphus] " Alex Murphy
  0 siblings, 1 reply; 6+ messages in thread
From: Vyt @ 2001-10-01 10:54 UTC (permalink / raw)
  To: sisyphus

On Mon, 1 Oct 2001 15:30:10 +0500
"Alex Murphy" <murphy@samara.ru> wrote:

> > > Device or resource busy. Как можно его выкинуть без
> > > перезагрузки системы ??
> >
> > 1.
> > Посмотреть, кем busy и прибить тоже. Можно еще ознакомиться с
> > документацией по usb на предмет hotplug.
> как посмотреть ???

В mc - F3 :)))
Документация находится в /usr/src/linux/Documentation/usb/hotplug.txt
и на http://www.linux-usb.org

<skipped>

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@jabber.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sisyphus] Re: [sisyphus] Как удалить модуль ?
  2001-10-01 10:54     ` Vyt
@ 2001-10-01 10:59       ` Alex Murphy
  2001-10-01 11:47         ` Vyt
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Murphy @ 2001-10-01 10:59 UTC (permalink / raw)
  To: sisyphus

> > > Посмотреть, кем busy и прибить тоже. Можно еще ознакомиться с
> > > документацией по usb на предмет hotplug.
> > как посмотреть ???
>
> В mc - F3 :)))


Нет, как посмотреть кем занят модуль ?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Re: [sisyphus] Как удалить модуль ?
  2001-10-01 10:59       ` [sisyphus] " Alex Murphy
@ 2001-10-01 11:47         ` Vyt
  2001-10-02  8:42           ` [sisyphus] " Alex Murphy
  0 siblings, 1 reply; 6+ messages in thread
From: Vyt @ 2001-10-01 11:47 UTC (permalink / raw)
  To: sisyphus

On Mon, 1 Oct 2001 15:59:26 +0500
"Alex Murphy" <murphy@samara.ru> wrote:

> > > > Посмотреть, кем busy и прибить тоже. Можно еще
> ознакомиться с
> > > > документацией по usb на предмет hotplug.
> > > как посмотреть ???
> >
> > В mc - F3 :)))
> 
> 
> Нет, как посмотреть кем занят модуль ?

# lsmod
Module                  Size  Used by
ide-scsi                7424   1  (autoclean)
<skipped>
scsi_mod               85440   3  [ide-scsi sg sd_mod]

Колонка Used by показывает, кем используется.

<skipped>

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@jabber.org



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sisyphus] Re: [sisyphus] Re: [sisyphus] Как удалить модуль ?
  2001-10-01 11:47         ` Vyt
@ 2001-10-02  8:42           ` Alex Murphy
  0 siblings, 0 replies; 6+ messages in thread
From: Alex Murphy @ 2001-10-02  8:42 UTC (permalink / raw)
  To: sisyphus

> # lsmod
> Module                  Size  Used by
> ide-scsi                7424   1  (autoclean)
> <skipped>
> scsi_mod               85440   3  [ide-scsi sg sd_mod]
>
> Колонка Used by показывает, кем используется.
Тогда у меня получается, что модуль ov511 можно удалить запросто
[root@dom murphy]# lsmod
Module                  Size  Used by
ov511                  64848   1
videodev                4928   2  [ov511]
eepro100               16368   1  (autoclean)
de4x5                  39024   0  (autoclean) (unused)
ipchains               31824   0  (unused)
usbcore                49680   1  [ov511]
aic7xxx                97312   0  (unused)
megaraid               22832   8
sd_mod                 10560   8
scsi_mod               86144   3  [aic7xxx megaraid sd_mod]
Делаем
[root@dom murphy]# rmmod ov511
ov511: Device or resource busy





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-10-02  8:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-01 10:27 ` [sisyphus] Как удалить модуль ? Vyt
2001-10-01 10:30   ` [sisyphus] " Alex Murphy
2001-10-01 10:54     ` Vyt
2001-10-01 10:59       ` [sisyphus] " Alex Murphy
2001-10-01 11:47         ` Vyt
2001-10-02  8:42           ` [sisyphus] " Alex Murphy

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git