* Burning a CD image slow down my connection
@ 2001-09-25 7:05 [A]ndy80
2001-09-25 9:39 ` Alan Cox
2001-09-25 16:34 ` Karel Kulhavy
0 siblings, 2 replies; 13+ messages in thread
From: [A]ndy80 @ 2001-09-25 7:05 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hi
If, (for example), I'm downloading a file at 4 k/s and then I start to
burn an image, some files or other thing from my HD to a CD-R, the
connection speed goes to 0,1 or 1 k/s max.
This happen since 2.4.x kernel series.
--
[A]ndy80 - andy80@ptlug.org
GPG Key: http://www.ptlug.org/andy80_key.asc
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 7:05 Burning a CD image slow down my connection [A]ndy80
@ 2001-09-25 9:39 ` Alan Cox
2001-09-25 10:13 ` [A]ndy80
2001-09-25 16:34 ` Karel Kulhavy
1 sibling, 1 reply; 13+ messages in thread
From: Alan Cox @ 2001-09-25 9:39 UTC (permalink / raw)
To: [A]ndy80; +Cc: Linux Kernel Mailing List
> If, (for example), I'm downloading a file at 4 k/s and then I start to
> burn an image, some files or other thing from my HD to a CD-R, the
> connection speed goes to 0,1 or 1 k/s max.
>
> This happen since 2.4.x kernel series.
Make sure you have DMA enabled for your IDE cd-rom or ide unmasking enabled
for it (see man hdparm)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 9:39 ` Alan Cox
@ 2001-09-25 10:13 ` [A]ndy80
2001-09-25 10:21 ` Dr. Michael Weller
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: [A]ndy80 @ 2001-09-25 10:13 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
Hi
> Make sure you have DMA enabled for your IDE cd-rom or ide unmasking
enabled
> for it (see man hdparm)
these are my settings for my 2 HD:
hdparm -c 1 -d 1 -k 1 /dev/hda
hdparm -c 1 -d 1 -k 1 /dev/hdb
I've my Plextor Writer as secondary master seen as a scsi device and if
I try do use hdparm it says:
[root@piccoli shady]# hdparm -t /dev/cdrom
/dev/cdrom not supported by hdparm
What else ahve I to enable?
--
[A]ndy80 - andy80@ptlug.org
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 10:13 ` [A]ndy80
@ 2001-09-25 10:21 ` Dr. Michael Weller
2001-09-25 10:40 ` Nicholas Knight
2001-09-25 12:24 ` [A]ndy80
2001-09-25 11:17 ` Gerold Jury
2001-09-25 22:16 ` Jacek Popławski
2 siblings, 2 replies; 13+ messages in thread
From: Dr. Michael Weller @ 2001-09-25 10:21 UTC (permalink / raw)
To: [A]ndy80; +Cc: Linux Kernel Mailing List
On 25 Sep 2001, [A]ndy80 wrote:
> I've my Plextor Writer as secondary master seen as a scsi device and if
> I try do use hdparm it says:
>
> [root@piccoli shady]# hdparm -t /dev/cdrom
> /dev/cdrom not supported by hdparm
Hmm, /dev/cdrom would typically be a link. You might try to apply hdparm
to where the link points to, but I cannot really believe hdparm doesn't
follow links.
Normally /dev/cdrom should point to /dev/hdc in your case. I somewhat
suspect that it points to /dev/scd0. If so, can you actually
mount the cdrom? The ide2scsi device emulation basically just passes
scsi commands as atapi commands over the ide bus (since atapi just
use the scsi commands but tunnel them over ide). I'm surprised this also
works for cdroms. I wasn't aware of the fact they are ATAPI and thus
support the scsi command set. Maybe the cdwriters are special in that
context.
Anyway, you'll have to point hdparm to the ide device for your
writer/cdrom.
Michael.
--
Michael Weller: eowmob@exp-math..uni-essen.de, eowmob@ms.exp-math.uni-essen.de,
or even mat42b@spi.power.uni-essen.de. If you encounter an eowmob account on
any machine in the net, it's very likely it's me.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 10:21 ` Dr. Michael Weller
@ 2001-09-25 10:40 ` Nicholas Knight
2001-09-25 12:24 ` [A]ndy80
1 sibling, 0 replies; 13+ messages in thread
From: Nicholas Knight @ 2001-09-25 10:40 UTC (permalink / raw)
To: Dr. Michael Weller, [A]ndy80; +Cc: Linux Kernel Mailing List
On Tuesday 25 September 2001 03:21 am, Dr. Michael Weller wrote:
> On 25 Sep 2001, [A]ndy80 wrote:
> > I've my Plextor Writer as secondary master seen as a scsi device
> > and if I try do use hdparm it says:
> >
> > [root@piccoli shady]# hdparm -t /dev/cdrom
> > /dev/cdrom not supported by hdparm
>
> Hmm, /dev/cdrom would typically be a link. You might try to apply
> hdparm to where the link points to, but I cannot really believe
> hdparm doesn't follow links.
>
> Normally /dev/cdrom should point to /dev/hdc in your case. I somewhat
> suspect that it points to /dev/scd0. If so, can you actually
> mount the cdrom? The ide2scsi device emulation basically just passes
> scsi commands as atapi commands over the ide bus (since atapi just
> use the scsi commands but tunnel them over ide). I'm surprised this
> also works for cdroms. I wasn't aware of the fact they are ATAPI and
> thus support the scsi command set. Maybe the cdwriters are special in
> that context.
My DVD-ROM drive and Plextor PlexWriter CD-RW drive both function under
the idescsi emulation driver. *All* current IDE CD writers are ATAPI
and REQUIRE idescsi (or in windows, an ASPI layer) in order to be used
as a cd writer.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 10:13 ` [A]ndy80
2001-09-25 10:21 ` Dr. Michael Weller
@ 2001-09-25 11:17 ` Gerold Jury
2001-09-25 22:16 ` Jacek Popławski
2 siblings, 0 replies; 13+ messages in thread
From: Gerold Jury @ 2001-09-25 11:17 UTC (permalink / raw)
To: [A]ndy80; +Cc: linux-kernel
Since you use the scsi emulation for your writer you need to use hdparm on
the original ide device that you passed to the emulation rather than the
emulated scsi device.
eg use hdparm -whatever /dev/hdc
and not hdparm -whatever /dev/scd0 or /dev/cdrom
On Tuesday 25 September 2001 12:13, [A]ndy80 wrote:
> Hi
> [root@piccoli shady]# hdparm -t /dev/cdrom
> /dev/cdrom not supported by hdparm
>
> What else ahve I to enable?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 10:21 ` Dr. Michael Weller
2001-09-25 10:40 ` Nicholas Knight
@ 2001-09-25 12:24 ` [A]ndy80
2001-09-25 12:30 ` Dr. Michael Weller
2001-09-25 13:59 ` Kurt Garloff
1 sibling, 2 replies; 13+ messages in thread
From: [A]ndy80 @ 2001-09-25 12:24 UTC (permalink / raw)
To: Dr. Michael Weller; +Cc: Linux Kernel Mailing List
Hi
> Hmm, /dev/cdrom would typically be a link. You might try to apply hdparm
> to where the link points to, but I cannot really believe hdparm doesn't
> follow links.
yes it's a link to /dev/scd0 and I CAN mount it, because my IDE cdrom is
seen as scsi. In lilo.conf I've this line: append="hdd=ide-scsi
hdc=ide-scsi" (read CD-WRITING HOWTO for more information)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 12:24 ` [A]ndy80
@ 2001-09-25 12:30 ` Dr. Michael Weller
2001-09-25 13:59 ` Kurt Garloff
1 sibling, 0 replies; 13+ messages in thread
From: Dr. Michael Weller @ 2001-09-25 12:30 UTC (permalink / raw)
To: [A]ndy80; +Cc: Linux Kernel Mailing List
On 25 Sep 2001, [A]ndy80 wrote:
> Hi
>
> > Hmm, /dev/cdrom would typically be a link. You might try to apply hdparm
> > to where the link points to, but I cannot really believe hdparm doesn't
> > follow links.
>
> yes it's a link to /dev/scd0 and I CAN mount it, because my IDE cdrom is
> seen as scsi. In lilo.conf I've this line: append="hdd=ide-scsi
> hdc=ide-scsi" (read CD-WRITING HOWTO for more information)
Ok, so you should run hdparm on /dev/hdc in your case (master on second
bus). You can not expect (well, actually, why not?). hdparm to realite
this is no real scsi device and figure out the right ide device to
configure the drive interface accordingly.
BTW, with regards to your last mesg: I'm well aware you need the ide-scsi
layer and generic scsi devices for ide burners.
However, you can mount /dev/hdc directly for ide cdroms.
So, I was wondering if all (well, most) ide cdroms are atapi and the
kernel cleverly realizes you address a cdrom as /dev/hdc and just uses
those atapi commands and that means, as far as cdroms go, the ide-scsi
part is always embedded in the /dev/hd driver.
OR
if, as I assumed up to now, ide cdroms have a specific CDROM commandset,
maybe just support disk drive style read commands to access the cd data,
such that using ide-scsi and accessing as /dev/scd0 will not always work.
And if so, ide burners might be special since the are used to be addressed
through an aspi driver anyway.
Michael.
--
Michael Weller: eowmob@exp-math.uni-essen.de, eowmob@ms.exp-math.uni-essen.de,
or even mat42b@spi.power.uni-essen.de. If you encounter an eowmob account on
any machine in the net, it's very likely it's me.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
@ 2001-09-25 12:32 Nicholas Berry
0 siblings, 0 replies; 13+ messages in thread
From: Nicholas Berry @ 2001-09-25 12:32 UTC (permalink / raw)
To: <Linux Kernel Mailing List
>Hi
>
>> Hmm, /dev/cdrom would typically be a link. You might try to apply hdparm
>> to where the link points to, but I cannot really believe hdparm doesn't
>> follow links.
>
>yes it's a link to /dev/scd0 and I CAN mount it, because my IDE cdrom is
>seen as scsi. In lilo.conf I've this line: append="hdd=ide-scsi
>hdc=ide-scsi" (read CD-WRITING HOWTO for more information)
To re-iterate a previous answer, you must run hdparm against '/dev/hdd', _not_ '/dev/scd0'.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 12:24 ` [A]ndy80
2001-09-25 12:30 ` Dr. Michael Weller
@ 2001-09-25 13:59 ` Kurt Garloff
1 sibling, 0 replies; 13+ messages in thread
From: Kurt Garloff @ 2001-09-25 13:59 UTC (permalink / raw)
To: [A]ndy80; +Cc: Dr. Michael Weller, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
On Tue, Sep 25, 2001 at 02:24:54PM +0200, [A]ndy80 wrote:
> Hi
>
> > Hmm, /dev/cdrom would typically be a link. You might try to apply hdparm
> > to where the link points to, but I cannot really believe hdparm doesn't
> > follow links.
>
> yes it's a link to /dev/scd0 and I CAN mount it, because my IDE cdrom is
> seen as scsi. In lilo.conf I've this line: append="hdd=ide-scsi
> hdc=ide-scsi" (read CD-WRITING HOWTO for more information)
Try appending ide1=dma to the boot options then. It might break on your
machine, so first try manually.
Regards,
--
Kurt Garloff <garloff@suse.de> Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, DE SCSI, Security
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 7:05 Burning a CD image slow down my connection [A]ndy80
2001-09-25 9:39 ` Alan Cox
@ 2001-09-25 16:34 ` Karel Kulhavy
2001-09-25 18:46 ` Kristian Peters
1 sibling, 1 reply; 13+ messages in thread
From: Karel Kulhavy @ 2001-09-25 16:34 UTC (permalink / raw)
To: linux-kernel
> Hi
>
Aren't you connected over a serial port (modem)? I have the same problem,
but not when burning an image, but when dumping long cunks of data from CD
(for example, when studying a content of audio CD). I just see a big packet
loss.
Clock
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 16:34 ` Karel Kulhavy
@ 2001-09-25 18:46 ` Kristian Peters
0 siblings, 0 replies; 13+ messages in thread
From: Kristian Peters @ 2001-09-25 18:46 UTC (permalink / raw)
To: Karel Kulhavy; +Cc: linux-kernel
Karel Kulhavy wrote:
> Aren't you connected over a serial port (modem)? I have the same problem,
> but not when burning an image, but when dumping long cunks of data from CD
> (for example, when studying a content of audio CD). I just see a big packet
> loss.
That's definitely DMA related. I have an old cdwriter that don't understands it
and so the whole bus is extremely busy during writing. Even my harddisk is very
slow as well as modem and other things. PCI and ISA cards seem not related.
(Send packets over tr0 && eth0 without any loss.)
Kristian
·· · · reach me :: · ·· ·· · · ·· · ·· · ··· · ·
:: http://www.korseby.net
:: http://www.tomlab.de
kristian@korseby.net ....::
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Burning a CD image slow down my connection
2001-09-25 10:13 ` [A]ndy80
2001-09-25 10:21 ` Dr. Michael Weller
2001-09-25 11:17 ` Gerold Jury
@ 2001-09-25 22:16 ` Jacek Popławski
2 siblings, 0 replies; 13+ messages in thread
From: Jacek Popławski @ 2001-09-25 22:16 UTC (permalink / raw)
To: linux-kernel
On Tue, Sep 25, 2001 at 12:13:16PM +0200, [A]ndy80 wrote:
> hdparm -c 1 -d 1 -k 1 /dev/hda
"-u 1" helps here (I am connected to Net by serial port)
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2001-09-25 22:18 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-25 7:05 Burning a CD image slow down my connection [A]ndy80
2001-09-25 9:39 ` Alan Cox
2001-09-25 10:13 ` [A]ndy80
2001-09-25 10:21 ` Dr. Michael Weller
2001-09-25 10:40 ` Nicholas Knight
2001-09-25 12:24 ` [A]ndy80
2001-09-25 12:30 ` Dr. Michael Weller
2001-09-25 13:59 ` Kurt Garloff
2001-09-25 11:17 ` Gerold Jury
2001-09-25 22:16 ` Jacek Popławski
2001-09-25 16:34 ` Karel Kulhavy
2001-09-25 18:46 ` Kristian Peters
-- strict thread matches above, loose matches on Subject: below --
2001-09-25 12:32 Nicholas Berry
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.