From: Richard Hirst <rhirst@linuxcare.com>
To: rbradetich@uswest.net
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] kernel panic using cpio from cdrom to disk.
Date: Fri, 20 Apr 2001 17:22:45 +0100 [thread overview]
Message-ID: <20010420172245.L11226@linuxcare.com> (raw)
In-Reply-To: <20010414005252.A9322@beavis.ybsoft.com>; from rbrad@beavis.ybsoft.com on Sat, Apr 14, 2001 at 12:52:52AM -0600
On Sat, Apr 14, 2001 at 12:52:52AM -0600, Ryan Bradetich wrote:
> Hello parisc-linux hackers,
>
> A bug (#105) was discovered today reguarding cpio'ing an iso image from
> the cdrom to the disk. This was a stupid error and I have a quick patch
> for this. But this leads to my next question.... I am getting a kernel
> panic when perfoming the cpio from the cdrom to the disk. I am trying
> to verify if their in another problem with the ccio code, or if this is
> a problem witht the scsi driver itself. Can someone else try it on a
> non-ccio machine and see if fails for them also. [Note: The cdrom
> content should not matter, in this case I have an i386 debian disk I
> was cpio'ing over because it was handy.]
I just tried (with a suse install cd), on my B180, using the 53c710 i/f,
without any problems.
> Disk to disk transfers seem to work fine under ccio...
>
> Thanks,
>
> - Ryan
>
>
> vega:/tmp# mount /dev/sr0 /cdrom
> ISO 9660 Extensions: RRIP_1991A
> vega:/tmp# find /cdrom | cpio -pm /tmp
> scsi1: Unexpected Illegal Instruction, script[0002]
> scsi1: script[fffffffe]: 00000000 00000000 60000200 00000000 7c1bef00 00000000 41040000 00182448
> scsi1: Failed to handle interrupt. Failing commands and resetting SCSI bus and chip
> scsi1: istat = 00, sstat0 = 00, sstat1 = 00, dstat = 00
> scsi1: dsp = 00182008 (script[0x0802]), dsps = 7b255263, target = 0
> scsi1: Failing command for ID2
What appears to have happened here is that the driver tried to start a
command on scsi ID 2, which it does by writing 00182000 in to DSP in this
case. The scsi chip then picks up an instruction from that address and
and decides it is not a valid instruction. The memory is correct though,
reported as 60000200 00000000 above. That data is static in memory from
driver startup - it doesn't get modified on the fly. The memory is
allocated at startup via pci_alloc_consistant().
I'd guess that the iommu entry for the scsi chip to access that consistent
memory got trashed.
> Dumping Stack from 1027e000 to 1027e2c0:
Errors similar to that above from the scsi driver don't usually take the
machine out, so I'd guess something else went wrong also.
Richard
next prev parent reply other threads:[~2001-04-20 16:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-14 6:52 [parisc-linux] kernel panic using cpio from cdrom to disk Ryan Bradetich
2001-04-20 16:22 ` Richard Hirst [this message]
2001-04-20 16:57 ` Richard Hirst
2001-04-20 18:07 ` Grant Grundler
-- strict thread matches above, loose matches on Subject: below --
2001-04-20 21:50 John Marvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010420172245.L11226@linuxcare.com \
--to=rhirst@linuxcare.com \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=rbradetich@uswest.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.