Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.20 + dell 9400 cd/dvd dma issue
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
xerxesmc
n00b
n00b


Joined: 19 Nov 2006
Posts: 54
Location: Fulda/Hessen

PostPosted: Mon Feb 19, 2007 5:15 pm    Post subject: 2.6.20 + dell 9400 cd/dvd dma issue Reply with quote

hi,
i use the latest 2.6.20 gentoo-sources on my dell inspiron 9400 laptop and am happy about the integration of a working intel hd audio driver and the new ieee80211 stack, but i cant get my ide cd/dvd-burner to work in dma mode.
i dont use the device often, but when i use it, its annoying, since its either very very slow, like 30 mins to copy 5 MB from a cd, or it is fast but makes my gentoo almost freeze for the timebeing its reading/copying from a cd.
havent tested to burn yet, since there was no need, i suppose i get disappointed too in this issue...

browsing the web i found some solutions which enabled SATA support in the SCSI driver, but this menu isnt available nin the new kernel anymore.
i hope u have some suggestions. thx in advance.

lspci
Code:

...
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
...


hdparm /dev/hdc
Code:

/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
Code:

/dev/hdc:

 Model=TSSTcorp DVD+/-RW TS-L632D, FwRev=DE03, SerialNo=
 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:227,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

 * signifies the current active mode


hdparm -d1 /dev/hdc
Code:

/dev/hdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)
Back to top
View user's profile Send private message
elfarto
n00b
n00b


Joined: 27 Feb 2003
Posts: 26
Location: Argentina

PostPosted: Mon Feb 19, 2007 6:59 pm    Post subject: Reply with quote

I think that SATA/PATA support has been moved outside the SCSI drivers , they are now under
Device Drivers / Serial ATA (prod) and Parallel ATA (experimental) drivers, I MAY BE WRONG SINCE THIS IS FROM A 2.6.20-mm source tree, anyways, i'm not sure that the pata controller on that dell is a Intel PIIX o MPIIX.
In case you wanna give it a try you should enable the following options under the PATA/SATA drivers

ATA device support
-AHCI SATA support
-Intel PIIX/ICH SATA support

- Intel PATA MPIIX support
- Intel PATA old PIIX support (Experimental)
You should also disable everything under ATA/ATAPI/MFM/RLL support to avoid clashes between new and old drivers.
and make sure that the root device referenced in grub.conf is right.


Last edited by elfarto on Mon Feb 19, 2007 7:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
elfarto
n00b
n00b


Joined: 27 Feb 2003
Posts: 26
Location: Argentina

PostPosted: Mon Feb 19, 2007 7:07 pm    Post subject: Reply with quote

You may also want to check the following link.
http://gentoo-wiki.com/HARDWARE_Gentoo_on_Dell_Inspiron_9400
Back to top
View user's profile Send private message
xerxesmc
n00b
n00b


Joined: 19 Nov 2006
Posts: 54
Location: Fulda/Hessen

PostPosted: Tue Feb 20, 2007 2:42 pm    Post subject: Reply with quote

thanks for the answer, that was it, its fast now and doesnt make my notebook freeze.
GnomeBaker doesnt recognize my device as a writer yet, but i read something about passing some arguments to the kernel during boot to fix it.
Gonna try this.

--

the drive gets recognized as /dev/sr0 and not as /dev/hdc

--

now i can read cds faster than before, but the burning-speed is incredible slow... normal cds 10x and dvds 1x, whereby even dmesg | grep sr0 tells me that it should be ("sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray")
Back to top
View user's profile Send private message
elfarto
n00b
n00b


Joined: 27 Feb 2003
Posts: 26
Location: Argentina

PostPosted: Tue Feb 20, 2007 5:45 pm    Post subject: Reply with quote

dunno much about gnomebaker but i know what it's a frontend for cdrecord, perhaps you should try telling cdrecord or search the option inside gnomebaker ,to "detect" the recorder again. It has been a long time since i last used a linux GUI, i do most console wizardy
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