Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: DMA проблеми с TOSHIBA DVD-ROM SD-M1202 (kernel 2.6.10)


  • Subject: Re: lug-bg: DMA проблеми с TOSHIBA DVD-ROM SD-M1202 (kernel 2.6.10)
  • From: Andrey Andreev <andreev@xxxxxxxxxxxxxx>
  • Date: Wed, 02 Mar 2005 16:37:27 +0200

Delian Krustev wrote:
On Wednesday 02 March 2005 11:50, Andrey Andreev wrote:
HDPARM(8):
       -k     Get/set  the  keep_settings_over_reset  flag  for the drive.
              When this flag is set, the driver  will  preserve  the  -dmu
              options  over a soft reset, (as done during the error recov-
              ery sequence).  This flag defaults to off, to prevent  drive
              reset  loops  which  could be caused by combinations of -dmu
              settings.  The -k flag should therefore only  be  set  after
              one has achieved confidence in correct system operation with
              a chosen set of configuration settings.   In  practice,  all
              that  is  typically necessary to test a configuration (prior
              to using -k) is to verify that the drive can  be  read/writ-
              ten,  and that no error logs (kernel messages) are generated
              in the process (look in /var/adm/messages on most  systems).

       -K     Set the drive's keep_features_over_reset flag.  Setting this
              enables the drive to retain the settings for -APSWXZ over  a
              soft  reset  (as  done  during the error recovery sequence).
              Not all drives support this feature.




cibo:~# hdparm -k 1 -K 1 -d1 -u1 /dev/hdd

/dev/hdd:
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 setting keep_settings to 1 (on)
 setting drive keep features to 1 (on)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  1 (on)
cibo:~# hdparm  /dev/hdd

/dev/hdd:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  1 (on)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument

След което dmesg дава

hdd: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdd: drive_cmd: error=0x04Aborted Command
hdd: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdd: status error: error=0x00
hdd: drive not ready for command

и т.н. както преди, и след което:

cibo:~# hdparm  /dev/hdd

/dev/hdd:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off)
 keepsettings =  1 (on)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument

DMA пак е спряно!

DVD-четецът по принцип чете (рипнах си диска и го изгледах от харда си
без грешки и проблеми), но без DMA не става за гледане на DVDта.


Oпитай и с друго DVD. Прилича ми на надраскан диск, или такъв който не си
пасва с устройството.

Пробвах, а и DVDто е чисто ново и съвсем истинско.

Поздрави,

Андро


--
Andrey Andreev
University of Helsinki
Dept. of Computer Science
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.