Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
accessing cdrom slows down the system [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Wed Apr 18, 2007 11:26 am    Post subject: accessing cdrom slows down the system [SOLVED] Reply with quote

As the topic says, when I put a DVD/CD in my drive:

Code:

# hdparm -i /dev/hdc

/dev/hdc:

 Model=SONY DVD RW AW-G630A, FwRev=1.00, 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=yes, 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

 * signifies the current active mode



# 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


the system gets VERY SLOW.
Mouse starts lagging, "auto-completion" in terminals gets very slow, beryl gets very very slow to.

It's a brand new laptop, with:
- core 2 duo 2 Ghz
- 2 gb ram
- 512 mb nvidia 7600 go
- 160 gb sata hdd
running gentoo ~amd64

What can be the problem?


Last edited by ham_se17 on Fri Apr 20, 2007 7:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
RiBBiT
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 215
Location: Sweden

PostPosted: Wed Apr 18, 2007 11:37 am    Post subject: Reply with quote

Try to enable DMA and possibly some other features such as unmaskirq and 32 bit IO-support depending on your setup.

Code:
# hdparm /dev/hda

/dev/hda:
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device

_________________
Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ]
Back to top
View user's profile Send private message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Wed Apr 18, 2007 12:15 pm    Post subject: Reply with quote

I can't enable DMA :(
Code:

# hdparm -d1 /dev/hdc

/dev/hdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)


Here's benchmark:
Code:

# hdparm -tT /dev/hdc

/dev/hdc:
 Timing cached reads:   5002 MB in  2.00 seconds = 2505.95 MB/sec
BLKFLSBUF failed: Function not implemented
 Timing buffered disk reads:   20 MB in  3.01 seconds =   6.65 MB/sec
BLKFLSBUF failed: Function not implemented
Back to top
View user's profile Send private message
RiBBiT
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 215
Location: Sweden

PostPosted: Wed Apr 18, 2007 3:10 pm    Post subject: Reply with quote

Is your kernel configured to support your chipset?
_________________
Comix - GTK Comic Book Viewer [ http://comix.sourceforge.net ]
Back to top
View user's profile Send private message
psomas
Retired Dev
Retired Dev


Joined: 23 Sep 2006
Posts: 212
Location: Greece

PostPosted: Wed Apr 18, 2007 3:58 pm    Post subject: Reply with quote

check that you compile your kernel with the options "Generic PCI bus-master DMA support " and "Use PCI DMA by default when available",and of course the driver for your chipset...
_________________
myblog
FOSS NTUA Community
Back to top
View user's profile Send private message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Fri Apr 20, 2007 6:42 am    Post subject: Reply with quote

psomas wrote:
check that you compile your kernel with the options "Generic PCI bus-master DMA support " and "Use PCI DMA by default when available",and of course the driver for your chipset...

Here is the DMA support:
Code:

     -> Device Drivers
       -> ATA/ATAPI/MFM/RLL support
         -> ATA/ATAPI/MFM/RLL support (IDE [=y])
           -> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE [=y])
             -> PCI IDE chipset support (BLK_DEV_IDEPCI [=y])
               -> Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI [=y]) 

     -> Device Drivers                                                                                                   
       -> ATA/ATAPI/MFM/RLL support                                                                                       
         -> ATA/ATAPI/MFM/RLL support (IDE [=y])
           -> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE [=y])
             -> PCI IDE chipset support (BLK_DEV_IDEPCI [=y])


Here is the driver i use:
Code:

     -> Device Drivers
       -> Serial ATA (prod) and Parallel ATA (experimental) drivers
       [*] ATA device support
         [*]   Intel PIIX/ICH SATA support
         [*]   Intel PATA MPIIX support


My chipset:
Code:

00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02) (prog-if 80 [Master])
        Subsystem: Inventec Corporation Unknown device 0040
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 18b0 [size=16]
        Capabilities: [70] Power Management version 2


