View previous topic :: View next topic |
Author |
Message |
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Tue Jul 03, 2007 6:28 pm Post subject: X lags and hogs CPU when playing a DVD [SOLVED!] |
|
|
For some reason, X starts lagging and takes up a huge amount of CPU power when playing a DVD (thus making the mouse and DVD badly lag)
The computer is a Dell E1505N laptop with Intel Core 2 Duo T5200 and NVidia GeForce Go 7300. When it ran Ubuntu, the DVDs played fine (even with wobbly windows) My other computer, Athlon XP (1.8 GHZ) also running Gentoo, with a pretty much similar setup, works fine.
Anyone know what could be the cause?
Thanks for your support!
Edit: Title change _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Last edited by Etal on Sat Jul 07, 2007 1:39 am; edited 2 times in total |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Tue Jul 03, 2007 7:07 pm Post subject: Re: X lags and hogs CPU when playing a DVD |
|
|
AM088 wrote: | For some reason, X starts lagging and takes up a huge amount of CPU power when playing a DVD (thus making the mouse and DVD badly lag)
The computer is a Dell E1505N laptop with Intel Core 2 Duo T5200 and NVidia GeForce Go 7300. When it ran Ubuntu, the DVDs played fine (even with wobbly windows) My other computer, Athlon XP (1.8 GHZ) also running Gentoo, with a pretty much similar setup, works fine.
Anyone know what could be the cause?
Thanks for your support! |
I happened to notice in your screen cap that you have two mplayers running. It is possible the first one was hogging the hardware acceleration so your current movie is using software rendering. And Software rendering shouldn't really take that much CPU, but might depending on your configuration.
Other than that we need more information.
Can you type this and show us the output?
Code: | glxinfo | grep -i direct
lsmod
lspci
emerge --info |
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
smasher Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Tue Jul 03, 2007 7:33 pm Post subject: |
|
|
You may want to check and see if DMA is enabled on your DVD drive. See sys-apps/hdparm. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Tue Jul 03, 2007 11:36 pm Post subject: Re: X lags and hogs CPU when playing a DVD |
|
|
RayDude wrote: | Can you type this and show us the output?
Code: | # glxinfo | grep -i direct
direct rendering: Yes
# lsmod
Module Size Used by
ipw3945 203108 1
nvidia 4541460 12
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 110M / GeForce Go 7300 (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
# emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 03 Jul 2007 14:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.osuosl.org/pub/gentoo ftp://mirror.switch.ch/mirror/gentoo ftp://mirror.mcs.anl.gov/pub/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/tree"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo fam fame ffmpeg firefox flac foomaticdb fortran gdbm gif gpm gstreamer gtk hal iconv imagemagick imlib isdnlog java jpeg kde kdeenablefinal kerberos libg++ lzo mad midi mikmod mmx mmxext mp3 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png pppd profile python qt qt3 qt3support quicktime readline real reflection samba sdl session slang sndfile speex spell spl sse sse2 ssl ssse3 svg tcpd theora threads tiff truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis wifi win32codecs wmf x264 x86 xcomposite xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
_________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Tue Jul 03, 2007 11:40 pm Post subject: |
|
|
smasher wrote: | You may want to check and see if DMA is enabled on your DVD drive. See sys-apps/hdparm. |
Hmmm... that's odd :
Code: | # hdparm /dev/hdc
/dev/hdc:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device
# hdparm -i /dev/hdc
/dev/hdc:
Model=HL-DT-ST DVD+/-RW GSA-T11N, FwRev=A103, SerialNo=KY5737E3942
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3: ATA/ATAPI-2,3,4,5
* signifies the current active mode
# hdparm -d1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off) |
But then if it was the DMA, why would X be hogging up 90% of the CPU? I have no Beryl, etc. _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
smasher Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Wed Jul 04, 2007 3:14 am Post subject: |
|
|
Quote: | # hdparm -d1 /dev/hdc
/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off) |
Did you try running it as root?
Quote: | But then if it was the DMA, why would X be hogging up 90% of the CPU? I have no Beryl, etc. |
Not sure... You could try different video drivers when using mplayer. See mplayer -vo help. |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Wed Jul 04, 2007 5:05 am Post subject: |
|
|
I don't see anything wrong. GLX working means the driver is totally functional so it can't be the driver.
I agree with smasher, post the output of mplayer when you run it from the command prompt. Lets see if its using XV or XVMC like its supposed to be.
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
jabol Apprentice
Joined: 05 Oct 2005 Posts: 269
|
Posted: Wed Jul 04, 2007 6:02 am Post subject: |
|
|
It's certainly the lack of DMA. I see it's a laptop you have. I have ICH7 chip also and also can't run DMA yet. It seems that the way disks are done in laptops with ICH7 chips are a bit unsported yet. I didn't get to eneble DMA with same chip yet, I try to sth. like 2.6.27 kernel... Well, there were some topics about that on forum already if you want to try luck. |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Wed Jul 04, 2007 8:09 am Post subject: |
|
|
X is taking the resource, not mplayer itself. I suspect its video / audio driver related. If mplayer is using X11 drawing, that would account for the high processor utilization.
As far as the DVD is concerned if you can't get DMA to run at least set the PIO mode as high as it will go.
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Fri Jul 06, 2007 7:51 pm Post subject: |
|
|
Sorry I didn't reply for a few days - I was away...
jabol wrote: | It's certainly the lack of DMA. I see it's a laptop you have. I have ICH7 chip also and also can't run DMA yet. It seems that the way disks are done in laptops with ICH7 chips are a bit unsported yet. I didn't get to eneble DMA with same chip yet, I try to sth. like 2.6.27 kernel... Well, there were some topics about that on forum already if you want to try luck. | Thanks, I'll try and see if I can find something about how to enable DMA, but then again, it worked fine under Ubuntu, and the lack DMA wouldn't cause X's CPU usage to surge...
smasher wrote: | Did you try running it as root? | I did
RayDude wrote: | I agree with smasher, post the output of mplayer when you run it from the command prompt. Lets see if its using XV or XVMC like its supposed to be. | Here's the output: Code: | $ mplayer dvd://
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing dvd://.
There are 17 titles on this DVD.
There are 32 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: fr aid: 129.
audio stream: 2 format: ac3 (stereo) language: es aid: 130.
audio stream: 3 format: ac3 (stereo) language: en aid: 131.
audio stream: 4 format: ac3 (stereo) language: en aid: 132.
audio stream: 5 format: ac3 (stereo) language: en aid: 133.
number of audio channels on disk: 6.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: fr
subtitle ( sid ): 2 language: es
number of subtitles on disk: 3
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12
A: 0.7 V: 0.6 A-V: 0.077 ct: 0.033 14/ 11 ??% ??% ??,?% 0 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
A: 77.0 V: 77.0 A-V: 0.012 ct: 0.127 1846/1843 12% 0% 3.8% 55 0
Exiting... (Quit) |
_________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Fri Jul 06, 2007 8:53 pm Post subject: |
|
|
I can't see anything wrong with the output of mplayer. I'll play a DVD tonight on my laptop to see what mplayer tells me and compare them.
For the heck of it could you try playing the DVD with xine and / or vlc?
I'm curious if they do a better job for you.
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Fri Jul 06, 2007 11:12 pm Post subject: |
|
|
Well, that complicated things a bit...
I emerged xine, and tried to watch a DVD. The movie still lags, and so does the mouse pointer. However, X does not take up any significant amount of CPU. Xine, however, does. It shows up as at least 6 processes in htop, and one takes up 30-40% and the second 20-30%. _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
pdr l33t
Joined: 20 Mar 2004 Posts: 618
|
Posted: Fri Jul 06, 2007 11:51 pm Post subject: |
|
|
Try adding a file ~/.mplayer/config with:
Code: | echo 'vo=xv' >> ~/.mplayer/config |
|
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Fri Jul 06, 2007 11:56 pm Post subject: |
|
|
Okay now I'm leaning toward /dev/hdc or its driver as the problem.
Try this:
Please note: substitute the drive device for your hard disk in this command.
Code: | hdparm -Tt /dev/hda |
Tell me how many megabytes per second its getting. I want to see if your hard drive is having speed issues as well or if its just limited to your DVD drive.
And I noticed in your hdparm /dev/hdc it says the dma is off, but when you did hdparm -i /dev/hdc the asterisk showed up next to udma2, like you'd expect. That's very strange.
Here's another weak idea:
Do you have any pci cards in this machine? Something unusual? Try pulling it out temporarily and see if this is some sort of shared interrupt problem. If you remove the card and the drive runs fast then you might be able to set the interrupts by hand in the bios and get around the software driver glitch that's causing the problems.
You could also try a different kernel. I'm running 2.6.21 and its pretty stable, even if a bit laggy occasionally. I have to use it because I have devices that aren't supported by older kernels.
One last thought, try another DVD just for the heck of it. Maybe that one has a nasty old scratch on it...
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Sat Jul 07, 2007 12:39 am Post subject: |
|
|
It was the DMA and the funky ICH7 chip!!!
I googled for "ICH7 DMA DVD" and found this page:
http://thomer.com/howtos/dma_on_sata_dvd.html
I adjusted my kernel configuration:
menuconfig: |
Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
[*] Use multi-mode by default
<*> Include IDE/ATAPI CDROM support
<*> generic/default IDE chipset support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
<*> Generic PCI IDE Chipset Support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> Intel PIIXn chipsets support |
... and added:
Code: | libata.atapi_enabled=1 combined_mode=libata |
... at the end of the kernel line in grub.conf
After that, /dev/hdc became replaced by /dev/sr0, and running Code: | mplayer dvd:// -dvd-device /dev/sr0 | ... runs perfectly well!!!
The only problem now is that /dev/dvd is no longer there - to play I must set the dvd device: Code: | $ mplayer dvd://
<snip>
Playing dvd://.
libdvdread: Can't stat /dev/dvd
No such file or directory
Couldn't open DVD device: /dev/dvd
No stream found to handle url dvd://
Exiting... (End of file) |
Xine also complains. How do I make /dev/dvd point at /dev/sr0? Right now /dev/dvd does not exist: Code: | $ ls -al /dev/dvd*
lrwxrwxrwx 1 root root 3 Jul 6 15:53 /dev/dvd1 -> sr0
lrwxrwxrwx 1 root root 3 Jul 6 15:53 /dev/dvdrw1 -> sr0 | I'd guess I have to somehow tell udev that there is no /dev/hdc, and /dev/dvd shouldn't be reserved, but I don't know how.
Thanks! _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Sat Jul 07, 2007 12:54 am Post subject: |
|
|
Good find!
If I understand correctly, you are using the scsi serial ata -> parallel ata drivers in the new kernel, right?
If so you then you should be able to disable the old parallel drivers and that should free up udev to figure out that sr0 is /dev/dvd.
I have this enabled on my ata dvd drive in my laptop and it works fine.
Its cool you found the problem, maybe someone who has this problem will find this thread and have a "Eureka!" moment.
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Sat Jul 07, 2007 1:34 am Post subject: |
|
|
Found it: udev wries the rules for the cdrom in /etc/udev/rules.d/70-persistent-cd.rules
I commented out the rules for the "old" cdrom and removed the "1"s from the rules for the "new" cdrom, and now everything is working as it is supposed to be!
Thanks everyone for your support! _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Sat Jul 07, 2007 1:38 am Post subject: |
|
|
RayDude wrote: | Good find!
If I understand correctly, you are using the scsi serial ata -> parallel ata drivers in the new kernel, right?
If so you then you should be able to disable the old parallel drivers and that should free up udev to figure out that sr0 is /dev/dvd.
| That's why I said the ICH7 chip was funky. It still requires the IDE drivers for the cdrom.
RayDude wrote: |
Its cool you found the problem, maybe someone who has this problem will find this thread and have a "Eureka!" moment.
|
Happened to me quite a few times before, so that's why I always try make a detailed description of the solution
Now, time to watch the movie... _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1931
|
Posted: Tue Jul 17, 2007 4:21 pm Post subject: |
|
|
UPDATE: If you have kernel 2.6.22+, you should not follow the steps above (in fact, if you have a problem and you found this thread, I recommend you upgrade the kernel)
For everything to work properly, make sure you have the old ATA drivers disabled:
Code: | Device Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
<*> AHCI SATA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
|
No need for any additional arguments in the kernel line anymore! _________________ “And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010 |
|
Back to top |
|
|
andriy155 n00b
Joined: 05 Feb 2006 Posts: 65 Location: Kyiv, Ukraine
|
Posted: Tue Jul 31, 2007 4:34 am Post subject: |
|
|
Great! Thank you so much. You helped a lot! Hopefully kernel 2.6.22 will get stable soon and nobody else will have the same problem. |
|
Back to top |
|
|
|
|
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
|
|