Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrom recognized but no device [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
s.o.l.a.r.i.s
n00b
n00b


Joined: 24 Dec 2003
Posts: 41

PostPosted: Tue Jun 20, 2006 10:25 pm    Post subject: cdrom recognized but no device [solved] Reply with quote

Hello,

I am having a little problem with my writemaster DVD writer (IDE). It is connected to a Promise IDE controller as well as the Hd which works fine. dmesg tells me:

Code:

Probing IDE interface ide2...
hde: Maxtor 6K040L0, ATA DISK drive
ide2 at 0xc800-0xc807,0xcc02 on irq 11
Probing IDE interface ide3...
hdh: TSSTcorpCD/DVDW SH-S162A, ATAPI CD/DVD-ROM drive
ide3 at 0xd000-0xd007,0xd402 on irq 11
Probing IDE interface ide0...
Probing IDE interface ide1...
hde: max request size: 128KiB
hde: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hde: cache flushes supported
 hde: hde1 hde2 hde3 hde4
hdh: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20


So it seems that the drive is being recognized and the driver is being loaded. Even a device /dev/hdh is assigned, but when the boot is complete, there is no device file called hdh:

Code:

localhost ~ # ls -l /dev/hd*
brw-rw---- 1 root disk 33, 0 Jun 21  2006 /dev/hde
brw-rw---- 1 root disk 33, 1 Jun 21  2006 /dev/hde1
brw-rw---- 1 root disk 33, 2 Jun 21  2006 /dev/hde2
brw-rw---- 1 root disk 33, 3 Jun 21  2006 /dev/hde3
brw-rw---- 1 root disk 33, 4 Jun 21  2006 /dev/hde4
localhost ~ #       


I am confused, does anyone know how to solve this? Any ideas?

Thanks,

Sol


Last edited by s.o.l.a.r.i.s on Wed Jun 21, 2006 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
The Sentinel
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2002
Posts: 76

PostPosted: Wed Jun 21, 2006 2:38 am    Post subject: Reply with quote

Perhaps udev isn't fully populating the /dev directory.

I'm not in front of a Gentoo box at the moment as I am at work.
Can someone else pehaps post the major and minor device numbers for the cdrom device.
S.o.l.a.r.i.s. can then try creating the device file manually with the mknod command.

This will at least verify the kernel is talking to the device.
_________________
who | grep -i blonde | talk; cd ~; wine; talk; touch; unzip; touch; strip; gasp; finger; mount; fsck; more; yes; gasp; umount; make clean; sleep
__________________________
#find / -user your -name base -exec "chown us $"
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Wed Jun 21, 2006 3:10 am    Post subject: Reply with quote

Try this to manually create the device nodes:
Code:

# cd /dev
# MAKEDEV hdh

That will create all the /dev/hdh* device nodes. Try accessing your drive now.

You might check to see if udev is even running:
Code:

# ps -ef | grep udev
root     17387     1  0 Jun08 ?        00:00:00 /sbin/udevd --daemon




troymc
Back to top
View user's profile Send private message
s.o.l.a.r.i.s
n00b
n00b


Joined: 24 Dec 2003
Posts: 41

PostPosted: Wed Jun 21, 2006 8:01 pm    Post subject: Reply with quote

Worked like a charm, thanks
Back to top
View user's profile Send private message
phate
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 298
Location: Aachen, Germany

PostPosted: Mon Jul 10, 2006 4:26 pm    Post subject: Reply with quote

I had a analog problem and solved it with this thread. My CD-Drive is accessable at /dev/hdc, but I have no /dev/cdrom device. Is it possible to solve this? Sure, I could append "ln -s /dev/hdc /dev/cdrom" to my /etc/conf.d/local.start, but it wouldn't be nice :)
Back to top
View user's profile Send private message
gabkdlly
n00b
n00b


Joined: 04 Jul 2004
Posts: 34
Location: Berlin, Germany

PostPosted: Fri Nov 10, 2006 5:49 pm    Post subject: Reply with quote

hey solaris

have you had any luck with this drive and DVD-RAM media?

thanks,

gabriel

EDIT: I have started a new topic to go into greater detail as to the trouble I am having.
https://forums.gentoo.org/viewtopic-t-515364-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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