Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm fehler - HDIO_SET_DMA failed: Inappropriate ioctl for
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
cypher_head
n00b
n00b


Joined: 05 Apr 2005
Posts: 13

PostPosted: Thu Apr 14, 2005 1:52 pm    Post subject: hdparm fehler - HDIO_SET_DMA failed: Inappropriate ioctl for Reply with quote

hallo gentoo gemeinde:

habe auf meinem system folgende fehlermeldung, wenn ich mit hdparm arbeite:

Code:
# hdparm -d 1 /dev/sda

/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device


mein board ist ein asrock p4vt8+ mit einer sata platte.
kernel ist der 2.6.12-rc2

dmesg meldung:
Code:
libata version 1.10 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 20
sata_via(0000:00:0f.0): routed to hard irq line 4
ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 20
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 20
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 390721968 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_via
ata2: no device found (phy stat 00000000)
scsi1 : sata_via
  Vendor: ATA       Model: ST3200822AS       Rev: 3.01
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
mice: PS/2 mouse device common for all mice


auf der ata platte funkt es:
Code:
 # hdparm -d 1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 using_dma    =  1 (on)
 # hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda

/dev/hda:
 setting fs readahead to 64
 setting multcount to 16
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 setting drive read-lookahead to 1 (on)
 multcount    = 16 (on)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 readahead    = 64 (on)
# hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/sda

/dev/sda:
 setting fs readahead to 64
 setting multcount to 16
 HDIO_SET_MULTCOUNT failed: Inappropriate ioctl for device
 setting unmaskirq to 1 (on)
 HDIO_SET_UNMASKINTR failed: Inappropriate ioctl for device
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 setting drive read-lookahead to 1 (on)
 HDIO_DRIVE_CMD(setreadahead) failed: Inappropriate ioctl for device
 HDIO_GET_MULTCOUNT failed: Inappropriate ioctl for device
 readahead    = 64 (on)



kann mir da einer helfen??

gruss cypher_head


Last edited by cypher_head on Thu Apr 14, 2005 1:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Thu Apr 14, 2005 1:54 pm    Post subject: Reply with quote

Ist ioctl im Kernel aktiviert?
Back to top
View user's profile Send private message
cypher_head
n00b
n00b


Joined: 05 Apr 2005
Posts: 13

PostPosted: Thu Apr 14, 2005 1:56 pm    Post subject: Reply with quote

TheCurse wrote:
Ist ioctl im Kernel aktiviert?

wo finde ich das??

OK so heisst es im kernel
Code:
IDE Taskfile Access

werde es testen
Back to top
View user's profile Send private message
cypher_head
n00b
n00b


Joined: 05 Apr 2005
Posts: 13

PostPosted: Thu Apr 14, 2005 2:08 pm    Post subject: Reply with quote

jetzt ist es drin, fehler bleibt aber ;-(

Code:
 root # hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   1672 MB in  2.00 seconds = 836.13 MB/sec
 Timing buffered disk reads:  168 MB in  3.03 seconds =  55.49 MB/sec
root # hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   1672 MB in  2.00 seconds = 834.88 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  186 MB in  3.01 seconds =  61.80 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Back to top
View user's profile Send private message
EnricoHorn
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 165
Location: Koenigsee, Thuringia, Germany

PostPosted: Thu Apr 14, 2005 7:16 pm    Post subject: Reply with quote

Für SATA-Platten brauchst du das DMA nicht anzuschalten, ist automatisch an!
Back to top
View user's profile Send private message
bozan
n00b
n00b


Joined: 11 Apr 2005
Posts: 16

PostPosted: Sat Apr 16, 2005 10:38 am    Post subject: Reply with quote

Hallo,

habe das selbe Problem gehabt. Die Ursache ist, das libata noch keine direkten ioctl() calls implementiert hat. Soll aber laut Entwickler bald kommen.

BoZaN
Back to top
View user's profile Send private message
cypher_head
n00b
n00b


Joined: 05 Apr 2005
Posts: 13

PostPosted: Sat Apr 16, 2005 6:39 pm    Post subject: Reply with quote

hey bozan,

du schreibst, das du das problem gehabt hast. haste es denn gelöst und wenn wie??

gruss cypher_head
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Tue Apr 19, 2005 5:26 pm    Post subject: Reply with quote

Würde mich auch interessieren ich hab das selbe Problem.
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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