Pagina 1 di 4
DMA [Risolto] & Problema Avvio Slackware [Risolto]
Inviato: mer 19 lug 2006, 11:27
da DD0p
Ola A Todos
Sono due giorni che ho il seguente problema, o meglio, la nostra amata sLaCkWaRe si incanta all'avvio, dopo che la faccio partire arriva a:
E si incanta, se premo il tasto reset lo schermo diventa nero, e il pc resta in uno stato simile allo standby, mentre se premo il tasto per spegnerlo non succede nulla, anche se le tengo premuto 5 secondi che di regola dovrebbe spegnersi, quindi per spegnerlo dovrei spegnere l'UPS...
Dopo molti tentativi, accendo e spengo, parte e poi non ho nessun tipo di problema.
- Pensate sia problema Hardware?
- Pensate sia un problema di compilazione kernel?
Un altro problema, che ormai esce sempre, è quando carica la partizione reiserfs dove ho appunto sLaCkWaRe, mi esce questo messaggio, o meglio, un messaggio simile:
- Warning: The dma in your hard drive is turned off etc...
Come potrei risolvere?
Inviato: mer 19 lug 2006, 11:35
da Raistlin84
Intanto non hai abilitato DMA e lì dipende dal Kernel devi ricompilarlo abilitandolo. [A meno che il tuo HD non sia abbastanza vecchio e non usi il DMA].
Per il problema che non ti si pianta...hmm.. intanto dacci un po' di info...Kernel compilato da solo?Immagino di sì ho visto solo ora che hai il 2.17.15 .Quello che ti installa la Slack dava problemi? HD ide o sata? Etc...
Inviato: mer 19 lug 2006, 11:53
da DD0p
│ │ [*] Generic PCI bus-master DMA support │ │
│ │ [ ] Force enable legacy 2.0.X HOSTS to use DMA │ │
│ │ [*] Use PCI DMA by default when available │ │
│ │ [ ] Enable DMA only for disks │ │[/b]
Il Kernel non è la prima volta che lo compilo, comunque si pure con quello di default [2.4.31] si pianta...
Pensi che dovrei attivare come built-in anche Enable DMA only for disks?
Con il 2.6.17.4 non avevo nessun tipo di problema
Inviato: mer 19 lug 2006, 11:57
da Gnomenetor
Aggiungi anche
[*] Enable DMA only for disks
Inviato: mer 19 lug 2006, 12:06
da DD0p
Ok.. Appena posso provo
Grazie ragazzi
Per l'altro problema invece?
Inviato: mer 19 lug 2006, 12:11
da Gnomenetor
appunto l altro problema dice che il modulo dma sulla partizione e off..
Quindi aggiungendo cio' che ti ho detto io prima dovresti risolvere.
Inviato: mer 19 lug 2006, 12:20
da DD0p
Nulla esce sempre questo messaggio:
- Warning: The dma in your hard drive is turned off etc...
Inviato: mer 19 lug 2006, 12:43
da manolo
Ti sconsiglio di aggiungere
in quanto poi i lettori ottici (dvd/cd) non avrebbero il dma attivato e incapperesti in un po' di problemi...
Inviato: mer 19 lug 2006, 12:49
da albatros
Hai provato a usare hdparm?
Enable DMA only for disks (IDEDMA_ONLYDISK)
This is used if you know your ATAPI Devices are going to fail DMA
Transfers.
Generally say N here.
Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI)
If your PCI system uses IDE drive(s) (as opposed to SCSI, say) and
is capable of bus-master DMA operation (most Pentium PCI systems),
you will want to say Y here to reduce CPU overhead. You can then use
the "hdparm" utility to enable DMA for drives for which it was not
enabled automatically. By default, DMA is not enabled automatically
for these drives, but you can change that by saying Y to the
following question "Use DMA by default when available". You can get
the latest version of the hdparm utility from
<
ftp://ibiblio.org/pub/Linux/system/hardware/>.
Read the comments at the beginning of <file:drivers/ide/ide-dma.c>
and the file <file:Documentation/ide.txt> for more information.
It is safe to say Y to this question.
Prova con hdparm -d1 /dev/hda ...
A me verrebbe da pensare a un problema hardware per il primo punto, tanto più che hai iniziato ad avere problemi senza aver messo le mani sul kernel e che dopo un po' di tentativi funziona...
Prova comunque con una distro live per vedere che succede...
Se possibile fai qualche test di basso livello dell'hd (ci sono spesso anche software specifici diagnostici delle case produttrici...)
Se possibile, mantieni sempre un backup aggiornato dei tuoi dati...
Ah, con hdparm guarda poi i vari settaggi con hdparm -v /dev/hda e fai un po' di test con hdparm -t /dev/hda...
Inviato: mer 19 lug 2006, 13:37
da DD0p
Allora il messaggio del DMA disattivato, è dato a fsck che dice che il DMA è disattivato, e quindi sarà lenta la ricerca degli errori...
Non penso sia Hardware perchè ora ti sto scrivendo, e anche perchè Windows parte
Inviato: mer 19 lug 2006, 14:01
da manolo
Inviato: mer 19 lug 2006, 14:21
da DD0p
Codice: Seleziona tutto
hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Inviato: mer 19 lug 2006, 14:27
da manolo
DD0p ha scritto:Codice: Seleziona tutto
hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Io comincerei a pensare ad un'errata configurazione del kernel, visto che dici che con Win funziona...
Inviato: mer 19 lug 2006, 14:42
da DD0p
io ora sto digitando da slackware, sul fatto che win funzionava e quando linux non parte, mi spiego meglio, ora lo posso riavviare quante volte voglio, va benissimo, però questa notte, siccome lo spengo il pc, la mattina lo vado a riaccendere e non parte... però, dopo 6,7 volte che spengo e accendo l'ups si riprende e mi fa partire slackware... il kernel l'ho configurato come sempre, il problema è da poco, da quando ho il 2.6.17.5... Quindi come dovrei fare per riattivare il dma? devo compilarmi il kernel dando make mrproper?
Eccoti il mio ATA/ATAPI/MFM/RLL support:
│ │ <*> ATA/ATAPI/MFM/RLL support │ │
│ │ <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support │ │
│ │ --- Please see Documentation/ide.txt for help/info on IDE drives │ │
│ │ [ ] Support for SATA (deprecated; conflicts with libata SATA driver) │ │
│ │ [ ] Use old disk-only driver on primary interface │ │
│ │ <*> Include IDE/ATA-2 DISK support │ │
│ │ [ ] Use multi-mode by default │ │
│ │ <*> Include IDE/ATAPI CDROM support │ │
│ │ < > Include IDE/ATAPI TAPE support (EXPERIMENTAL) │ │
│ │ < > Include IDE/ATAPI FLOPPY support │ │
│ │ <M> SCSI emulation support │ │
│ │ [ ] IDE Taskfile Access │ │
│ │ --- IDE chipset support/bugfixes │ │
│ │ <*> generic/default IDE chipset support │ │
│ │ [ ] CMD640 chipset bugfix/support │ │
│ │ [*] PCI IDE chipset support │ │
│ │ [*] Sharing PCI IDE interrupts support │ │
│ │ [ ] Boot off-board chipsets first support │ │
│ │ <*> Generic PCI IDE Chipset Support │ │
│ │ < > OPTi 82C621 chipset enhanced support (EXPERIMENTAL) │ │
│ │ < > RZ1000 chipset bugfix/support │ │
│ │ [*] Generic PCI bus-master DMA support │ │
│ │ [ ] Force enable legacy 2.0.X HOSTS to use DMA │ │
│ │ [*] Use PCI DMA by default when available │ │
│ │ [ ] Enable DMA only for disks │ │
│ │ < > AEC62XX chipset support │ │
│ │ < > ALI M15x3 chipset support │ │
│ │ < > AMD and nVidia IDE support │ │
│ │ < > ATI IXP chipset IDE support │ │
│ │ < > CMD64{3|6|8|9} chipset support │ │
│ │ < > Compaq Triflex IDE support │ │
│ │ < > CY82C693 chipset support │ │
│ │ < > Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL) │ │
│ │ < > Cyrix/National Semiconductor CS5530 MediaGX chipset support │ │
│ │ < > AMD CS5535 chipset support │ │
│ │ < > HPT34X chipset support │ │
│ │ < > HPT36X/37X chipset support │ │
│ │ < > National SCx200 chipset support │ │
│ │ < > Intel PIIXn chipsets support │ │
│ │ < > IT821X IDE support │ │
│ │ < > NS87415 chipset support │ │
│ │ < > PROMISE PDC202{46|62|65|67} support │ │
│ │ < > PROMISE PDC202{68|69|70|71|75|76|77} support │ │
│ │ < > ServerWorks OSB4/CSB5/CSB6 chipsets support │ │
│ │ < > Silicon Image chipset support │ │
│ │ < > SiS5513 chipset support │ │
│ │ < > SLC90E66 chipset support │ │
│ │ < > Tekram TRM290 chipset support │ │
│ │ < > VIA82CXXX chipset support │ │
│ │ [ ] IGNORE word93 Validation BITS │ │[/b]
Inviato: mer 19 lug 2006, 14:50
da manolo
DD0p ha scritto:...il problema è da poco, da quando ho il 2.6.17.5...
A mio parere dovresti ricompilare, ponendo attenzione sia ai parametri del tuo hardware (in specifico il chipset della motherboard) sia a quelli relativi al DMA.
make mrproper cancella tutte le eventuali impostazioni di configurazione precedenti
│ │ < > AEC62XX chipset support │ │
│ │ < > ALI M15x3 chipset support │ │
│ │ < > AMD and nVidia IDE support │ │
│ │ < > ATI IXP chipset IDE support │ │
│ │ < > CMD64{3|6|8|9} chipset support │ │
│ │ < > Compaq Triflex IDE support │ │
│ │ < > CY82C693 chipset support │ │
│ │ < > Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL) │ │
│ │ < > Cyrix/National Semiconductor CS5530 MediaGX chipset support │ │
│ │ < > AMD CS5535 chipset support │ │
│ │ < > HPT34X chipset support │ │
│ │ < > HPT36X/37X chipset support │ │
│ │ < > National SCx200 chipset support │ │
│ │ < > Intel PIIXn chipsets support │ │
│ │ < > IT821X IDE support │ │
│ │ < > NS87415 chipset support │ │
│ │ < > PROMISE PDC202{46|62|65|67} support │ │
│ │ < > PROMISE PDC202{68|69|70|71|75|76|77} support │ │
│ │ < > ServerWorks OSB4/CSB5/CSB6 chipsets support │ │
│ │ < > Silicon Image chipset support │ │
│ │ < > SiS5513 chipset support │ │
│ │ < > SLC90E66 chipset support │ │
│ │ < > Tekram TRM290 chipset support │ │
│ │ < > VIA82CXXX chipset support │ │
Così a occhio (ma potrei sbagliarmi) sembra che tu non abbia inserito il supporto al tuo chipset...