ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] M2.2 can't install plip module
@ 2003-12-11  7:31 Slava Garelin
  2003-12-11  7:44 ` Sergey Vlasov
  0 siblings, 1 reply; 7+ messages in thread
From: Slava Garelin @ 2003-12-11  7:31 UTC (permalink / raw)
  To: AltCommunity

Привет всем!

При попытке загрузить plip модуль, имею:

# modprobe plip
sh: line 1: /proc/parport/0/irq: No such file or directory
modprobe: pre-install plip failed
modprobe: insmod plip failed

Неудивительно, в общем, оно-то лежит в /proc/sys/dev/parport/parport0

Вот фрагмент strace вывода:

=========================

query_module("reiserfs", QM_INFO, {address=0xc16c0000, size=165440,
flags=MOD_RU
NNING|MOD_VISITED|MOD_USED_ONCE, usecount=11}, 16) = 0
brk(0x80b9000)                          = 0x80b9000
chdir("/var/log/ksymoops")              = -1 ENOENT (No such file or
directory) rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
fork()                                  = 27796
wait4(27796, sh: line 1: /proc/parport/0/irq: No such file or directory
[WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 27796
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "modprobe: ", 10modprobe: )              = 10
write(2, "pre-install plip failed", 23pre-install plip failed) = 23
write(2, "\n", 1
)                       = 1

=======================

Думал, патчик накропать для  plip.c, но там не нашел, что-то ничего с
путями связанного. Ковыряние в исходниках ядра в drivers/parport/ тоже
не просветлило. Направьте на путь истинный, плз., где править?


-- 
Slava Garelin


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

* Re: [Comm] M2.2 can't install plip module
  2003-12-11  7:31 [Comm] M2.2 can't install plip module Slava Garelin
@ 2003-12-11  7:44 ` Sergey Vlasov
  2003-12-11  8:18   ` Slava Garelin
  0 siblings, 1 reply; 7+ messages in thread
From: Sergey Vlasov @ 2003-12-11  7:44 UTC (permalink / raw)
  To: AltCommunity

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

On Thu, Dec 11, 2003 at 09:31:23AM +0200, Slava Garelin wrote:
> При попытке загрузить plip модуль, имею:
> 
> # modprobe plip
> sh: line 1: /proc/parport/0/irq: No such file or directory
> modprobe: pre-install plip failed
> modprobe: insmod plip failed
> 
> Неудивительно, в общем, оно-то лежит в /proc/sys/dev/parport/parport0

Нужно чинить /etc/modules.conf - этот путь прописани именно там.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] M2.2 can't install plip module
  2003-12-11  7:44 ` Sergey Vlasov
@ 2003-12-11  8:18   ` Slava Garelin
  2003-12-11  8:46     ` Sergey Vlasov
  2003-12-11  8:50     ` Andrey Rahmatullin
  0 siblings, 2 replies; 7+ messages in thread
From: Slava Garelin @ 2003-12-11  8:18 UTC (permalink / raw)
  To: community

On Thu, 11 Dec 2003 10:44:34 +0300
Sergey Vlasov <vsu@altlinux.ru> wrote:

> On Thu, Dec 11, 2003 at 09:31:23AM +0200, Slava Garelin wrote:
> > При попытке загрузить plip модуль, имею:
> > 
> > # modprobe plip
> > sh: line 1: /proc/parport/0/irq: No such file or directory
> > modprobe: pre-install plip failed
> > modprobe: insmod plip failed
> > 
> > Неудивительно, в общем, оно-то лежит в
> > /proc/sys/dev/parport/parport0
> 
> Нужно чинить /etc/modules.conf - этот путь прописани именно там.
> 

Простите, я может чего недопонял, 
Но вот он:

# cat /etc/modules.conf
pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-uhci
above snd-pcm-oss snd-mixer-oss
alias sound-slot-0 snd-intel8x0
above snd-intel8x0 snd-pcm-oss
alias eth0 eepro100
alias char-major-89 i2c-dev


Что чинить?

-- 
Slava Garelin


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

* Re: [Comm] M2.2 can't install plip module
  2003-12-11  8:18   ` Slava Garelin
