View Full Version : dma, hdparm e kernel
Dopo avere ricompilato il kernel, all'avvio mi dà un warning dicendo che il dma per il disco fisso è "turned off". Tra l'altro come posso fare per visualizzare questo messaggio a sistema avviato? Non ce n'è traccia in Syslog, né in messages, né in dmesg.
Ho provato a dare hdparm -d1 /dev/hda e mi dice:
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
non capisco...
VegetaSSJ5
14-06-2005, 18:02
si anche a me dava quell'avviso e non compariva in dmesg. hai un nforce2? io e altre persone di un thread in questa sezione abbiamo risolto inserendo come statico il supporto al chipset nella configurazione del kernel.
No, ho un mobo con chipset intel e nel kernel è configurato come built-in, se non sbaglio:
#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
CONFIG_BLK_DEV_HPT366=y
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set
I moduli invece ce li ho qui....
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_TASKFILE_IO=y
forse è qui la magagna?
VegetaSSJ5
14-06-2005, 19:18
nel primo file togli lo share irq. cmq non riesco a vedere quale sarebbe il tuo chipset. che sia l'hpt366?
posta la sezione dell'ide con il comando: lcpci -v
posta la sezione dell'ide con il comando: lcpci -v
questo è l'head di lspci:
$ lspci -v
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03)
Subsystem: QUANTA Computer Inc: Unknown device 0706
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Capabilities: <available only to root>
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 96
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d0100000-d01fffff
Prefetchable memory behind bridge: d8000000-dfffffff
centrino rulez :D
cmq non riesco a vedere quale sarebbe il tuo chipset. che sia l'hpt366?
Non capisco qual è il driver che devo abilitare per il mio chipset 855pm intel...
# CONFIG_BLK_DEV_PIIX is not set
mettilo come statico e ricompila.
comunque sarebbe stato meglio se con lspci evresti postato anche
IDE interface
Ciao
# CONFIG_BLK_DEV_PIIX is not set
mettilo come statico e ricompila.
comunque sarebbe stato meglio se con lspci evresti postato anche
IDE interface
Ciao
Sì, ho già provato, grazie. Ora funziona tutto bene. Ho un hdparm -tT abbastanza decente (Hitachi 7200 2,5):
/dev/hda:
Timing cached reads: 1424 MB in 2.00 seconds = 711.40 MB/sec
Timing buffered disk reads: 96 MB in 3.00 seconds = 31.95 MB/sec
Grazie mille.
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.