PDA

View Full Version : ubuntu, KT600 e SATA DMA


Tedturb0
30-04-2008, 12:18
Ho questo problema: ho compilato un kernel
2.6.24 su una ubuntu gutsy (ora hardy) con il supporto per SATA (prod, quello nuovo).

Al boot mi dice:
Apr 28 20:36:55 rivendell kernel: [ 32.111204] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Apr 28 20:36:55 rivendell kernel: [ 32.111363] VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at PCI slot 0000:00:0f.1
Apr 28 20:36:55 rivendell kernel: [ 32.111415] ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 16
Apr 28 20:36:55 rivendell kernel: [ 32.111436] VP_IDE: not 100% native mode: will probe irqs later
Apr 28 20:36:55 rivendell kernel: [ 32.111455] VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
Apr 28 20:36:55 rivendell kernel: [ 32.111468] ide0: BM-DMA at 0x7800-0x7807, BIOS settings: hda:pio, hdb:pio
Apr 28 20:36:55 rivendell kernel: [ 32.111492] ide1: BM-DMA at 0x7808-0x780f, BIOS settings: hdc:DMA, hdd:pio
Apr 28 20:36:55 rivendell kernel: [ 33.336051] hdd: IRQ probe failed (0xfffffcfe)
Apr 28 20:36:55 rivendell kernel: [ 33.655836] hdd: IRQ probe failed (0xfffffcfe)
Apr 28 20:36:55 rivendell kernel: [ 34.635133] hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
Apr 28 20:36:55 rivendell kernel: [ 34.635355] hdc: UDMA/33 mode selected
Apr 28 20:36:55 rivendell kernel: [ 34.635535] ide1 at 0x170-0x177,0x376 on irq 15
Apr 28 20:36:55 rivendell kernel: [ 35.245742] hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
Apr 28 20:36:55 rivendell kernel: [ 35.245755] Uniform CD-ROM driver Revision: 3.20
Apr 28 20:36:55 rivendell kernel: [ 35.248585] Driver 'sd' needs updating - please use bus_type methods
Apr 28 20:36:55 rivendell kernel: [ 35.248668] Driver 'sr' needs updating - please use bus_type methods
Apr 28 20:36:55 rivendell kernel: [ 35.249131] ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 16
Apr 28 20:36:55 rivendell kernel: [ 35.249203] sata_via 0000:00:0f.0: routed to hard irq line 0
Apr 28 20:36:55 rivendell kernel: [ 35.249449] scsi0 : sata_via
Apr 28 20:36:55 rivendell kernel: [ 35.249597] scsi1 : sata_via
Apr 28 20:36:55 rivendell kernel: [ 35.252255] ata1: SATA max UDMA/133 cmd 0x9800 ctl 0x9400 bmdma 0x8400 irq 16
Apr 28 20:36:55 rivendell kernel: [ 35.252263] ata2: SATA max UDMA/133 cmd 0x9000 ctl 0x8800 bmdma 0x8408 irq 16
Apr 28 20:36:55 rivendell kernel: [ 35.454498] ata1: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
Apr 28 20:36:55 rivendell kernel: [ 35.674349] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Apr 28 20:36:55 rivendell kernel: [ 35.880105] ata2.00: ATA-7: WDC WD10EACS-00ZJB0, 01.01B01, max UDMA/133
Apr 28 20:36:55 rivendell kernel: [ 35.880113] ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32)
Apr 28 20:36:55 rivendell kernel: [ 35.914627] ata2.00: configured for UDMA/133
Apr 28 20:36:55 rivendell kernel: [ 35.914830] scsi 1:0:0:0: Direct-Access ATA WDC WD10EACS-00Z 01.0 PQ: 0 ANSI: 5
Apr 28 20:36:55 rivendell kernel: [ 35.915133] sd 1:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
Apr 28 20:36:55 rivendell kernel: [ 35.915164] sd 1:0:0:0: [sda] Write Protect is off
Apr 28 20:36:55 rivendell kernel: [ 35.915211] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Apr 28 20:36:55 rivendell kernel: [ 35.915319] sd 1:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
Apr 28 20:36:55 rivendell kernel: [ 35.915344] sd 1:0:0:0: [sda] Write Protect is off
Apr 28 20:36:55 rivendell kernel: [ 35.915388] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Apr 28 20:36:55 rivendell kernel: [ 35.915397] sda: sda1 sda2 sda3
Apr 28 20:36:55 rivendell kernel: [ 35.940362] sd 1:0:0:0: [sda] Attached SCSI disk
Apr 28 20:36:55 rivendell kernel: [ 35.940553] sd 1:0:0:0: Attached scsi generic sg0 type 0




Tuttavia, nell'uso normale mostra tutti i segni di DMA non funzionante, e cioe' uso cpu 100% quando c'è accesso al disco e prestazioni che crollano..
Non so se ho sbagliato io qualcosa.

Con hdparm non si puo' piu' settare il dma sui dischi sata dunque non ho idea di cosa puo' essere. tuttavia googlando ho trovato molta gente col mio stesso problema..