@ 2003-12-11  8:46     ` Sergey Vlasov
  2003-12-11 11:19       ` Slava Garelin
  2003-12-11  8:50     ` Andrey Rahmatullin
  1 sibling, 1 reply; 7+ messages in thread
From: Sergey Vlasov @ 2003-12-11  8:46 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

On Thu, Dec 11, 2003 at 10:18:04AM +0200, Slava Garelin wrote:
> On Thu, 11 Dec 2003 10:44:34 +0300
> Sergey Vlasov <vsu@altlinux.ru> wrote:
> 
> > On Thu, Dec 11, 2003 at 09:31:23AM +0200, Slava Garelin wrote:
> > > При попытке загрузить plip модуль, имею:
> > > 
> > > # modprobe plip
> > > sh: line 1: /proc/parport/0/irq: No such file or directory
> > > modprobe: pre-install plip failed
> > > modprobe: insmod plip failed
> > > 
> > > Неудивительно, в общем, оно-то лежит в
> > > /proc/sys/dev/parport/parport0
> > 
> > Нужно чинить /etc/modules.conf - этот путь прописани именно там.
> > 
> 
> Простите, я может чего недопонял, 
> Но вот он:
> 
> # cat /etc/modules.conf
> pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
> alias usb-interface usb-uhci
> above snd-pcm-oss snd-mixer-oss
> alias sound-slot-0 snd-intel8x0
> above snd-intel8x0 snd-pcm-oss
> alias eth0 eepro100
> alias char-major-89 i2c-dev
> 
> 
> Что чинить?

А, его же тогда уже перестали туда пихать...

/lib/modutils/macros

http://bugzilla.altlinux.ru/show_bug.cgi?id=2784

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] M2.2 can't install plip module
  2003-12-11  8:18   ` Slava Garelin
  2003-12-11  8:46     ` Sergey Vlasov
@ 2003-12-11  8:50     ` Andrey Rahmatullin
  2003-12-11 11:22       ` Slava Garelin
  1 sibling, 1 reply; 7+ messages in thread
From: Andrey Rahmatullin @ 2003-12-11  8:50 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

On Thu, Dec 11, 2003 at 10:18:04AM +0200, Slava Garelin wrote:

[...]
> > Нужно чинить /etc/modules.conf - этот путь прописани именно там.
> > 
> 
> Простите, я может чего недопонял, 
> Но вот он:
> 
> # cat /etc/modules.conf
> pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
> alias usb-interface usb-uhci
> above snd-pcm-oss snd-mixer-oss
> alias sound-slot-0 snd-intel8x0
> above snd-intel8x0 snd-pcm-oss
> alias eth0 eepro100
> alias char-major-89 i2c-dev
> 
> 
> Что чинить?
Тогда /etc/modutils.d/parport

-- 
> я ведь могу написать такой скрипт, что он полсизифа за собой потянет
> в качестве зависимостей
Действующая система определения зависимостей, в частности, следит за тем,
чтобы вы не написали такой скрипт незаметно для окружающих.
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] M2.2 can't install plip module
  2003-12-11  8:46     ` Sergey Vlasov
@ 2003-12-11 11:19       ` Slava Garelin
  0 siblings, 0 replies; 7+ messages in thread
From: Slava Garelin @ 2003-12-11 11:19 UTC (permalink / raw)
  To: community

On Thu, 11 Dec 2003 11:46:00 +0300
Sergey Vlasov <vsu@altlinux.ru> wrote:

> > Что чинить?
> 
> А, его же тогда уже перестали туда пихать...
> 
> /lib/modutils/macros
> 
> http://bugzilla.altlinux.ru/show_bug.cgi?id=2784

Ага, неплохо-бы перед написанием в конфу заглядывать в багзиллу... :(
Спасибо большое!
Сожалею о причиненном беспокойстве.


-- 
Slava Garelin


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

* Re: [Comm] M2.2 can't install plip module
  2003-12-11  8:50     ` Andrey Rahmatullin
@ 2003-12-11 11:22       ` Slava Garelin
  0 siblings, 0 replies; 7+ messages in thread
From: Slava Garelin @ 2003-12-11 11:22 UTC (permalink / raw)
  To: community

On Thu, 11 Dec 2003 13:50:04 +0500
Andrey Rahmatullin <wrar@altlinux.ru> wrote:

> > 
> > Что чинить?
> Тогда /etc/modutils.d/parport

Спасибо Вам за участие, но Сергей Власов уже указал мне на
соответствующий топик в багзилле:

http://bugzilla.altlinux.ru/show_bug.cgi?id=2784


-- 
Slava Garelin


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

end of thread, other threads:[~2003-12-11 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-11  7:31 [Comm] M2.2 can't install plip module Slava Garelin
2003-12-11  7:44 ` Sergey Vlasov
2003-12-11  8:18   ` Slava Garelin
2003-12-11  8:46     ` Sergey Vlasov
2003-12-11 11:19       ` Slava Garelin
2003-12-11  8:50     ` Andrey Rahmatullin
2003-12-11 11:22       ` Slava Garelin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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