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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: cdrom reading ?


  • Subject: Re: lug-bg: cdrom reading ?
  • From: Viktor Vasilev <viktor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 20 Oct 2003 15:49:00 +0200
  • Mail-followup-to: lug-bg@xxxxxxxxxxxxxxxxxx

On Mon, Oct 20, 2003 at 03:55:00PM +0300, raptor wrote:
>  # dmesg | grep hd
> ide_setup: hdc=ide-scsi
> hda: ST380021A, ATA DISK drive
> hdc: SONY CD-RW CRX175A1, ATAPI CD/DVD-ROM drive
> hda: attached ide-disk driver.
> hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63
>     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
>     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
> hdc: attached ide-scsi driver.

ti puskash ATAPI CD-RW sys scsi emulaciq. mojesh da vidish dali naistina 
e taka sys 'cat /proc/scsi/scsi' ili 'cat /proc/sys/dev/cdrom/info'.
vyv http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/sr.html pishe, che vse oshte 
mojesh da polzvash hdparm vyrhu /dev/hdX za da pusnesh DMA. 

> 
>  # hdparm /dev/hda
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 9729/255/63, sectors = 156301488, start = 0
> 
> # hdparm /dev/hdc
> /dev/hdc: No such file or directory

ako izpolzvash devfs i /dev/hdc osystva, potyrsi s google, ima nqkakvi 
resheniq. citat:
http://cert.uni-stuttgart.de/archive/debian/user/2002/11/msg00530.html
Simplest workaround:

cd ~root
mkdir devs
cd devs
MAKEDEV hda hdb hdc hdd hde hdf

now, use hdparm on this nodes.

> > hdparm e za IDE devices

ATA devices.


ycnex,

viktor

-- 
He who asks is a fool for five minutes, but he 
who does not ask reamins a fool forever.
     Old Chinese saying
============================================================================
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.