anyone? It drives me crazy that i cant use the system while I access the drive :(
Back to top
View user's profile Send private message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Fri Apr 20, 2007 2:14 pm    Post subject: Reply with quote

any suggestions?
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Fri Apr 20, 2007 2:38 pm    Post subject: Reply with quote

You don't appear to have a SATA DVD-RW as, in your first post, it appeared as /dev/hdc.

You have Intel PATA MPIIX support enabled in your kernel config but it isn't the right driver as, otherwise, the DVD-RW would appear as /dev/sr0 or /dev/sr1.

Would you post the lspci for your plain IDE controller, please? I can't see what kernel you are running, at a guess, it's 2.6.19-gentoo-r5: the SATA controller (82801GBM/GHM) uses the ata_piix driver which you have enabled.

pata_mpiix which you have enabled for your DVD-RW is for the "430MX - 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX)" (no, I've never heard of it either :) )
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Fri Apr 20, 2007 5:59 pm    Post subject: Reply with quote

wynn wrote:
You don't appear to have a SATA DVD-RW as, in your first post, it appeared as /dev/hdc.

You have Intel PATA MPIIX support enabled in your kernel config but it isn't the right driver as, otherwise, the DVD-RW would appear as /dev/sr0 or /dev/sr1.

Would you post the lspci for your plain IDE controller, please? I can't see what kernel you are running, at a guess, it's 2.6.19-gentoo-r5: the SATA controller (82801GBM/GHM) uses the ata_piix driver which you have enabled.

pata_mpiix which you have enabled for your DVD-RW is for the "430MX - 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX)" (no, I've never heard of it either :) )

here is my lspci:
Code:

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 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce Go 7600] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8168 (rev 01)
07:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
09:04.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
09:06.0 CardBus bridge: Texas Instruments Unknown device 8039
09:06.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
09:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
09:06.3 Generic system peripheral [0805]: Texas Instruments Unknown device 803c


hope it can help you :)
I'm running: 2.6.20-gentoo-r6
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Fri Apr 20, 2007 6:28 pm    Post subject: Reply with quote

ham_se17,

The Intel ICH7 is a problem in a mixed SATA/PATA installation.
It comes from some of the registers controlling the chip set up being shared between the two interfaces.

There are many posts reporting your problem here and a few with the solution, which unfortunately, I don't remember.
I really hate to say search the forums but thats all I can think of right now.
Use google, not Quick Search - put site:forums.gentoo.org in googles search box, after your search terms to restrict the search. Like this
Code:
ICH7 +DMA site:forums.gentoo.org
there is lots of hits.

You do not want the IDE PIIX driver, thats only useful up to ICH6 chipsets - that much I do recall.
This post suggests you use SCSI emulation for your IDE CDROM.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Fri Apr 20, 2007 6:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Fri Apr 20, 2007 6:32 pm    Post subject: Reply with quote

Hmmm, checkmated!

No IDE controller as such, it must be provided by "82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE".

Hmmm, tricky: it looks as if you need
Code:
-> Device Drivers
     -> Serial ATA (prod) and Parallel ATA (experimental) drivers
     [*] ATA device support
     <*>   Intel PIIX/ICH SATA support
to get the IDE part of the controller working.

This may not work (it's Parallel ATA (experimental) :) ) in which case you need to take it out and put in
Code:
<*>         Intel PIIXn chipsets support
from "ATA/ATAPI/MFM/RLL support" instead.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Fri Apr 20, 2007 7:23 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ham_se17,

The Intel ICH7 is a problem in a mixed SATA/PATA installation.
It comes from some of the registers controlling the chip set up being shared between the two interfaces.

There are many posts reporting your problem here and a few with the solution, which unfortunately, I don't remember.
I really hate to say search the forums but thats all I can think of right now.
Use google, not Quick Search - put site:forums.gentoo.org in googles search box, after your search terms to restrict the search. Like this
Code:
ICH7 +DMA site:forums.gentoo.org
there is lots of hits.

You do not want the IDE PIIX driver, thats only useful up to ICH6 chipsets - that much I do recall.
This post suggests you use SCSI emulation for your IDE CDROM.


your search string helped me to this post: https://forums.gentoo.org/viewtopic.php?t=460566 which solved my issue, I don't know if this is the "right" way, but i can access it without the system gets unavailable.

Solution:
1) Remove support for for the IDE bus. Deselect the following option

Code:
Device Drivers -->
   ATA/ATAPI/MFM/RLL Support -->
      ATA/ATAPI/MFM/RLL Support



This will remove all ide interfaces from the kernel and your DVD drive will not be recognized at rebooting. This is what you want to do.
Without doing this, DVD playback is inadequate.

2) Add SATA support and the Intel SSCSI Device Support -->

