All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Jones <pjones@redhat.com>
To: ultralinux@vger.kernel.org
Subject: ide-scsi on sparc64...
Date: Sun, 18 Apr 1999 21:34:24 +0000	[thread overview]
Message-ID: <marc-linux-ultrasparc-92447134026461@msgid-missing> (raw)

Has anybody other than me tried this?  I've been atacking it for, well, a
day or so now, and I can't seem to make it work.  If I turn off ide-cdrom,
and turn on ide-scsi, I get an unaligned trap in idescsi_setup, at the
line listed below.

static void idescsi_setup (ide_drive_t *drive, idescsi_scsi_t *scsi, int
id)
{
        DRIVER(drive)->busy++;
        idescsi_drives[id] = drive;
        drive->driver_data = scsi;
        drive->ready_stat = 0;
        memset (scsi, 0, sizeof (idescsi_scsi_t));
        scsi->drive = drive;
        if (drive->id && (drive->id->config & 0x0060) = 0x20)
                set_bit (IDESCSI_DRQ_INTERRUPT, &scsi->flags);
        set_bit(IDESCSI_TRANSFORM, &scsi->transform);           <-- here
        clear_bit(IDESCSI_SG_TRANSFORM, &scsi->transform);
#if IDESCSI_DEBUG_LOG
        set_bit(IDESCSI_LOG_CMD, &scsi->log);
#endif /* IDESCSI_DEBUG_LOG */
        idescsi_add_settings(drive);
}

It panics claiming unaligned load/store... This is a bit past my
expertise.  Any ideas?

This is on a virgin CVS checkout.
 -- Peter

"Talking much about oneself can also be a means to conceal oneself."
		-- Nietzsche

             reply	other threads:[~1999-04-18 21:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-18 21:34 Peter Jones [this message]
1999-04-18 21:40 ` ide-scsi on sparc64 David Miller
1999-04-18 22:20 ` Peter Jones
1999-04-18 22:26 ` David Miller

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=marc-linux-ultrasparc-92447134026461@msgid-missing \
    --to=pjones@redhat.com \
    --cc=ultralinux@vger.kernel.org \
    /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.