Warning the dma on your hard drive is turned

CLEM973 Messages postés 33 Statut Membre -  
jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   -
Salut,

j'ai une slackware 10.2 kernel 2.4.31 (reiserfs) fraichement installée sur un Barracuda 7200.8 mais voila lors du boot le message d'erreure précédement indiqué s'affiche,et ça a pour concéquence de ralentir énormément ma machine lorsque je fais par exemple un cp.
J'ai donc fait un hdparm -i /dev/hda et voila ce que la commande m'affiche:

Model=ST3250823AS, FwRev=3.01, SerialNo=3NDOBAPX
Config={HardSectNotMFMHdSw>15uSecFixedDTR>10MbsRotSpdTol>.5%}
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63,CurSect=16514064,LBA=yes,LBAsects=268435455
IORDY=on/off, tPIO={min:240,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
AdvencedPM=no WriteCache=enabled
Drive conforms to: device does not report version:

* signifies the current active mode

Là, j'y ai pas compris grand chose.

Et enfin j'ai fait un hdparm -d1 /dev/hda et ça me sort:

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

Si quelqu'un a une idée...

5 réponses

  1. CLEM973 Messages postés 33 Statut Membre
     
    Salut jipicy,

    en fait tu m'as mal compris.
    Je voudrais simplement activer mon dma mais hdparm -d1 /dev/hda me renvoit ce message d'erreure:

    HDIO_SET_DMA failed: Operation not permitted

    J'ai fait des recherches sur le net mais tout ce que j'ai éssayé jusque là n'a rien donné.
    0
  2. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Re-

    Peux-tu afficher le fichier de conf de ton bootloader (/etc/lilo.conf si je ne m'abuse sous Slackware).
    Et tant qu'on y est les 1ères lignes de "dmesg" (disons les 30 premières).
    Merci
    0
  3. CLEM973 Messages postés 33 Statut Membre
     
    # LILO configuration file
    # generated by 'liloconfig'
    #
    # Start LILO global section
    append="hdc=ide-scsi"
    boot = /dev/hda
    message = /boot/boot_message.txt
    prompt
    timeout = 100
    # Override dangerous defaults that rewrite the partition table:
    change-rules
    reset
    # VESA framebuffer console @ 1024x768x256
    vga = 773
    # Normal VGA console
    # vga = normal
    # VESA framebuffer console @ 1024x768x64k
    # vga=791
    # VESA framebuffer console @ 1024x768x32k
    # vga=790
    # VESA framebuffer console @ 1024x768x256
    # vga=773
    # VESA framebuffer console @ 800x600x64k
    # vga=788
    # VESA framebuffer console @ 800x600x32k
    # vga=787
    # VESA framebuffer console @ 800x600x256
    # vga=771
    # VESA framebuffer console @ 640x480x64k
    # vga=785
    # VESA framebuffer console @ 640x480x32k
    # vga=784
    # VESA framebuffer console @ 640x480x256
    # vga=769
    # End LILO global section
    # Linux bootable partition config begins
    image = /boot/vmlinuz
    root = /dev/hda1
    label = Linux
    read-only
    # Linux bootable partition config ends

    ------------------------------------------------------------------------------

    Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
    BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
    BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
    BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
    BIOS-e820: 00000000c0000000 - 00000000d0000000 (reserved)
    BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    Warning only 896MB will be used.
    Use a HIGHMEM enabled kernel.
    896MB LOWMEM available.
    On node 0 totalpages: 229376
    zone(0): 4096 pages.
    zone(1): 225280 pages.
    zone(2): 0 pages.
    Kernel command line: auto BOOT_IMAGE=Linux ro root=301 hdc=ide-scsi
    ide_setup: hdc=ide-scsi
    Initializing CPU#0
    Detected 3192.109 MHz processor.
    Console: colour dummy device 80x25
    Calibrating delay loop... 6370.09 BogoMIPS
    Memory: 904376k/917504k available (1832k kernel code, 12740k reserved, 607k data, 120k init, 0k highmem)
    Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
    Mount cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
    Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 1024K
    CPU: After generic, caps: bfebfbff 00100000 00000000 00000000
    CPU: Common caps: bfebfbff 00100000 00000000 00000000
    CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 01
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    PCI: PCI BIOS revision 3.00 entry at 0xfb490, last bus=2
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Probing PCI hardware (bus 00)
    PCI: Ignoring BAR0-3 of IDE controller 00:1f.2
    Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
    PCI: Discovered primary peer bus ff [IRQ]
    PCI: Using IRQ router PIIX/ICH [8086/2640] at 00:1f.0
    PCI: Found IRQ 5 for device 00:01.0
    PCI: Sharing IRQ 5 with 00:1b.0
    PCI: Sharing IRQ 5 with 00:1d.3
    PCI: Found IRQ 11 for device 00:1f.2
    PCI: Sharing IRQ 11 with 00:1d.1
    PCI: Sharing IRQ 11 with 00:1f.3
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    VFS: Disk quotas vdquot_6.5.1
    Journalled Block Device driver loaded
    vesafb: framebuffer at 0xd0000000, mapped to 0xf880d000, size 1536k
    vesafb: mode is 1024x768x8, linelength=1024, pages=3
    vesafb: protected mode interface info at c000:d340
    vesafb: scrolling: redraw
    Console: switching to colour frame buffer device 128x48
    fb0: VESA VGA frame buffer device
    pty: 512 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    Real Time Clock Driver v1.10f
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
    loop: loaded (max 8 devices)
    Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    hda: ST3250823AS, ATA DISK drive
    hdc: _NEC DVD_RW ND-3530A, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: attached ide-disk driver.
    hda: host protected area => 1
    hda: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63
    Partition check:
    hda: hda1 hda2
    SCSI subsystem driver Revision: 1.00
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    md: linear personality registered as nr 1
    md: raid0 personality registered as nr 2
    md: raid1 personality registered as nr 3
    md: raid5 personality registered as nr 4
    raid5: measuring checksumming speed
    8regs : 3490.400 MB/sec
    32regs : 2344.400 MB/sec
    pIII_sse : 5554.800 MB/sec
    pII_mmx : 3466.000 MB/sec
    p5_mmx : 3462.000 MB/sec
    raid5: using function: pIII_sse (5554.800 MB/sec)
    md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    LVM version 1.0.8(17/11/2003)
    Initializing Cryptographic API
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 8192 buckets, 64Kbytes
    TCP: Hash tables configured (established 262144 bind 65536)
    Linux IP multicast router 0.06 plus PIM-SM
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    FAT: bogus logical sector size 0
    UMSDOS: msdos_read_super failed, mount aborted.
    FAT: bogus logical sector size 0
    FAT: bogus logical sector size 0
    reiserfs: found format "3.6" with standard journal
    reiserfs: checking transaction log (device ide0(3,1)) ...
    for (ide0(3,1))
    ide0(3,1):Using r5 hash to sort names
    VFS: Mounted root (reiserfs filesystem) readonly.
    Freeing unused kernel memory: 120k freed
    Adding Swap: 979956k swap-space (priority -1)
    Linux agpgart interface v0.99 (c) Jeff Hartmann
    agpgart: Maximum main memory to use for agp memory: 816M
    agpgart: Detected an Intel(R) 915G, but could not find the secondary device. Assuming a non-integrated video card.
    agpgart: no supported devices found.
    hdc: attached ide-scsi driver.
    scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    Vendor: _NEC Model: DVD_RW ND-3530A Rev: 2.01
    Type: CD-ROM ANSI SCSI revision: 02
    Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
    sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.12
    0
  4. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  5. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Ben désolé mais j'ai pas trouvé ce que j'espérai trouver dans l'affichage (je cherchais une ligne du genre "ide=nodma" qui m'aurait bien arrangé ;-)) )

    Bon reste un truc à voir : le DMA est-il activé dans le noyau ?
    Essaie de regarder dans le fichier de conf du noyau qui doit se trouver dans "/boot" normalement...
    0