LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   K7S8X mobo DMA issues (https://www.linuxquestions.org/questions/linux-hardware-18/k7s8x-mobo-dma-issues-289525/)

NeccoWolf 02-12-2005 10:37 PM

K7S8X mobo DMA issues
 
XP 2600+
1.5GB RAM
120GB HD IDE
80GB HD IDE (windows, not mounted)
TDK440N DVD-RW
random 52x CD-RW

Debian unstable
Kernel 2.6.10-K7 (installed via kernel-image-2.6.10-k7)


I've been having trouble with this board lately. It uses the SIS 746FX chipset. I am unable to activate DMA for the DVD and CD-RW drive. At the moment DVD playback is extremely choppy and I can't burn discs on either.

Also for the HD
Code:

# hdparm -Tt /dev/hda
/dev/hda:
 Timing cached reads:  1028 MB in  2.00 seconds = 513.31 MB/sec
 Timing buffered disk reads:  12 MB in  3.44 seconds =  3.49 MB/sec

Yeah, it's slow. When attempting to enable DMA on the DVD-RW for instance
Code:

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

I read another thread that said to append noapic and nolapic at boot but that had no success. This thread http://www.linuxquestions.org/questi...ighlight=k7s8x said to compile this module into the kernel.


Code:

CONFIG_BLK_DEV_SIS5513:                                                x    x                                                                        x    x This driver ensures (U)DMA support for SIS5513 chipset family based    x    x mainboards.                                                            x    x                                                                        x    x The following chipsets are supported:                                  x    x ATA16:  SiS5511, SiS5513                                                x    x ATA33:  SiS5591, SiS5597, SiS5598, SiS5600                              x    x ATA66:  SiS530, SiS540, SiS620, SiS630, SiS640                          x    x ATA100: SiS635, SiS645, SiS650, SiS730, SiS735, SiS740,                x    x SiS745, SiS750
Sorry for the horrid formatting. Anyway, the chipset is obviously not in that list of supported but the thread said to compile it in. Unforunately it looked like I could only compile it in as a module, and it was anyway. So still no result there.

Any ideas?

Code:

# lspci -v

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 02)
        Subsystem: Unknown device 1849:0746
        Flags: bus master, medium devsel, latency 0
        Memory at d0000000 (32-bit, non-prefetchable) [size=256M]
        Capabilities: [c0] AGP version 3.0

0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=32
        Memory behind bridge: cbd00000-cfefffff
        Prefetchable memory behind bridge: aba00000-cbbfffff

0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
        Flags: bus master, medium devsel, latency 0

0000:00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
        Flags: medium devsel
        I/O ports at 0c00 [size=32]

0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master])
        Subsystem: Unknown device 1849:5513
        Flags: bus master, medium devsel, latency 128
        I/O ports at ff00 [size=16]

0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
        Subsystem: Unknown device 1849:7001
        Flags: bus master, medium devsel, latency 32, IRQ 3
        Memory at cfffd000 (32-bit, non-prefetchable) [size=4K]

0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
        Subsystem: Unknown device 1849:7001
        Flags: bus master, medium devsel, latency 32, IRQ 12
        Memory at cfffe000 (32-bit, non-prefetchable) [size=4K]

0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI])
        Subsystem: Unknown device 1849:7001
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at cffff000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 2

0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
        Subsystem: Unknown device 1849:8201
        Flags: bus master, medium devsel, latency 32, IRQ 12
        I/O ports at d800 [size=256]
        Memory at cfffc000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at fffe0000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 2

0000:00:0a.0 Communication controller: Motorola: Unknown device 5608
        Subsystem: Motorola: Unknown device 0000
        Flags: bus master, medium devsel, latency 32, IRQ 12
        I/O ports at d400 [size=256]
        Memory at cfffb000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2

0000:00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
        Subsystem: Creative Labs SB Live! 5.1 Model SB0100
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d000 [size=32]
        Capabilities: [dc] Power Management version 1

0000:00:0c.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
        Subsystem: Creative Labs Gameport Joystick
        Flags: bus master, medium devsel, latency 32
        I/O ports at dc00 [size=8]
        Capabilities: [dc] Power Management version 1

0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0045 (rev a1) (prog-if 00 [VGA])
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 11
        Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (32-bit, prefetchable) [size=256M]
        Memory at cd000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at cfee0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0

cat /proc/pci yields a "no such file or directory" hmmm

comprookie2000 02-12-2005 11:48 PM

ATA16: SiS5511, SiS5513 I think thats it,to compile support directly into the kernel
you may need to say "y" to something before that.You may need to compile a custom kernel,I would download the source from kernel.org and just try to run make menuconfig,you don't have to run make yet just see what happens.

NeccoWolf 02-13-2005 12:11 AM

Nope, still can't do it. I don't even see 5511 anywhere...

NeccoWolf 02-13-2005 09:19 AM

Bump

Edit: I also forgot to mention that i'm runnign the latest bios for the motherboard (2.6)

[|RoA|]RoadRunner 02-19-2006 12:20 PM

Hi,

i had the same problem and same Mainboard and solved it with the SiS5513. I don't use the module, just compiled in the kernel ( linux 2.6.12.5 ) . There ist still no SiS746(FX) in the list, but it enables dma automatically on the next reboot.

Maybe your module is not correct loaded? lsmod will tell more.


Sincerely, RoadRunner.

jashar 05-19-2007 11:44 AM

initrd
 
In case anyone reading this thread still can't get it to work (like me) you can try editing /etc/mkinitrd/modules to load your motherboard's module, since your system may be like mine and loads the modules in initrd first, and once the ide_generic module is loaded, it's too late to do anything with insmod or modprobe or /etc/modules.

:newbie:


All times are GMT -5. The time now is 02:50 AM.