public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* scsi-cdrom lockup and ide-scsi problem (both EFS related)
@ 2000-10-31  1:11 Paul Jakma
  2000-10-31 23:31 ` Jens Axboe
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Jakma @ 2000-10-31  1:11 UTC (permalink / raw)
  To: Linux Kernel

hi,

I have 2 problems related to reading IRIX EFS cd's.

-------problem 1:

mounting an EFS cd from my Yamaha CDR-4416S SCSI CDRW consistently
causes a lockup when i try to read directory/file data from the CD. I
observed this initially with EFS CDR's, and assumed something had
gone wrong when burning that CD. But the exact same thing happens
with original SGI IRIX media. I have no problems with any of my EFS
CDs when accesed from an ATAPI CDROM.

i havn't been able to capture an oops, but the following made it to
the remote syslog host:

Oct 30 18:48:29 fogarty kernel: EFS: 1.0a -
http://aeschi.ch.eu.org/efs/ 
Oct 30 18:48:44 fogarty kernel: scsi0 channel 0 : resetting for
second half of retries. 
Oct 30 18:48:44 fogarty kernel: SCSI bus is being reset for host 0
channel 0. 
Oct 30 18:48:44 fogarty kernel: scsi0: Sending Bus Device Reset CCB
#10912 to Target 4 
Oct 30 18:48:44 fogarty kernel: scsi0: Bus Device Reset CCB #10912 to
Target 4 Completed 
Oct 30 18:48:44 fogarty kernel: Device 0b:00 not ready. 
Oct 30 18:48:44 fogarty kernel:  I/O error: dev 0b:00, sector 1233661 
Oct 30 18:48:44 fogarty kernel: EFS: readdir(): failed to read dir
block 0 
Oct 30 18:48:44 fogarty kernel: Device 0b:00 not ready. 
Oct 30 18:48:44 fogarty kernel:  I/O error: dev 0b:00, sector 1215956 
Oct 30 18:48:44 fogarty kernel: EFS: readdir(): failed to read dir
block 0 
Oct 30 18:48:44 fogarty kernel: Device 0b:00 not ready. 
Oct 30 18:48:44 fogarty kernel:  I/O error: dev 0b:00, sector 1236972 
Oct 30 18:48:44 fogarty kernel: EFS: readdir(): failed to read dir
block 0 
Oct 30 18:48:44 fogarty kernel: Device 0b:00 not ready. 
Oct 30 18:48:44 fogarty kernel:  I/O error: dev 0b:00, sector 1243717 
Oct 30 18:48:44 fogarty kernel: EFS: readdir(): failed to read dir
block 0 
Oct 30 18:48:44 fogarty kernel: Device 0b:00 not ready. 
Oct 30 18:48:44 fogarty kernel:  I/O error: dev 0b:00, sector 48130 
Oct 30 18:48:44 fogarty kernel: EFS: readdir(): failed to read dir
block 0

<box is locked>

------problem 2:

My IDE CDROM under ide-scsi emulation does not like trying to mount
EFS CDs, here are the logs of multiple mount attempts:

Oct 31 00:06:50 fogarty kernel: EFS: 1.0a -
http://aeschi.ch.eu.org/efs/ 
Oct 31 00:06:50 fogarty kernel: sr.c:Bad 2K block number requested (0
1) I/O error: dev 0b:01, sector 0 
Oct 31 00:06:50 fogarty kernel: EFS: cannot read volume header
Oct 31 00:06:53 fogarty kernel: Device not ready.  Make sure there is
a disc in the drive. 
Oct 31 00:06:56 fogarty kernel: Device not ready.  Make sure there is
a disc in the drive. 
Oct 31 00:06:59 fogarty kernel: Device not ready.  Make sure there is
a disc in the drive. 
Oct 31 00:07:20 fogarty kernel: sr.c:Bad 2K block number requested (0
1) I/O error: dev 0b:01, sector 0 
Oct 31 00:07:20 fogarty kernel: EFS: cannot read volume header 
Oct 31 00:07:32 fogarty kernel: ide-scsi: hdd: unsupported command in
request queue (0) 
Oct 31 00:07:32 fogarty kernel: end_request: I/O error, dev 16:40
(hdd), sector 0 
Oct 31 00:07:32 fogarty kernel: EFS: cannot read volume header 
Oct 31 00:07:49 fogarty kernel: sr.c:Bad 2K block number requested (0
1) I/O error: dev 0b:01, sector 0 
Oct 31 00:07:49 fogarty kernel: EFS: cannot read volume header 
Oct 31 00:07:56 fogarty kernel: sr.c:Bad 2K block number requested (0
1) I/O error: dev 0b:01, sector 0 
Oct 31 00:07:56 fogarty kernel: EFS: cannot read volume header

after this the CDROM behaves strange (gtoaster can't read data track,
which it could before), until i put another disk (eg audio) into it
first.

-----------------------

result:

to mount an EFS cd i have to use my IDE CDROM in ATAPI mode, as the
SCSI CDRW locks the machine.

then to burn an EFS cd i have to reboot and set my ATAPI CDROM to use
ide-scsi emulation - if i want to mount the CD for any reason i have
to reboot again to get the IDE CDROM back to pure ATAPI mode, then
reboot again for ide-scsi to burn a cd... slightly frustrating. :)

the devices are:
[root@fogarty xinetd.d]# cat /proc/scsi/scsi 
Attached devices: 
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: YAMAHA   Model: CRW4416S         Rev: 1.0g
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: CREATIVE Model: CD2422E  MC102   Rev: 1.02
  Type:   CD-ROM                           ANSI SCSI revision: 02

please contact me if you need further debugging info. 

regards,
-- 
Paul Jakma	paul@clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
%DCL-MEM-BAD, bad memory
VMS-F-PDGERS, pudding between the ears

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-10-31  1:11 scsi-cdrom lockup and ide-scsi problem (both EFS related) Paul Jakma
@ 2000-10-31 23:31 ` Jens Axboe
  2000-11-01  1:25   ` Paul Jakma
  2000-11-01  4:43   ` Miles Lane
  0 siblings, 2 replies; 9+ messages in thread
