problem s cd/dvdrom
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 3155 0.0 0.1 8080 704 ? D 11:23 0:00 hald-addon-storage: polling /dev/hdc
Nejaky dalsi prikaz napr. mount /dev/hdc takisto zamrzne so statusom D. Zrejme je potrebne nastavit PIO/DMA rezimy. V biose mam obe nastavene na 'auto'.
Nevie niekto poradit ako to riesit? Vdaka.
Pre pridávanie komentárov sa musíte prihlásiť.
otazka je aka je to vobec doska, verzia jadra - moze byt ze sa nepohodol ovladac radica diskov s cdrom, alebo kabel -moze byt ze je zle zasunuty (datovy aj napajaci), popripade ci vobec stiha zdroj.
vypisy hdparm -i /dev/cdrom z obidvoch verzii distribucie si mohol dat uz davno, alebo si aspon pozriet aky je tam rozdiel a v com.
inac kedze je to notebook tak by som sa ani nedivil keby mal nie priliz kompatibilnu verziu biosu s linuxom alebo ak by sa s tebou ta mechanika pomaly lucila a balila si kable na cestu do kremikoveho neba. skus sa priznat ako dlho nosis ten notebook a kolko krat si v mechanike pocas prenosu zabudol medium. a kolko krat si s nim buchol o zem alebo o nejaky roh ... to vsetko skodi mechanickym castiam ...
mne zvykla odist mechanika na NB za cca pol roka (o kvalite HW pomlcim). najprv mala problem s nejakymi mediami, potom obcas po sebe neprecitala vypalene data alebo to po nej neprecitala ina mechanika. az mi na koniec zamavala :-) samozrejme ze robila aj ine psie kusy, ale aspon mi s tymi mechanikami bolo veselo ...
lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] Unknown device 0756 (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:09.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
00:0a.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
00:0a.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
00:0a.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 01d7 (rev a1)
hdparm -iI /dev/hdc
/dev/hdc:
Model=TSSTcorpCD/DVDW TS-L632D, FwRev=AS04, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:227,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
AdvancedPM=no
* signifies the current active mode
ATAPI CD-ROM, with removable media
Model Number: TSSTcorpCD/DVDW TS-L632D
Serial Number:
Firmware Revision: AS04
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
HW reset results:
CBLID- below Vih
Device num = 0
hdparm -tT /dev/hdc
/dev/hdc:
Timing cached reads: 2064 MB in 2.00 seconds = 1030.77 MB/sec
Timing buffered disk reads: 4 MB in 4.04 seconds = 1012.64 kB/sec
lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] Unknown device 0756 (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:09.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
00:0a.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
00:0a.2 Generic system peripheral [Class 0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
00:0a.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 08)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 110M / GeForce Go 7300 (rev a1)
hdparm -iI /dev/hdc
/dev/hdc:
Model=TSSTcorpCD/DVDW TS-L632D, FwRev=AS04, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:227,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
AdvancedPM=no
* signifies the current active mode
ATAPI CD-ROM, with removable media
Model Number: TSSTcorpCD/DVDW TS-L632D
Serial Number:
Firmware Revision: AS04
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
HW reset results:
CBLID- below Vih
Device num = 0
hdparm -tT /dev/hdc
/dev/hdc:
Timing cached reads: 1012 MB in 2.00 seconds = 505.52 MB/sec
Timing buffered disk reads: 12 MB in 4.02 seconds = 2.99 MB/sec
/dev/hdc:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device
teda tych default 16-bit sa mi zda divnych, na dsktope mam na odoch cdrom nastavene 32-bit
v biose som nastavil PIO=0, DMA=UDMA2.
Do adresara /etc/init.d/rc5.d som pridal subor s nazvom S99dma a obsahom:
#!/bin/bash
#
#nastavenie DMA na /dev/hdc
#
/sbin/hdparm -d1 /dev/hdc
#koniec
Uz by ma len zaujimalo, ci je to korektne riesenie, a ci z toho nemam ocakavat nejake ine problemy. Dik za rady.
Jan 17 10:42:08 linux-v5ny kernel: hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Jan 17 10:42:08 linux-v5ny kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
este vypis z dmesg | grep hdc:
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hdc: TSSTcorpCD/DVDW TS-L632D, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
Takze sa mi to nezda moc ok, ale hdparm/dev/hdc ako aj mount /dev/hdc idu ok. Neviete co znamenaju tie chybove hlasenia a prip ako to riesit? Inac take sa objavolali sem tam aj v suse 10.1, myslim po tom co sa prepol rezim DMA na PIO. Vdaka.