Code:
   SCSI Low Level Drivers -->
      Serial ATA support -->
         and chose support for your controller in my case it is ----> Intel PIIX/ICH SATA support



Your DVD drive should not even be recognized at this point! Please note that the below will only work with kernels newer than 2.6.14.

Now add the following to your kernel line in grub.conf :

Code:
libata.atapi_enabled=1


Now reboot and you should see /dev/sr0 being created.

Code:

sdparm /dev/sr0
    /dev/sr0: SONY      DVD RW AW-G630A   1.00  [cd/dvd]
Read write error recovery mode page:
  AWRE        1  [cha: y, def:  1]
  ARRE        0  [cha: y, def:  0]
  PER         0  [cha: n, def:  0]
Write parameters (MMC) mode page:
  BUFE        0  [cha: y, def:  1]
  WR_T        3  [cha: y, def:  0]
  MULTI_S     0  [cha: y, def:  3]

[/profile]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Sat Apr 21, 2007 9:29 am    Post subject: Reply with quote

ham_se17,

Yes, thats the right way - you use only the SATA driver to configure the ICH7 disk interface. Not both the SATA and PATA drivers, which doesn't work.

What you have done is similar to the post I suggested that proposed emulated SCSI which is depreciated. I'll bookmark your post so I can refer others to it.

Thank you.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Apr 21, 2007 4:27 pm    Post subject: Reply with quote

ham_se17: are you in the mood for a little experimentation? Perhaps having just got your DVD-RW working properly, you aren't.

However, if you are: the libata module parameter atapi_enable has been set to 1 (on) by default in the code since 2.6.16 so it doesn't look as if adding libata.atapi_enabled=1 to the kernel command line changes anything, would you like to try booting without it and see if DMA still works?
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Sat Apr 21, 2007 4:31 pm    Post subject: Reply with quote

Hey, I was just about to ask this same question. Thanks. 8)
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Apr 21, 2007 4:36 pm    Post subject: Reply with quote

sonicbhoc wrote:
Hey, I was just about to ask this same question.
Good.

(Psst ... did you want to ask about "combined=" too?
Documentation/kernel-parameters.txt:
Code:
combined_mode=  [HW] control which driver uses IDE ports in combined
   mode: legacy IDE driver, libata, or both (in the libata case,
   libata.atapi_enabled=1 may be useful as well).  Note that using the
   ide or libata options may affect your device naming (e.g. by changing
   hdc to sdb).

   Format: combined (default), ide, or libata
)
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Sat Apr 21, 2007 4:44 pm    Post subject: Reply with quote

wynn,

When you choose the PIX SATA driver in the kernel, you get combined for free too.
You will need to look with make xconfig or in the .config file itself to see it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Apr 21, 2007 5:02 pm    Post subject: Reply with quote

Yes, I saw SATA_INTEL_COMBINED which (your "for free"?) is selected automatically
Code:
depends on IDE=y && !BLK_DEV_IDE_SATA && (SATA_AHCI || ATA_PIIX)
though, it seems, you must have "ATA/ATAPI/MFM/RLL support" selected to get "IDE=y".

In looking around for libata, I saw combined= and just wondered if it was relevant.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54834
Location: 56N 3W

PostPosted: Sat Apr 21, 2007 5:09 pm    Post subject: Reply with quote

wynn,

Well spotted. I missed the need to have IDE=Y.

