Adaptec 2940W/fdisk problems

Adaptec 2940W/fdisk problems

Post by Sonu Nayy » Tue, 22 Aug 1995 04:00:00



I just got Linux unleashed which a contains a cdrom of Slackware 2.2.
With the bootimage that is provided, I can't see any devices (I believe
a problem with the Adaptec 2940W controller).

fdisk on /dev/sda fails. I have been looking around these newgroups and have
tried to ftp from remus.nrl.navy.mil without any luck.

I need some help. What are my options? Any pointers/suggestions will be
much appreciated. Thanks.

Sonu

 
 
 

Adaptec 2940W/fdisk problems

Post by RAGHUNATH SAPURA » Wed, 23 Aug 1995 04:00:00


In <sonuDDoB14....@netcom.com> s...@netcom.com (Sonu Nayyar) writes:

>I just got Linux unleashed which a contains a cdrom of Slackware 2.2.
>With the bootimage that is provided, I can't see any devices (I believe
>a problem with the Adaptec 2940W controller).

>fdisk on /dev/sda fails. I have been looking around these newgroups and have
>tried to ftp from remus.nrl.navy.mil without any luck.

>I need some help. What are my options? Any pointers/suggestions will be
>much appreciated. Thanks.

>Sonu

In response to your posting in comp.os.linux -:

Please go thru carefully each one of the steps below -
good luck.

al dev

                Linux Quick Install Card Version 1.0
                      Author: Alavoor Vasudevan
                   File Name : InstallQuick-HOWTO
                   Purpose : To save installer's time (keep this doc less
                             than 10 pages)
                      (All rights reserved 1995)
  Feel free to change, copy and distribute but nowarranties & guarantees!!
--------------------------------------------------------------------------
Assumptions -
   C:\ hard disk  D:\ CD-ROM drive  A:\ Floppy drive B:\ Floppy drive
   site = sunsite.unc.edu:/pub/Linux (FTP site)
   You have very minimum unix/computer knowledge.
--------------------------------------------------------------------------
 0. a) To locate any utilities/programs from site use site/find-ls-{no}.gz. Do
       man find on unix command line. (Time saver tip)
    b) Book  : site/docs/LDP/install-guide
    c) HOWTO : site/docs/HOWTO

 1. Copy utilities needed
        copy d:\rawrite.exe c:\dos      (See step 0)
        copy d:\gzip.exe c:\dos         (See step 0)

 2. Create Boot and Root floppies.
    mkdir c:\linux
    copy d:\slackware\bootdsks.144\<image> c:\linux (for 1.44M floppy drive)
    copy d:\slackware\rootdsks.144\<image> c:\linux (for 1.44M floppy drive)

    copy d:\slackware\bootdsks.12\<image> c:\linux (you have 1.2 floppy drive)
    copy d:\slackware\rootdsks.12\<image> c:\linux (you have 1.2 floppy drive)
        where <image> is the filename you must select from table in
    step 3 depending on type of C:\ and D:\ drive.

 3. If you can't install directly from your CD-ROM, you might consider
    copying the disk directories onto your hard drive on a DOS or HPFS
    partition and installing from there.
    For example: If your Slackware source CD is inserted into Panasonic
    CDROM drive and target hard drive is IDE then select 'sbpcd' boot
    image. Goto step 2 and then to step 4.

------------\              Target hard drive type:
Slackware    \      
source on:    \      IDE                 SCSI             MFM
--------------+------------------+------------------+----------------
Floppy:       | bare             | scsi             | xt
--------------+------------------+------------------+-----------------
Hard Drive:   | bare             | scsi             | xt
--------------+------------------+------------------+---------------
SCSI CD-ROM:  | scsi             | scsi             |
--------------+------------------+------------------+-----------------
Mitsumi CD:   | mitsumi          | mitsumi          |
--------------+------------------+------------------+-----------------
Aztech,       | aztcd            | aztcd            |
Orchid,       |                  |                  |
Okano,        |                  |                  |
Wearnes CD    |                  |                  |
with interface|                  |                  |
card:         |                  |                  |
---------------------------------------------------------------------
Sony CDU31a   | cdu31a           | cdu31a           |
or CDU33a CD: | * old31a         | * old31a         |
--------------+------------------+------------------+-----------------
Soundblaster, | sbpcd            | sbpcd            |
Panasonic,    |                  |                  |
Kotobuki,     |                  |                  |
Matsushita,   |                  |                  |
TEAC-55A,     |                  |                  |
& Lasermate   |                  |                  |
CD-ROM:       |                  |                  |
--------------+------------------+------------------+---------------
Sony 535/531  | cdu535           | cdu535           |
CD-ROM:       |                  |                  |
---------------------------------------------------------------------
Most IDE/ATAPI| idecd            | idecd            |
CD-ROMs:      |                  |                  |
--------------+------------------+------------------+---------------
NFS:          | net              | scsinet1  (see   |
              |                  | list 1 below)    |
              |                  | scsinet2  (see   |
              |                  | list 2 below)    |
