Re: logs full of chatty IDE cdrom

Dr. David Alan Gilbert (gilbertd@treblig.org)
Sun, 11 May 2003 00:58:25 +0100


* Alan Cox (alan@lxorguk.ukuu.org.uk) wrote:

> That is interesting. Someone sent a SCSI command the it really didn't
> like. This isn't a dell 8100 or similar laptop is it btw ?

Nope, thats just a standard DVD; its plugged into one channel of a
Promise Ultra100 TX2; an Iomega Zip 100 is a slave on the same channel.
Everything works fine - the only problem is the log messages from audio
playing. /proc/ide/hde/settings is:

name value min max
mode
---- ----- --- --- ----
current_speed 0 0 70 rw
dsc_overlap 1 0 1 rw
ide-scsi 0 0 1 rw
init_speed 0 0 70 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
nice1 1 0 1 rw
number 0 0 3 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
unmaskirq 0 0 1 rw
using_dma 0 0 1 rw

My full set of IDE stuff is:

On board AMD 766 ViperPlus IDE:
hda - IBM Deathstar 60GB
hdc - Memorex CD-RW with ide-scsi

Promise Ultra100 TX2
hde - the offending DVD ROM
hdf - Iomega ZIP 100 ATAPI
hdg - IBM Deathstar 60GB

> I guess people with raw drive access should learn to program as well. You
> could play with drive->quiet I guess (I think its drive->quiet) but right
> now the IDE layer has no notion of how severe an error is although it has
> some idea who caused it. For 2.5.x passing quiet/loud in the taskfile is
> a viable extension for 2.4 its not so clear how you would do it nicely.

I guess I was really after a /proc/ide/hd?/verbosity to shut the drive
up independent of what application was trying to talk to it.

Dave
---------------- Have a happy GNU millennium! ----------------------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/