2001-07-17 23:04:41

by James Stevenson

[permalink] [raw]
Subject: serious cd writer kernel bug 2.4.x


Hi

basically i am having serious problems with a cd writer since i moved to
2.4.x it works fine under 2.2.x though this seems to happen on access to
the writer at any time have not even tried to write to it yet.

if a program trys to access the device i get the logs below followed
by an opps (no opps output yet my serial logged is messing up)


Jul 17 22:31:04 beast kernel: scsi : aborting command due to timeout : pid
0, scsi0, channel 0, id 0, lun 0 0x1b 01 00 00 00 00
Jul 17 22:31:04 beast kernel: hdc: irq timeout: status=0xd0 { Busy }
Jul 17 22:31:04 beast kernel: hdc: DMA disabled
Jul 17 22:31:06 beast kernel: hdc: ATAPI reset complete
Jul 17 22:31:06 beast kernel: hdc: irq timeout: status=0xd0 { Busy }
Jul 17 22:31:10 beast kernel: hdc: ATAPI reset complete
Jul 17 22:31:10 beast kernel: hdc: irq timeout: status=0xd0 { Busy }
Jul 17 22:31:10 beast kernel: scsi0 channel 0 : resetting for second half
of retries.
Jul 17 22:31:10 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:11 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:11 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:12 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:12 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:13 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:13 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:14 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:14 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:15 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:15 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:17 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:17 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:19 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:19 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:20 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:20 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:21 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:21 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:22 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:22 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:23 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:23 beast kernel: SCSI bus is being reset for host 0 channel
0.


the devices are as follows the 44x drive works fine. the other one does
not.

hdc: HP CD-Writer+ 7200, ATAPI CD/DVD-ROM drive
hdd: IDE/ATAPI CD-ROM 44X, ATAPI CD/DVD-ROM drive

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 7200 Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Vendor: ATAPI Model: CD-ROM 44X Rev: T4C2
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0

i will try to get the info on the opps but it most of it scolls off the
top of the screen. i have been able to reproduce this 100% so far
any help would be usefull.


thanks
James

--
---------------------------------------------
Web: http://www.stev.org
Mobile: +44 07779080838
E-Mail: [email protected]
10:30pm up 26 min, 3 users, load average: 0.15, 0.03, 0.06


2001-07-17 23:27:04

by JorgP

[permalink] [raw]
Subject: RE: serious cd writer kernel bug 2.4.x

I experience almost the exact same thing with my cd-rw.
PlexWriter 8/4/32A, does the same thing, and if I compile the modules
ide-scsi and scsi
directly into the kernel, whenever I access the cd-rw at all (try to mount a
valid filesystem) entire system locks and have to hard reboot.. I can access
the cd-rom just fine and both drives work fine in windows 2000 (I dual
boot). I am using stock Mandrake 8.0 with 2.4.6-ac2 kernel. I can run
cdrecord --scanbus and it sees the cd-rw fine
once I try to access the drive at all using mount or otherwise, it just
hangs. When using modules is just hangs the drive and cdrecord --scanbus
hangs when you run it, when compiling ide-scsi and scsi into the kernel, it
hard locks the machine.
Note that I am using AMD 1.3 w/ 512Meg ram with an MSI 6330-K7T PRO A (uses
VIA KT133 chipset) latest kernel I have tried is 2.4.6-ac2 did not help at
all. I also have DMA completely disabled in the BIOS, I seem to have read
that somewhere in LKML, so the drives are using PIO 4 mode, did not help at
all.

hda - disk 1
hdb - disk 2
hdc - cd-rom
hdd - cd-rw

what I have currently have in lilo.conf is
append hdd=ide-scsi in lilo.conf

not sure what to do now.. CD-RW is completely useless right now in linux, so
I just create my iso images and move them to windows to burn them.

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of James Stevenson
Sent: Tuesday, July 17, 2001 5:52 PM
To: Linux Kernel
Subject: serious cd writer kernel bug 2.4.x



Hi

basically i am having serious problems with a cd writer since i moved to
2.4.x it works fine under 2.2.x though this seems to happen on access to
the writer at any time have not even tried to write to it yet.

if a program trys to access the device i get the logs below followed
by an opps (no opps output yet my serial logged is messing up)


Jul 17 22:31:04 beast kernel: scsi : aborting command due to timeout : pid
0, scsi0, channel 0, id 0, lun 0 0x1b 01 00 00 00 00
Jul 17 22:31:04 beast kernel: hdc: irq timeout: status=0xd0 { Busy }
Jul 17 22:31:04 beast kernel: hdc: DMA disabled
Jul 17 22:31:06 beast kernel: hdc: ATAPI reset complete
Jul 17 22:31:06 beast kernel: hdc: irq timeout: status=0xd0 { Busy }
Jul 17 22:31:10 beast kernel: hdc: ATAPI reset complete
Jul 17 22:31:10 beast kernel: hdc: irq timeout: status=0xd0 { Busy }
Jul 17 22:31:10 beast kernel: scsi0 channel 0 : resetting for second half
of retries.
Jul 17 22:31:10 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:11 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:11 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:12 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:12 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:13 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:13 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:14 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:14 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:15 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:15 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:17 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:17 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:19 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:19 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:20 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:20 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:21 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:21 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:22 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:22 beast kernel: SCSI bus is being reset for host 0 channel
0.
Jul 17 22:31:23 beast kernel: scsi0 : channel 0 target 0 lun 0 request
sense failed, performing reset.
Jul 17 22:31:23 beast kernel: SCSI bus is being reset for host 0 channel
0.