--------------+------------------+------------------+-------------------
Tape:         | bare (for floppy | scsi             | xt (for floppy
              |       tape)      |                  | tape)
              | scsi (for SCSI   |                  |
              |       tape)      |                  |
--------------+------------------+------------------+---------------------

SCSI DRIVERS:
List 1:                              List 2:
Adaptec 152x/1542/1740/274x/284x     Generic NCR5380
Buslogic                             NCR 53c7,8xx
EATA-DMA (DPT/NEC/AT&T)              Always IN2000
Seagate ST-02                        Pro Audio Spectrum 16
Future Domain TMC-8xx, 16xx          QLogic
                                     Trantor T128/T128F/T228
                                     Ultrastor
                                     7000 FASST
Note: The 'scsi' disk and the disks with non-SCSI CD-ROM drivers contain all
the SCSI drivers from both lists 1 and 2.  The 'scsinet1' and 'scsinet2' disks
should really only be used to install via NFS.

 4. Boot and Root disks creation continued.... uncompress and rawrite
        gzip.exe -d  c:\linux\<image>
        gzip.exe -d  c:\linux\<image.gz> .... do this untill there are no
                                         more *.gz files

 5. Insert a "NEWLY DOS FORMATTED FLOPPY" (a MUST) into A:
        rawrite
        Enter Source file : <image file>  (BOOT image or ROOT image)
        Enter Destination : a:\
   Label 2 floppies just created clearly as 'BOOT' and 'ROOT'

 6. If you want to create a partition for linux in C: then
    a) c:\dos\chkdsk.exe and c:\dos\scandisk.exe
    b) Defragment the c: with dos command
        c:\dos\defrag.exe (Is a MUST or you may lose data !!)
    c) fips.exe  (from sunsite.unc:/pub/Linux/system/Install/fips12.zip)
    d) create partition for linux on c:

 7. Insert BOOT into A: and insert CD into d: and reboot system and the
    system later will prompt you to insert ROOT disk.
    If all has gone well ..
        login : root    
        # setup  (to install linux from D: or C: or A: or tape drive
                 this depends on what boot and root image you selected)
  source MUST be in D: or on C: or Floppies or Tape drive.

 8. Usually, if you are unable to boot, you have a bad floppy disk. In that
    case Go back to step 5. Make sure you have NEW DOS FORMATTED FLOPPIES.

 9. Setup program displays main menu. Select install mode as Quick Install
    instead of default Verbose (to save time).

10. Menu is self explanatory - select all packages you need.

11. Make sure you specify proper - refer related computer's Users manual
    a) Mouse device and Port (PS/2 Aux, Logitech, Microsoft)
        PS/2 has no port - used auxiliary port.
    b) Modem (Hayes ...)
    c) Monitor and Video Chip (SVGA)

12. Make sure you select ONLY one kernel image for your video. For example
    x_SVGA for SVGA

13. Setup will ask you exit and reboot after completion of installation.
    Do it. You are DONE!

14. Reboot machine LILO will prompt you to boot linux or dos. Login root

15. To mount cdrom, insert CD and type 'mount /cdrom'

16. If you installed X-windows then you MUST comment out following lines
    in /etc/rc.d/rc.local starting with gpm....
        # gpm -t {....} &
    otherwise the mouse will NOT work properly in X.

17. Configure X Windows - at linux prompt
        # xf86config            (Do 'man xf86config' and see Step 0)
    This will prompt you for various monitor specs (refer to monitor guide
    of your computer), modem and mouse.

18. Reboot your machine and then at linux prompt -
        # xdm
    This starts X-display manager and displays login dialog box!! Login now

19. Click right, left mouse buttons you will see the menus!! If you have
    only 2 mouse buttons, you can emulate 3rd by pressing together both
    buttons.

20. To Dial out you will use 'Seyon' utility which is submenu in
    Applications menu.
        a) If you have Slip a/c just enter your login name as login :<user>
        b) If you have PPP a/c (usually for MS Windows), then give -
                login : #<user>   (Enter Pound sign and then your loginname)
        c) If you PPP a/c you must install pppd 'daemon'  (See step 0)
        d) Do man on xmodem, zmodem, sz, sx, sy, rx, rz...
        e) You can also get Kermit  (See step 0)

21. If you want to use the MS Windows apps inside Linux get WINE (See
    step 0)

22. Customize your local settings in ~/profile. Add line
        set -o vi       (this will enable history command line editing,
                        press <ESC> j, k, l, h and edit commands !)
        alias c='clear'                 ......etc