From: Jens Axboe @ 2000-10-31 23:31 UTC (permalink / raw)
  To: Paul Jakma; +Cc: Linux Kernel

On Tue, Oct 31 2000, Paul Jakma wrote:
> I have 2 problems related to reading IRIX EFS cd's.
> 
> -------problem 1:
> 
> mounting an EFS cd from my Yamaha CDR-4416S SCSI CDRW consistently
> causes a lockup when i try to read directory/file data from the CD. I
> observed this initially with EFS CDR's, and assumed something had
> gone wrong when burning that CD. But the exact same thing happens
> with original SGI IRIX media. I have no problems with any of my EFS
> CDs when accesed from an ATAPI CDROM.

Known problem, blocksizes != 2kb does not currently work
correctly with SCSI CD-ROM (it's even on Ted's list).

> My IDE CDROM under ide-scsi emulation does not like trying to mount
> EFS CDs, here are the logs of multiple mount attempts:

Same deal, SCSI CD-ROM driver. As you noted, pure ATAPI drive will
work just fine.

> ide-scsi emulation - if i want to mount the CD for any reason i have
> to reboot again to get the IDE CDROM back to pure ATAPI mode, then
> reboot again for ide-scsi to burn a cd... slightly frustrating. :)

rmmod ide-scsi ; insmod ide-cd
mount, etc
rmmod ide-cd ; insmod ide-scsi
burn

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-10-31 23:31 ` Jens Axboe
@ 2000-11-01  1:25   ` Paul Jakma
  2000-11-01  2:33     ` Jens Axboe
  2000-11-01  4:43   ` Miles Lane
  1 sibling, 1 reply; 9+ messages in thread
From: Paul Jakma @ 2000-11-01  1:25 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel

On Tue, 31 Oct 2000, Jens Axboe wrote:

> Known problem, blocksizes != 2kb does not currently work
> correctly with SCSI CD-ROM (it's even on Ted's list).
> 

doesn't work is one thing.. but an instant lockup? that's a bit
unfriendly. :)

> Same deal, SCSI CD-ROM driver. As you noted, pure ATAPI drive will
> work just fine.
> 

so once the scsi cdrom is fixed then ide-scsi should work too?

> rmmod ide-scsi ; insmod ide-cd
> mount, etc
> rmmod ide-cd ; insmod ide-scsi
> burn
> 

didn't think this was possible. will try that. thanks.

> 

regards,
-- 
Paul Jakma	paul@clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
The gent who wakes up and finds himself a success hasn't been asleep.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-11-01  2:33     ` Jens Axboe
@ 2000-11-01  1:40       ` Paul Jakma
  2000-11-01  1:54       ` Alan Cox
  1 sibling, 0 replies; 9+ messages in thread
From: Paul Jakma @ 2000-11-01  1:40 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel

On Tue, 31 Oct 2000, Jens Axboe wrote:

> It's untested behaviour at this point, all bets are off. It
> hasn't oopses here though...
> 

let me mail you an IRIX EFS CD.. :) 

(only half joking here. if you want one for testing let me know).

> > so once the scsi cdrom is fixed then ide-scsi should work too?
> 
> Yup

how far down the TODO list is it? (to this user anyway it's
important).

