Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 1999 12:05:38 +0900
From:      Masachika ISHIZUKA <ishizuka@ish.org>
To:        freebsd-scsi@freebsd.org
Subject:   Re: Tekram DC390 driver for FreeBSD 3.x
Message-ID:  <19990425120538A.ishizuka@onion.ish.org>
In-Reply-To: <199904181748.RAA100346@out1.ibm.net>
References:  <199904181748.RAA100346@out1.ibm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
  Hi.

  I have installed 3.1-RELEASE with DC-390, yesterday.
It works fine. Installation process is as follows.
(This process is shown in freebsd-users-jp 40399 (FreeBSD
mailling list in Japan) on Tue, 30 Mar 1999 by yamanaka-san.)

(1) Get boot300.zip, kern300.zip and pm300.gz from
  ftp://ftp.tekram.com/scsi/freebsd/

(2) Create boot floppiy and kern floppy asfollows.
  # unzip boot300.zip
  # fdformat fd0
  # dd if=boot300.flp of=/dev/rfd0
  # unzip kern300.zip
  # fdformat fd0
  # dd if=kern300.flp of=/dev/rfd0

(3) Install 3.1R with boot300 floppy.
(4) Before reboot when installation finished,
  copy kern300 as follows.
    Insert kern300 floppy.
  # mount /dev/fd0 /mnt
  # cp /mnt/kernel /

(5) Reboot with single user mode. 

(6) Modify /etc/fstab not to use procfs temporary.
  # vi /etc/fstab
  comment out procfs's line.

(7) Go multi user mode.
  #exit

(8) install pm300 patch.
    Prepare pm300.gz (created by unzip pm300.zip) on /tmp
  # cd /
  # gzip -cd /tmp/pm300.gz | patch -p0

(9) add and device-driver's line to files.i386
  # cd /usr/src/sys/i386/conf
  # echo 'pci/tek390.c    optional    amd    device-driver' >> files.i386

(10) Make your kernel with amd driver.
  # cp GENERIC tekram
  # vi tekram
  You must add 'controller  amd0' and 'pseudo-driver vn'.
  # config tekram
  # cd ../../compile/tekram
  # make depend
  # make
  # make -DFORCE install

(11) Install boot loader.
  # disklabel -B da0

(12) Restore procfs's line on /etc/fstab.

(13) Reboot

(14) Update /stand with mfsroot.flp
  Create and insert mfsroot floppy.
  # mount -r /dev/fd0 /mnt
  # cp /mnt/mfsroot.gz /tmp
  # umount /mnt
  # cd /tmp
  # gzip -d mfsroot.gz
  # vnconfig -ce /dev/vn0c /mfsroot
  # mount -r /dev/vn0c /mnt
  # rm -rf /stand
  # mkdir /stand
  # cd /mnt
  # tar cf - * | (cd /stand; tar xvf -)
  # cd /
  # umount /mnt
  # vnconfig -u /dev/vn0c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990425120538A.ishizuka>