Yes, thats my for free. This is one of the examples where you should never edit .config by hand as one kernle config option can change several flags in the .config file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Apr 21, 2007 5:39 pm    Post subject: Reply with quote

Well, while you're here, Neddy, thanks for the tip
Quote:
Use google, not Quick Search - put site:forums.gentoo.org in googles search box, after your search terms to restrict the search. Like this
Code:
ICH7 +DMA site:forums.gentoo.org
and all the other tips, like "nopaste" that I've picked up from your posts.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Sat Apr 21, 2007 6:17 pm    Post subject: Reply with quote

So, does this mean that I should install ATA/ATAPI/MFM/RLL Support after all?

EDIT: By the way, just to make sure I'm not missing anything, my lspci is like so:
Code:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
04:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
05:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
05:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
05:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
05:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
05:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)


Is there anything else I'll need? The JMicron IDE interface looks like it could need some extra stuff. Pretty much everything else works but I haven't tested the card Ricoh reader or firewire yet.
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Apr 21, 2007 7:02 pm    Post subject: Reply with quote

sonicbhoc wrote:
So, does this mean that I should install ATA/ATAPI/MFM/RLL Support after all?
No, (I believe) it was just for the case where there is a single Intel SATA controller which has to provide both IDE and SATA.

sonicbhoc wrote:
EDIT: By the way, just to make sure I'm not missing anything, my lspci is like so:
Code:
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
...
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
04:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
...
05:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
Is there anything else I'll need? The JMicron IDE interface looks like it could need some extra stuff. Pretty much everything else works but I haven't tested the card Ricoh reader or firewire yet.
The Intel 82801GBM/GHM SATA support is provided by ata_piix under "Serial ATA ...", JMicron 20360/20363 support is provided by pata_jmicron in the same group. There is also an old PATA driver, jmicron, under ATA/ATAPI/MFM/RLL if the new PATA one doesn't work.

Firewire should be generic (I think), the Intel Wireless 3945ABG you will have to dig through the Forums for. NeddySeagoon's tip using " 3945 site:forums.gentoo.org" with Google should make it painless :) (had to try the tip, found ipw3945 wireless drivers which says ther's an ebuild)

The driver for Realtek's RTL-8110SC/8169SC is r8169.

I think you know your way around menuconfig so you shouldn't need more detail, should you?
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
ham_se17
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 131

PostPosted: Sat Apr 21, 2007 9:28 pm    Post subject: Reply with quote

wynn wrote:
ham_se17: are you in the mood for a little experimentation? Perhaps having just got your DVD-RW working properly, you aren't.

However, if you are: the libata module parameter atapi_enable has been set to 1 (on) by default in the code since 2.6.16 so it doesn't look as if adding libata.atapi_enabled=1 to the kernel command line changes anything, would you like to try booting without it and see if DMA still works?


YUP, true :)
Yo don't need the libata.atapi_enabled=1, it works fine without :)
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Sat Apr 21, 2007 11:34 pm    Post subject: Reply with quote

Well, the main reason I want this solved is that, after a while, hald freezes the ENTIRE system, taking up all the ram and 100% on both CPUs, and spamming dmesg with this:
Code:
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
ipw3945: Microcode SW error detected.  Restarting.
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
ipw3945: Error sending LEDS_CMD: time out after 500ms.
ipw3945: Can't stop Rx DMA.
ipw3945: Detected geography ABG (11 802.11bg channels, 13 802.11a channels)
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command

ignore the ipw3945 line, that works fine. I won't tinker with that... what bothers me is the hdd status stuff. That could definitely be a problem...
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Apr 22, 2007 9:19 am    Post subject: Reply with quote

sonicbhoc wrote:
Code:
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdd: drive not ready for command
The best reference I can find on this is [SEMI-SOLVED] hdc: status timeout: status=0xd0 { Busy }Error which seems to point to hald as the culprit.

What kernel release are you running? The JMicron code has had a lot of changes recently.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
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
Goto page 1, 2  Next
Page 1 of 2

 
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