Re: PROBLEM: Panic reading EFS CDs on SCSI CD drives through loop

From: Randy.Dunlap
Date: Mon Jan 19 2004 - 12:21:09 EST


On Mon, 19 Jan 2004 13:45:24 +0200 (EET) Atro Tossavainen <atossava@xxxxxxxxxxxxxx> wrote:

| [1.] Reading files from EFS CD through loop-mounted SCSI CD causes panic
|
| [2.] I am attempting to read Silicon Graphics IRIX installation CDs on
| SCSI CD drives, either real SCSI or emulated IDE-SCSI drives.
|
| Since SCSI CD-ROMs can't set blocksize (IDE-SCSI emulated drives
| included), I would usually do this with an IDE drive, disabling
| ide-scsi temporarily if applicable. However, the following article
|
| http://groups.google.fi/groups?selm=8765hq3j2u.fsf%40ID-48333.user.dfncis.de
|
| claims that by using the loop interface, it should be possible to
| use EFS CDs with SCSI drives, too.
|
| I have tried this as follows:
|
| losetup /dev/loop0 /dev/scd0
| mount -r -t efs /dev/loop0 /cdrom
| cd /cdrom
| tar cf - . | tar xv -C/somewhere/else -f-
|
| It reads a few files, then panics on a large file. If I am running
| X11, the only symptom I see is that the machine freezes totally and
| the Caps Lock and Scroll Lock lights on the keyboard start blinking.
| If I'm in the text console, it displays the message:
|
| Kernel panic: scsi_free:Trying to free unused memory

Are there some other messages associated with this, like
a BUG or stack dump? Those could be helpful.

--
~Randy
Everything is relative.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/