9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "David du Colombier" <0intro@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] LSI Logic 53C1030 SCSI
Date: Sun, 27 Apr 2008 13:46:56 +0200	[thread overview]
Message-ID: <fc7f972d0804270446p7fbc2956n3ad676aec9414c24@mail.gmail.com> (raw)

Hello,

I recently bought an IBM xSeries 235 server to run Plan 9.
Since SCSI is not supported on this computer, I used an IDE hard disk
to install Plan 9.
Everything, except the Broadcom BCM5703X network device, is running
fine. Since the undocumented Broadcom will probably never be
supported, I ordered an Intel 82541.

As I would like to use my two SCSI hard disks, I tried to modify
Nigel Roles's SCSI driver to support my LSI Logic 53C1030 SCSI
controller.
I only added the PCI ID of my controller in the driver located at
/sys/src/9/pc/sd53c8xx.c.
This was easily done by adding two lines:

#define SYM_1030_DID 0x0030
...
{ SYM_1030_DID, 0xff, "SYM53C1030", Burst128, 16, 64,
  Prefetch|LocalRAM|BigFifo|Wide|Ultra|Ultra2 },

I successfully compiled and installed the new kernel.

My SCSI controller seems to be well recognized during the boot,
as Plan 9 displays:
sd53c8xx: SYM53C1030 rev. 8.87 intr=9 command=8157
sd53c8xx: SYM53C1030 rev. 8.87 intr=9 command=8157

Then I boot on local and log in. Finally, Plan 9 is stuck after
displaying:
sd53c8xx: bios scntl3(22) stest2(88)

My controller does not seem to be supported by the current driver.

I have no driver programming skill, so I wonder if you have some
ideas to modify Nigel Roles's driver to support my SCSI controller.

I made a video [1] to show the failed starting of Plan 9,
using the modified SCSI driver.
I also furnish the result of "dmesg" [2] when booting on the
Slackware Linux 12.0 installation CD-ROM.
Finally, I furnish the result of "pci -v" [3] when running Plan 9
on the IDE hard disk of this computer.

[1] http://www.9grid.fr/plan9/boot.mp4
[2] http://www.9grid.fr/plan9/dmesg
[3] http://www.9grid.fr/plan9/pci-v

Thank you.

--
David du Colombier


             reply	other threads:[~2008-04-27 11:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-27 11:46 David du Colombier [this message]
2008-04-27 15:44 ` erik quanstrom
2008-04-27 18:24   ` Charles Forsyth
2008-04-29 11:17     ` dave.l
2008-04-29 11:50       ` Charles Forsyth
2008-04-29 23:46         ` dave.l

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=fc7f972d0804270446p7fbc2956n3ad676aec9414c24@mail.gmail.com \
    --to=0intro@gmail.com \
    --cc=9fans@9fans.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).