Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrom not found (with udev)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Bor81
n00b
n00b


Joined: 31 Aug 2003
Posts: 65
Location: Kyiv, UA

PostPosted: Fri Aug 19, 2005 9:41 am    Post subject: cdrom not found (with udev) Reply with quote

п═п╟п╫я▄я┬п╣ я│п╦п╢п╣п╩ п╫п╟ 2.6.12-gentoo-r4 я│ devfs
п©я─п╦ п©п╣я─п╣я┘п╬п╢п╣ п╫п╟ п╠п╬п╩п╣п╣ п╫п╬п╡я▀п╧ я▐п╢я─п╟ я│ udev (я│п╬п╠п╦я─п╟я▌ genkernel'п╬п╪)
п╦я│я┤п╣п╥ cdrom

п╣я│я┌я▄

Code:


# dmesg | grep hdc
    ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdc:DMA, hdd:pio
hdc: DW-224E-A, ATAPI CD/DVD-ROM drive

# cat /etc/fstab | grep hdc
/dev/hdc            /media/cdrom    iso9660             noauto,ro,user          0 0

# ll /proc/ide/
total 2
-r--r--r--  1 root root 0 п░п╡пЁ 19 12:36 drivers
lrwxrwxrwx  1 root root 8 п░п╡пЁ 19 12:36 hda -> ide0/hda
lrwxrwxrwx  1 root root 8 п░п╡пЁ 19 12:36 hdc -> ide1/hdc
dr-xr-xr-x  3 root root 0 п░п╡пЁ 19 12:36 ide0
dr-xr-xr-x  3 root root 0 п░п╡пЁ 19 12:36 ide1

# ll /proc/sys/dev/cdrom/info
ls: /proc/sys/dev/cdrom/info: No such file or directory

# ll /dev/hdc /dev/cdrom
ls: /dev/hdc: No such file or directory
ls: /dev/cdrom: No such file or directory

# cat /etc/udev/rules.d/50-udev.rules | grep hd
BUS=="ide",     KERNEL=="hd[a-z]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode"
KERNEL=="hd*[!0-9]", IMPORT="/sbin/ata_id --export $tempnode"
KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"


п©п╬п╢я│п╟п╤п╦я┌п╣ п╨я┐п╢п╟ п╨п╬п©п╟я┌я▄ ?

п≈п╚:
п©я─п╬п╠п╬п╡п╟п╩
я▐п╢я─п╟ 2.6.12-gentoo-r7(-9)
udev-066(-068)
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Fri Aug 19, 2005 9:55 am    Post subject: Re: cdrom not found (with udev) Reply with quote

Bor81 wrote:
Раньше сидел на 2.6.12-gentoo-r4 с devfs
при переходе на более новый ядра с udev (собираю genkernel'ом)
исчез cdrom

есть

Code:


# dmesg | grep hdc
    ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdc:DMA, hdd:pio
hdc: DW-224E-A, ATAPI CD/DVD-ROM drive

# cat /etc/fstab | grep hdc
/dev/hdc            /media/cdrom    iso9660             noauto,ro,user          0 0

# ll /proc/ide/
total 2
-r--r--r--  1 root root 0 Авг 19 12:36 drivers
lrwxrwxrwx  1 root root 8 Авг 19 12:36 hda -> ide0/hda
lrwxrwxrwx  1 root root 8 Авг 19 12:36 hdc -> ide1/hdc
dr-xr-xr-x  3 root root 0 Авг 19 12:36 ide0
dr-xr-xr-x  3 root root 0 Авг 19 12:36 ide1

# ll /proc/sys/dev/cdrom/info
ls: /proc/sys/dev/cdrom/info: No such file or directory

# ll /dev/hdc /dev/cdrom
ls: /dev/hdc: No such file or directory
ls: /dev/cdrom: No such file or directory

# cat /etc/udev/rules.d/50-udev.rules | grep hd
BUS=="ide",     KERNEL=="hd[a-z]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode"
KERNEL=="hd*[!0-9]", IMPORT="/sbin/ata_id --export $tempnode"
KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"


подсажите куда копать ?

ЗЫ:
пробовал
ядра 2.6.12-gentoo-r7(-9)
udev-066(-068)

Переводчик типа :lol:
Кодировка форума KOI8-R

P.S. Сегодня ставлю 2.6.13 ядро, посмотрю че там творится :) Сам сейчас еще на devfsd
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
rusxakep
Guru
Guru


Joined: 09 Jul 2004
Posts: 458
Location: Moscow, Russia

PostPosted: Fri Aug 19, 2005 10:05 am    Post subject: Reply with quote

modprobe ide-cd, попробуй
Back to top
View user's profile Send private message
Bor81
n00b
n00b


Joined: 31 Aug 2003
Posts: 65
Location: Kyiv, UA

PostPosted: Fri Aug 19, 2005 11:10 am    Post subject: Reply with quote

спасибо помогло
и как сам не догадался :oops:

ЗЫ: за кодировку сорри
думал уже на UTF-8 перешли :roll:
Back to top
View user's profile Send private message
rusxakep
Guru
Guru


Joined: 09 Jul 2004
Posts: 458
Location: Moscow, Russia

PostPosted: Mon Aug 22, 2005 6:13 am    Post subject: Reply with quote

Всегда пожалуйста. Если сидюк у тебя постоянно используется - вкомпиль его в ядро. Или же - добавь в /etc/modules.autoload/

А по-поводу кодировки - об этом думаю будет сообщено дополнительно и ты сразу это узнаешь :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum