Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo doesnt recognize my dvd drive [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.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 6:54 pm    Post subject: gentoo doesnt recognize my dvd drive [SOLVED] Reply with quote

i cant get my dvd drive detected, i think its not a problem of udev, because it doesnt appear in /sys/block nor in the dmesg log.
its ATAPI DVD A DH20A4P ATA and its connected in the first slot as master.
it works with Windows and even with the gentoo liveCD, so i think is probably kernel configuration, but after trying lots of different options i cant get it to work.

here is my /proc/config.gz
and /var/log/dmesg

thank you


Last edited by S.R.Winograd on Wed Jun 24, 2009 4:44 pm; edited 3 times in total
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Jun 22, 2009 7:02 pm    Post subject: Reply with quote

Hi,

Do you have the drive in /dev/* ?

Regards,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 7:05 pm    Post subject: Reply with quote

no it doesnt appear anywhere
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9883
Location: almost Mile High in the USA

PostPosted: Mon Jun 22, 2009 7:06 pm    Post subject: Reply with quote

What motherboard do you have? Run lspci to get more information of what IDE devices you have?

Typically newer SATA boards have a separate chip to handle PATA devices, and perhaps you don't have the driver compiled. I've seen a lot of boards with JMicron PATA chips... but this is board dependent.

Oh and one more thing, it should be fine to use just the libata or just the pata drivers. It looked like you were compiling both into the kernel... With just the libata drivers you should just see /dev/sd* for your disks and /dev/sr* for your opticals.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?


Last edited by eccerr0r on Mon Jun 22, 2009 7:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 7:09 pm    Post subject: Reply with quote

Code:
localhost juan # lspci -v | grep IDE
00:08.0 IDE interface: nVidia Corporation MCP73 IDE (rev a1) (prog-if 8a [Master SecP PriP])
00:0e.0 IDE interface: nVidia Corporation Device 07f0 (rev a2) (prog-if 85 [Master SecO PriO])

my motherboard is Gigabyte GA-73VM-S2
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Jun 22, 2009 7:09 pm    Post subject: Reply with quote

Hi,

What kernel version are you running ?

Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 7:12 pm    Post subject: Reply with quote

my kernel is 2.6.29-r5
you can see my config above
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9883
Location: almost Mile High in the USA

PostPosted: Mon Jun 22, 2009 7:15 pm    Post subject: Reply with quote

CONFIG_SATA_NV is not set?
(Also see above for note about multiple IDE subsystems compiled in)
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 7:18 pm    Post subject: Reply with quote

oh thank you, i hadnt noticed that option
im recompiling

about the different drivers, i tried that when i couldnt get it woring
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 7:25 pm    Post subject: Reply with quote

i recompiled with CONFIG_SATA_NV=y BLK_DEV_IDE_SATA=n and rebooted into the new kernel, but still the drive doest appear in /dev or in /sys

the links above are updated for the new configuration
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Mon Jun 22, 2009 7:39 pm    Post subject: Reply with quote

i unselected all pata options and recompiled again, but sill the same

any ideas???
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Jun 23, 2009 7:07 am    Post subject: Reply with quote

Post your /etc/fstab file and the results of lspci -n and cat /proc/cpuinfo. I'll find the cause.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Tue Jun 23, 2009 7:08 am    Post subject: Reply with quote

Oops, sorry.

I had the same (DVD Drive not recognized).
I updated to 2.6.30 and configured it from scratch, and it worked.

Don't know exactly what I did with *.30 and what I forget with *.29, but it looks like the default options with *.30 works fine for DVD's.
Otherwise, you can try and message pappy_mcfae as he is our Kernel Guru.

[EDIT] Ah.. too late :D He already answered

Regards,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Tue Jun 23, 2009 5:29 pm    Post subject: Reply with quote

sorry i didnt reply earlier, i went to sleep when noboby awnsered and just arrived from college

here is my /etc/fstab
Quote:

/dev/sda3 /boot ext2 defaults,noatime 1 2
/dev/sda6 / ext3 noatime 0 1
/dev/sda5 none swap sw 0 0

#/dev/cdrom /mnt/cdrom auto noauto,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

/dev/sda1 /windows ntfs rw,user 0 0


/proc/cpuinfo
Quote:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
stepping : 13
cpu MHz : 2200.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 4400.04
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
stepping : 13
cpu MHz : 2200.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 4399.68
clflush size : 64
power management:


and
Code:

localhost juan # lspci -n
00:00.0 0600: 10de:07c3 (rev a2)
00:00.1 0500: 10de:07cb (rev a2)
00:01.0 0500: 10de:07cd (rev a1)
00:01.1 0500: 10de:07ce (rev a1)
00:01.2 0500: 10de:07cf (rev a1)
00:01.3 0500: 10de:07d0 (rev a1)
00:01.4 0500: 10de:07d1 (rev a1)
00:01.5 0500: 10de:07d2 (rev a1)
00:01.6 0500: 10de:07d3 (rev a1)
00:02.0 0500: 10de:07d6 (rev a1)
00:03.0 0601: 10de:07d7 (rev a2)
00:03.1 0c05: 10de:07d8 (rev a1)
00:03.2 0500: 10de:07d9 (rev a1)
00:03.4 0500: 10de:07c8 (rev a1)
00:04.0 0c03: 10de:07fe (rev a1)
00:04.1 0c03: 10de:056a (rev a1)
00:08.0 0101: 10de:056c (rev a1)
00:09.0 0403: 10de:07fc (rev a1)
00:0a.0 0604: 10de:056d (rev a1)
00:0b.0 0604: 10de:056e (rev a1)
00:0c.0 0604: 10de:056f (rev a1)
00:0d.0 0604: 10de:056f (rev a1)
00:0e.0 0101: 10de:07f0 (rev a2)
00:0f.0 0200: 10de:07dc (rev a2)
02:00.0 0300: 10de:0611 (rev a2)
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Tue Jun 23, 2009 5:29 pm    Post subject: Reply with quote

anyway i will try updating to 2.6.30

thanks a lot
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Jun 23, 2009 8:04 pm    Post subject: Reply with quote

I changed the IDE drivers. While there are other issues with your kernel, for the moment, I want to make sure that things work before I get into making a new .config for you.

Click here for your new .config. Compile as is.

For the best results, please do the following:
1) Move your .config file out of your kernel source directory (/usr/src/linux- ).
2) Issue the command make mrproper. This is a destructive step. It returns the source to pristine condition. Unmoved .config files will be deleted!
3) Copy my .config into your source directory.
4) Issue the command make && make modules_install.
5) Install the kernel as you normally would, and reboot.
6) Once it boots, please post /var/log/dmesg so I can see how things loaded.

If it works out, I'll set you up with a seed kernel.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
S.R.Winograd
n00b
n00b


Joined: 22 Jun 2009
Posts: 10

PostPosted: Tue Jun 23, 2009 10:29 pm    Post subject: Reply with quote

IT WORKED!

here is my /var/log/dmesg

thanks, i really appreciate your help, you are really good
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Jun 24, 2009 6:24 am    Post subject: Reply with quote

You are most welcome.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
oxEz
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2004
Posts: 115

PostPosted: Wed Jul 01, 2009 6:16 am    Post subject: Reply with quote

Thanks pappy. With that kernel module site I also managed to get my cd / dvd drive detected.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Jul 01, 2009 6:17 am    Post subject: Reply with quote

You're welcome.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
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