ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Михаил Шувалов" <mike@shuvaloffs.org>
To: community@lists.altlinux.org
Subject: [Comm] не запускается xsane из под мользователя
Date: Wed, 29 Apr 2009 00:13:27 +0400
Message-ID: <1240949607.8196.22.camel@localhost.localdomain> (raw)

Добрый вечер!

Долго не пользовался сканером и вот понадобилось отсканировать
изображения. Запускаю xsane из под _обычного_ пользователя и на стадии
поиска устройств получаю ошибку

FATAL: Could not
load /lib/modules/2.6.25-std-def-alt8.M41.4/modules.dep: Permission
denied
FATAL: Could not
load /lib/modules/2.6.25-std-def-alt8.M41.4/modules.dep: Permission
denied
FATAL: Could not
load /lib/modules/2.6.25-std-def-alt8.M41.4/modules.dep: Permission
denied

Запускаю от рута. Ругнувшись, что из под суперпользователя, xsane таки
запустилась. Начинаю смотреть права и вижу, что на /lib/modules стоит
700. Ставлю 755, в надежде, что все вылечится, но опять ошибка

FATAL: Error inserting lp
(/lib/modules/2.6.25-std-def-alt8.M41.4/kernel/drivers/char/lp.ko):
Operation not permitted

Смотрю права доступа lp.ko - 644. 

Похоже, что дело не в правах доступа к lp.ko, а что-то еще.

Кто подскажет в чем проблема? Где что крутить?

Система 4.1.1 обновленная до бранча 4

$ uname -r
2.6.25-std-def-alt8.M41.4

$ rpm -qa | grep xsane
xsane-gimp2-0.995-alt1
xsane-0.995-alt1
xsane-doc-0.995-alt1

И фрагмент messages

Apr 29 00:01:03 mikes-ws rmmod: ERROR: Module lp does not exist
in /proc/modules 
Apr 29 00:01:03 mikes-ws rmmod: ERROR: Removing 'parport_pc': Operation
not permitted 
Apr 29 00:01:03 mikes-ws rmmod: ERROR: Module ppdev does not exist
in /proc/modules 
Apr 29 00:01:03 mikes-ws rmmod: ERROR: Module parport is in use by
parport_pc 


$ cat /proc/modules | grep lp
usblp 18816 0 - Live 0xf989d000
usbcore 150896 8
usbhid,usblp,gspca_spca561,gspca_main,hci_usb,uhci_hcd,ehci_hcd, Live
0xf9776000

-- 
С уважением,
Михаил Шувалов



             reply	other threads:[~2009-04-28 20:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28 20:13 Михаил Шувалов [this message]
2009-04-29  4:27 ` Константин Михайленко
2009-04-29  9:59   ` Михаил Шувалов
2009-04-29 10:11     ` Alexander Volkov
2009-04-29 11:00       ` Михаил Шувалов
2009-04-29 11:46         ` Alexander Volkov
2009-04-29 17:27           ` Михаил Шувалов
2009-04-30  6:19             ` Sergey Vlasov
2009-04-29 17:50       ` Михаил Шувалов
2009-04-30  5:55         ` Alexander Volkov
2009-04-30  6:31           ` Михаил Шувалов
2009-04-30  7:13             ` Alexander Volkov
2009-04-30 12:37               ` Михаил Шувалов
2009-04-30  6:55         ` Sergey Shilov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1240949607.8196.22.camel@localhost.localdomain \
    --to=mike@shuvaloffs.org \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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