the devices are as follows the 44x drive works fine. the other one does
not.

hdc: HP CD-Writer+ 7200, ATAPI CD/DVD-ROM drive
hdd: IDE/ATAPI CD-ROM 44X, ATAPI CD/DVD-ROM drive

SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 7200 Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02
Vendor: ATAPI Model: CD-ROM 44X Rev: T4C2
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0

i will try to get the info on the opps but it most of it scolls off the
top of the screen. i have been able to reproduce this 100% so far
any help would be usefull.


thanks
James

--
---------------------------------------------
Web: http://www.stev.org
Mobile: +44 07779080838
E-Mail: [email protected]
10:30pm up 26 min, 3 users, load average: 0.15, 0.03, 0.06

2001-07-17 23:42:46

by James Stevenson

[permalink] [raw]
Subject: RE: serious cd writer kernel bug 2.4.x

Hi

> I experience almost the exact same thing with my cd-rw.
> PlexWriter 8/4/32A, does the same thing, and if I compile the modules
> ide-scsi and scsi

> directly into the kernel, whenever I access the cd-rw at all (try to mount a
> valid filesystem) entire system locks and have to hard reboot.. I can access

i am not running modules but the ide-scsi stuff is compiled into the
kernel both drives are running under the scsi-emu.
can you also access the cd rom fine under linux.

the cd-rom works fine for me
as soon as i touch the writer it dies.

> boot). I am using stock Mandrake 8.0 with 2.4.6-ac2 kernel. I can run
> cdrecord --scanbus and it sees the cd-rw fine

i am also running mandrake 8.0 and cdrecord works up to that point
i have seen it crash under.

2.4.3
2.4.4
2.4.5
2.4.5-ac15
2.4.6
2.4.6-ac5

i have not tried earlery kernels for various other resons.

> hda - disk 1
> hdb - disk 2
> hdc - cd-rom
> hdd - cd-rw

almost like that but its
hda - disk 1
hdb - disk 2
hdc - cd writer
hdd - cd rom


--
---------------------------------------------
Web: http://www.stev.org
Mobile: +44 07779080838
E-Mail: [email protected]
12:30am up 35 min, 6 users, load average: 1.90, 2.32, 2.30

2001-07-18 00:57:10

by Steven Walter

[permalink] [raw]
Subject: Re: serious cd writer kernel bug 2.4.x

I had a problem similar to this until I turned off DMA to the drive
(hdparm -d0 /dev/hdc). Additionally, my drive now works with DMA after
apply Andre Hedrick's IDE patch.

On Wed, Jul 18, 2001 at 12:42:31AM +0000, James Stevenson wrote:
> Hi
>
> > I experience almost the exact same thing with my cd-rw.
> > PlexWriter 8/4/32A, does the same thing, and if I compile the modules
> > ide-scsi and scsi
>
> > directly into the kernel, whenever I access the cd-rw at all (try to mount a
> > valid filesystem) entire system locks and have to hard reboot.. I can access
>
> i am not running modules but the ide-scsi stuff is compiled into the
> kernel both drives are running under the scsi-emu.
> can you also access the cd rom fine under linux.
>
> the cd-rom works fine for me
> as soon as i touch the writer it dies.
>
> > boot). I am using stock Mandrake 8.0 with 2.4.6-ac2 kernel. I can run
> > cdrecord --scanbus and it sees the cd-rw fine
>
> i am also running mandrake 8.0 and cdrecord works up to that point
> i have seen it crash under.
>
> 2.4.3
> 2.4.4
> 2.4.5
> 2.4.5-ac15
> 2.4.6
> 2.4.6-ac5
>
> i have not tried earlery kernels for various other resons.
>
> > hda - disk 1
> > hdb - disk 2
> > hdc - cd-rom
> > hdd - cd-rw
>
> almost like that but its
> hda - disk 1
> hdb - disk 2
> hdc - cd writer
> hdd - cd rom
>
>
> --
> ---------------------------------------------
> Web: http://www.stev.org
> Mobile: +44 07779080838
> E-Mail: [email protected]
> 12:30am up 35 min, 6 users, load average: 1.90, 2.32, 2.30
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
-- George Orwell

2001-07-18 01:09:43

by James Stevenson

[permalink] [raw]
Subject: Re: serious cd writer kernel bug 2.4.x


Hi

hum strange it does not get an opps anymore but still gets the
errors and still does not work.

i might try the IDE patch in the morning

On Tue, 17 Jul 2001, Steven Walter wrote:

> I had a problem similar to this until I turned off DMA to the drive
> (hdparm -d0 /dev/hdc). Additionally, my drive now works with DMA after
> apply Andre Hedrick's IDE patch.
>
>

--
---------------------------------------------
Web: http://www.stev.org
Mobile: +44 07779080838
E-Mail: [email protected]
2:00am up 2:05, 6 users, load average: 0.00, 0.00, 0.00

2001-07-18 04:01:14

by Byeong-ryeol Kim

[permalink] [raw]
Subject: RE: serious cd writer kernel bug 2.4.x

On Tue, 17 Jul 2001, Jorg Pitts (306170) wrote:
...
>what I have currently have in lilo.conf is
>append hdd=ide-scsi in lilo.conf
...

Since only the option, 'hdx=scsi' is mentioned in Configure.help of
both latest 2.4.7-pre6 and 2.4.6-ac4 kernel, I'm somewhat confused.
Which is the correct one, or both?

--
Where there is a will, there is a way. [email protected]
For the future of you and me! [email protected]
fingerprint = 1429 8AAF 8A2C 6043 DA2E BD4C 964C 2698 687D 4B7D