View previous topic :: View next topic |
Author |
Message |
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 6:54 pm Post subject: gentoo doesnt recognize my dvd drive [SOLVED] |
|
|
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 |
|
|
MaximeG l33t
Joined: 15 Apr 2008 Posts: 722 Location: Belgium
|
Posted: Mon Jun 22, 2009 7:02 pm Post subject: |
|
|
Hi,
Do you have the drive in /dev/* ?
Regards,
Maxime _________________ Future is wide open. |
|
Back to top |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 7:05 pm Post subject: |
|
|
no it doesnt appear anywhere |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9883 Location: almost Mile High in the USA
|
Posted: Mon Jun 22, 2009 7:06 pm Post subject: |
|
|
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 |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 7:09 pm Post subject: |
|
|
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 |
|
|
MaximeG l33t
Joined: 15 Apr 2008 Posts: 722 Location: Belgium
|
Posted: Mon Jun 22, 2009 7:09 pm Post subject: |
|
|
Hi,
What kernel version are you running ?
Maxime _________________ Future is wide open. |
|
Back to top |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 7:12 pm Post subject: |
|
|
my kernel is 2.6.29-r5
you can see my config above |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9883 Location: almost Mile High in the USA
|
Posted: Mon Jun 22, 2009 7:15 pm Post subject: |
|
|
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 |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 7:18 pm Post subject: |
|
|
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 |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 7:25 pm Post subject: |
|
|
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 |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Mon Jun 22, 2009 7:39 pm Post subject: |
|
|
i unselected all pata options and recompiled again, but sill the same
any ideas??? |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Jun 23, 2009 7:07 am Post subject: |
|
|
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 |
|
|
MaximeG l33t
Joined: 15 Apr 2008 Posts: 722 Location: Belgium
|
Posted: Tue Jun 23, 2009 7:08 am Post subject: |
|
|
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 He already answered
Regards,
Maxime _________________ Future is wide open. |
|
Back to top |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Tue Jun 23, 2009 5:29 pm Post subject: |
|
|
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 |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Tue Jun 23, 2009 5:29 pm Post subject: |
|
|
anyway i will try updating to 2.6.30
thanks a lot |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Jun 23, 2009 8:04 pm Post subject: |
|
|
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 |
|
|
S.R.Winograd n00b
Joined: 22 Jun 2009 Posts: 10
|
Posted: Tue Jun 23, 2009 10:29 pm Post subject: |
|
|
IT WORKED!
here is my /var/log/dmesg
thanks, i really appreciate your help, you are really good |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Jun 24, 2009 6:24 am Post subject: |
|
|
You are most welcome.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
oxEz Tux's lil' helper
Joined: 18 May 2004 Posts: 115
|
Posted: Wed Jul 01, 2009 6:16 am Post subject: |
|
|
Thanks pappy. With that kernel module site I also managed to get my cd / dvd drive detected. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Jul 01, 2009 6:17 am Post subject: |
|
|
You're welcome.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
|