23. Printer setup : To print use lpr. Do man on lpr, lpq, lp, lpc, lpstat ..
    If your printer output has 'Staircase Effect' then, vi /usr/lib/lpf and
    put in the following lines :
        #!/bin/sh
        if [ "$1" = -c ]; then
                cat
        else
                sed -e s/$/^M/
        fi
        # the "echo -ne" assumes that /bin/sh is really bash
        echo -ne \\f
   where '^M' is a carriage return character not a '^' followed by a 'M'. To
   type '^M' in Emacs use the sequence 'C-q C-m' and in vi use 'C-v C-m'.
   Install this filter as 'if' filter by putting ':if=/usr/lib/lpf:' (or
   whatever in your '/etc/printcap' entry for the printer.
        chmod a+x /usr/lib/lpf    (otherwise printer won't work!!)
   See PRINTING-HOWTO in step 0.

 
 
 

Adaptec 2940W/fdisk problems

Post by Paul Gre » Wed, 23 Aug 1995 04:00:00


Quote:>> In response to your posting in comp.os.linux -:
>> Please go thru carefully each one of the steps below -
>> good luck.
>> al dev

I believe this is a genuine bug in the Linux drivers booting the Adaptec 2940*
controller cards. I (and others) have also come across this problem and I
carefully did the installation (including the steps suggested by Raghunath).
I gave up battling with this and switched to FreeBSD 2.0.5. It recognized the
card's signature and boots with no problems.
Paul G.
 
 
 

Adaptec 2940W/fdisk problems

Post by Timothy Murp » Sat, 26 Aug 1995 04:00:00



>I also can not find a ref to ageety, or uugetty in this book. I thought I needed to
>use uugetty to setup a dialin modem. Can anyone outline the setup for a dialin
>modem port for remote login?

Use mgetty. Read the docs.
Here is the lsm:

=====================================
Begin
35:PkgName    = mgetty+sendfax-0.22.tar.gz
35:Title      = mgetty+sendfax
25:Version    = 0.22 beta
65:Desc1      = fax package for Linux and SV Unix + Class 2 Faxmodems
65:Desc2      = getty program with fax receive function, external sendfax
65:Desc3      = program to send ghostscript-dfaxhigh fax pages.
65:Desc4      = vgetty program for voice functions (answering machine!)


65:MaintAt1   = ftp.leo.org
65:PathFile1  = /pub/comp/networking/communication/modem/mgetty/
65:MaintAt2   = sunsite.unc.edu
65:PathFile2  = /pub/Linux/system/Serial
65:MaintAt3   = tsx-11.mit.edu
65:PathFile3  = /pub/linux/usr.bin
65:Required1  = Class 2 Faxmodem (i.e. Supra, ZyXEL, Zoom, GVC)
65:Required2  = 16550 UART strongly recommended
65:Required3  = GhostScript 2.5 or higher, or PBMPLUS package
65:CopyPolicy = Do what you want with it, but keep my name in it.
65:Keywords   = Fax Class2 Sendfax Modem
15:ApproxSize = 330k
65:Last3Rel   = 0.22 0.20 0.18 0.16 0.14
65:Comment1   = documentation is in texinfo format, documentation in
65:Comment2   = poscript, dvi, info, nroff in mgetty+sendfax-0.22.doc.tar.gz
65:Comment3   = see also: http://www.leo.org/~doering/mgetty/index.html
30:CheckedBy  = Gert Doering
 8:Date       = 13Nov94
End
=====================================

--
Timothy Murphy  

tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

 
 
 

1. Adaptec 2940W, fdisk problem

Ok, Ive been following the news postings for several months about
getting an Adaptec 2940W SCSI controller to work under Linux.  I
have downloaded the AIC7XXX patch fro remus.nrl.navy.mil and the
Adaptec 2940 patch from Infomagic.  After I use rawrite to make
the bootdisk I boot up and my SCSI drives are recognized but I cant
get "fdisk" to partition my drive to continue the installation.  I receive
the following error when I give "fdisk" the new partition command "n".

no free sectors available

Infomagic says their patch is only for the Adaptec 2940 not the 2940W.

I would greatly appreciate any help on how I can make this work.

Thanks
Thad Peck

P.S. Sorry forgot the subject line on first posting.

2. 1 * FPQuiAvvS-Where is vxdiskadm

3. SLS 1.02, G

4. 2940W, fdisk problem

5. mmap()'ed files and holes...

6. Adaptec 2940W problem

7. WAKE ON LAN question.

8. Problem w/ Adaptec 2940W controller and Red Hat 4.2 install

9. Install Problems - 2940w Adaptec CDROM

10. At last, my Adaptec 2940W problem SOLVED!

11. 3Com 3C905, Adaptec 2940W and AMI Bios problems

12. Adaptec SCSI 2940W problem