Scsi 2940U2W AIC7895 boot problems v2.0.36

M Sweger mikesw at whiterose.net
Tue Jan 12 12:20:07 PST 1999


Hello all,
	Didn't know who to send this to so I sent it to those listed.
        See the attachments also.



	I'm having problems booting my new Dell 333mhz Optiplex GX1 that
has an Adaptec 2940U/UW Dual Channel Scsi card with a Western Digital
9.1Gig -1807A4 hard drive. Presently on booting Linux it hangs and
never sees the Hard drive.

System Configuration:
  Dell 333mhz Optiplex GX1
  2940U/UW Dual Channel SCSI with an AIC-7895 chipset.
  Western Digital 9.1 Gig hard drive.


BIOS:
  Phoenix Technologies Bios
  Adaptec Scsi Bios v1.33S2 copyright 1997. Note: the S means special

Hard Drive Partitioning:
   c:\   MSDOS 6.22 as a 2Gig FAT & Win95
   d:\   NT4.0 service patch 3 as 2Gig FAT
   e:\   MSDOS 6.22 as a 2Gig FAT & no Win95
   f:\   MSDOS 6.22 as a 2Gig FAT & no Win95
   h:\   MSDOS 6.22 as the remaining Gigs and FAT & no Win95

Linux Configuration:
   a). Linux 2.0.36 with the gcc patch applied. 

	*** see attached
           file m1.config for the configuration used to compile Linux
	***
   b). Linux kernel compiled with only
		- floppy drive, 
		- mouse,
       		- AIC scsi support, 
		- loop device with Ramdisk and initrd support,
       		- and a few network card devices.
	        - compiled with module support but no modules loaded.
                   All hardware stuff is compiled into the kernel.
    c). Compiled with GCC 2.90.29 980515 (egcs v1.0.3)
    d). Linux booted as DosLinux which resides on top of the DOS
        filesystem. Upon reboot, a menu comes up with NT and MSDOS
        as menu selections.
    e). Linux made as the BzImage kernel.

Method used to run Linux.
    a). After rebooting and the SCSI Bios detecting the Hard drive
        on SCSI ID=0 Lun=0 as a western Digital HD, then
    b). Selected MSDOS from the menu selection that permits NT4.0 or
        MSDOS to be booted into.
    c). After seeing the MSDOS prompt, cd'd to the c:\doslinux\setup
        diretory and ran setup.bat (came with DOSLINUX) and other
        stuff. I just copied the bzImage created earlier and put
 	it into the kernel subdirectory and changed the batch files
         to load the kernel. The setup.bat file loads the bzImage
        using the file system image on initrd as "ro" using loadlin.
	The hardware device is "loop".
     d). The Linux kernel starts to boot and gets as far as the
         SCSI 2940 adapter and then hangs thereafter. The boot sequence
 	 never timesout to tell me that the SCSI software didn't see
 	 any Scsi devices (ids) or didn't understand the Hard Drive
	 configuration used to recognize it. Perhaps this needs
	 to be added to the software.
     f). The only way to get control back is to do a reboot.

Notes:
    i. This problem occurs the same way when using DOSLINUX70-75 versions
       whereby they use the loop device instead of umsdos now and it is
       also built using kernel v2.1.132

    ii. This problem occurs the same way when using DOSLINUX70-75 versions
        but the kernel image was generated using Linux v2.0.36+patch for
        gcc by recompiling.

     iii. The new kernel image based on Linux v2.0.36 was compiled with
          module support but no hardware drivers were compiled
          as a module - including the scsi drivers.

      iv. When DOSLINUX70-75 (the new version) along with Linux2.0.36
          are put on my old 100mhz no-name brand PC that has IDE disk
          drive - 1.2Gig Quantum - it will boot without any problem.
          Hence Linux v2.1.132 and v2.0.36 with IDE Hard drives works
          on an old PC: with scsi support on my new PC with scsi doesn't
          boot.

       v. Since I'm using DosLinux and the MSDOS partition with Linux
          residing on top of it, I don't think that NT4.0 is causing
          my problems since it isn't seen by Linux. Moreover, Linux
          doesn't have multiple disk support compiled in and should
          therefore only see my partition on drive C:\ and shouldn't
          see the other drives D-H.


  Please see my attachments,
       a). file m1.config, the configuration used to compile Linux v2.0.36
       b). file scsiboot.txt, the boot sequence at the point it then
           hangs after seeing the scsi adapter but not the disk drive.


	TIA.

Mike
mikesw at whiterose.net




-------------- next part --------------
#
# Automatically generated by make menuconfig: don't edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
# CONFIG_KERNELD is not set

#
# General setup
#
CONFIG_MATH_EMULATION=y
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
# CONFIG_PCI_OPTIMIZE is not set
CONFIG_SYSVIPC=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_JAVA is not set
CONFIG_KERNEL_ELF=y
# CONFIG_M386 is not set
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M686 is not set
# CONFIG_MTRR is not set

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_TRITON=y
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
CONFIG_INET=y
CONFIG_IP_FORWARD=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_IP_ACCT is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETLINK is not set

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
CONFIG_SCSI_AIC7XXX=y
# CONFIG_OVERRIDE_CMDS is not set
# CONFIG_AIC7XXX_PROC_STATS is not set
CONFIG_AIC7XXX_RESET_DELAY=10
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_GDTH is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=y
# CONFIG_EQUALIZER is not set
# CONFIG_DLCI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_RADIO is not set
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not set
CONFIG_EL3=y
# CONFIG_3C515 is not set
CONFIG_VORTEX=y
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_PCI is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET is not set
# CONFIG_TR is not set
# CONFIG_FDDI is not set
# CONFIG_ARCNET is not set
# CONFIG_SHAPER is not set
# CONFIG_RCPCI is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
CONFIG_QUOTA=y
# CONFIG_MINIX_FS is not set
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_NLS=y
CONFIG_ISO9660_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_UMSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_KOI8_R is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
# CONFIG_ROOT_NFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=y
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_ISI is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
# CONFIG_PRINTER is not set
# CONFIG_SPECIALIX is not set
CONFIG_MOUSE=y
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_BUSMOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# Kernel hacking
#
# CONFIG_PROFILE is not set
-------------- next part --------------
.......

......   [snip] regular linux boot sequence in here..

..
Ramdisk driver initialized: 16 ramdisks of 4096K size
loop: registered device at major 7
ide: i82371 PIIX(Triton) on PCI bus 0 function 57
      ide1: BM-DMA at 0xffa8-0xffaf
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
(scsi0)<Adaptec AIC-7895 Ultra SCSI host adapter> format at PCI 14/0
(scsi0)Wide Channel A, SCSI ID=7, 32/255 SCBs
(scsi0)Warning -detected auto termination.
(scsi0).......[snip] some messages about setting the termination using
                     ctrl-A on bootup.
(scsi0)Cables present( Int-50 NO, Int-68 YES, Ext-68 NO)
(scsi0)Downloading sequencer code..... 404 instructions downloaded
(scsi1)<Adaptec AIC-7895 Ultra SCSI host adapter) format at PCI 14/1
(scsi1)Narrow Channel B, SCSI ID=7, 32/255 SCBs
(scsi1)Warning - detected auto termination.
(scsi1).......[snip] some messages about setting the termination using
                     ctrl-A on bootup.
(scsi1)Cables present(Int-50 NO, Ext-50 NO)
(scsi1)Downloading sequencer code.... 404 instructions downloaded.


NOTE: It is at this point that it hangs forever and I presume it
      can't recognize the WD9.1Gig on SCSI ID=0.





More information about the aic7xxx mailing list