thanks for the answers jens,
-- 
Paul Jakma	paul@clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
The reason that every major university maintains a department of
mathematics is that it's cheaper than institutionalizing all those people.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-11-01  2:33     ` Jens Axboe
  2000-11-01  1:40       ` Paul Jakma
@ 2000-11-01  1:54       ` Alan Cox
  2000-11-01  3:10         ` Jens Axboe
  1 sibling, 1 reply; 9+ messages in thread
From: Alan Cox @ 2000-11-01  1:54 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Paul Jakma, Linux Kernel

> > > correctly with SCSI CD-ROM (it's even on Ted's list).
> > 
> > doesn't work is one thing.. but an instant lockup? that's a bit
> > unfriendly. :)
> 
> It's untested behaviour at this point, all bets are off. It
> hasn't oopses here though...

Not just CD either. SCSI disk has the same problem in 2.4 but not 2.2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-11-01  1:25   ` Paul Jakma
@ 2000-11-01  2:33     ` Jens Axboe
  2000-11-01  1:40       ` Paul Jakma
  2000-11-01  1:54       ` Alan Cox
  0 siblings, 2 replies; 9+ messages in thread
From: Jens Axboe @ 2000-11-01  2:33 UTC (permalink / raw)
  To: Paul Jakma; +Cc: Linux Kernel

On Wed, Nov 01 2000, Paul Jakma wrote:
> > Known problem, blocksizes != 2kb does not currently work
> > correctly with SCSI CD-ROM (it's even on Ted's list).
> > 
> 
> doesn't work is one thing.. but an instant lockup? that's a bit
> unfriendly. :)

It's untested behaviour at this point, all bets are off. It
hasn't oopses here though...

> > Same deal, SCSI CD-ROM driver. As you noted, pure ATAPI drive will
> > work just fine.
> > 
> 
> so once the scsi cdrom is fixed then ide-scsi should work too?

Yup

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-11-01  1:54       ` Alan Cox
@ 2000-11-01  3:10         ` Jens Axboe
  2000-11-01 12:47           ` Alan Cox
  0 siblings, 1 reply; 9+ messages in thread
From: Jens Axboe @ 2000-11-01  3:10 UTC (permalink / raw)
  To: Alan Cox; +Cc: Paul Jakma, Linux Kernel

On Wed, Nov 01 2000, Alan Cox wrote:
> > It's untested behaviour at this point, all bets are off. It
> > hasn't oopses here though...
> 
> Not just CD either. SCSI disk has the same problem in 2.4 but not 2.2

Disk too? I guess Eric broke more than he bargained for :)

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-10-31 23:31 ` Jens Axboe
  2000-11-01  1:25   ` Paul Jakma
@ 2000-11-01  4:43   ` Miles Lane
  1 sibling, 0 replies; 9+ messages in thread
From: Miles Lane @ 2000-11-01  4:43 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Paul Jakma, Linux Kernel, Matthew Dharm

Jens Axboe wrote:
> 
> On Tue, Oct 31 2000, Paul Jakma wrote:
> > I have 2 problems related to reading IRIX EFS cd's.
> >
> > -------problem 1:
> >
> > mounting an EFS cd from my Yamaha CDR-4416S SCSI CDRW consistently
> > causes a lockup when i try to read directory/file data from the CD. I
> > observed this initially with EFS CDR's, and assumed something had
> > gone wrong when burning that CD. But the exact same thing happens
> > with original SGI IRIX media. I have no problems with any of my EFS
> > CDs when accesed from an ATAPI CDROM.
> 
> Known problem, blocksizes != 2kb does not currently work
> correctly with SCSI CD-ROM (it's even on Ted's list).

Could this have something to do with the problem I reported where
running:

	dd if=/dev/zero of=/dev/sda bs=1k count=2G

to write data to my ORB drive over a USB connection causes
all writing to my hard drive to cease?  The USB Storage
driver uses a virtual SCSI interface.

	Miles
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: scsi-cdrom lockup and ide-scsi problem (both EFS related)
  2000-11-01  3:10         ` Jens Axboe
@ 2000-11-01 12:47           ` Alan Cox
  0 siblings, 0 replies; 9+ messages in thread
From: Alan Cox @ 2000-11-01 12:47 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Alan Cox, Paul Jakma, Linux Kernel

> On Wed, Nov 01 2000, Alan Cox wrote:
> > > It's untested behaviour at this point, all bets are off. It
> > > hasn't oopses here though...
> > 
> > Not just CD either. SCSI disk has the same problem in 2.4 but not 2.2
> 
> Disk too? I guess Eric broke more than he bargained for :)

Magneto optical disks are 2K block size with 512 byte chunked MSDOS fs on them

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-11-01 12:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-31  1:11 scsi-cdrom lockup and ide-scsi problem (both EFS related) Paul Jakma
2000-10-31 23:31 ` Jens Axboe
2000-11-01  1:25   ` Paul Jakma
2000-11-01  2:33     ` Jens Axboe
2000-11-01  1:40       ` Paul Jakma
2000-11-01  1:54       ` Alan Cox
2000-11-01  3:10         ` Jens Axboe
2000-11-01 12:47           ` Alan Cox
2000-11-01  4:43   ` Miles Lane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox