[173] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

gcc/buslogic scsi problem

daemon@ATHENA.MIT.EDU (Leonard N. Zubkoff)
Mon May 15 18:22:01 1995

Date: Mon, 15 May 1995 14:41:35 -0700
From: "Leonard N. Zubkoff" <lnz@dandelion.com>
To: baba@beckman.uiuc.edu
Cc: hjl@nynexst.com, linux-gcc@vger.rutgers.edu, linux-scsi@vger.rutgers.edu
In-Reply-To: Baba Z Buehler's message of Mon, 15 May 1995 14:43:02 -0500 <199505151943.AA12630@flowbee.beckman.uiuc.edu>

  From: Baba Z Buehler <baba@beckman.uiuc.edu>
  Date: Mon, 15 May 1995 14:43:02 -0500

  hjl@nynexst.com (H.J. Lu) writes:

  > > 
  > > 
  > > It appears that something in the new gcc/ld.so/binutils breaks the BusLogic
  > > SCSI driver.  Things work fine in a 1.2.8 kernel compiled with gcc 2.5.8,
  > > however with a 1.2.8 kernel compiled with gcc-950430, ld.so 1.6.6 and binut
  > ils
  > > 2.5.2l.14 it doesn't work.
  > > 
  > > I also tried a 1.2.7 ELF kernel with HJ's patches, and get the same thing:
  > > 
  > > BusLogic SCSI: buslogic_out: failed(1): BusLogic SCSI: buslogic_stat: statu
  > s=18 intrflags=84
  > > BusLogic SCSI: setup_mailboxes: failed setting up mailboxes.
  > > scsi : 0 hosts.
  > > scsi : detected total.
  > > 
  > > 
  > > These are the settings I'm using to build the a.out 1.2.8 kernel:
  > > 
  > > AS      =/usr/i486-linuxaout/bin/as
  > > LD      =/usr/i486-linuxaout/bin/ld -m i386linux 
  > > HOSTCC  =gcc -b i486-linuxaout -I$(TOPDIR)/include
  > > CC      =gcc -b i486-linuxaout -D__KERNEL__ -I$(TOPDIR)/include
  > > 
  > 
  > I suspect there was a bug in the BusLogic SCSI code.
  > 

  (I'm cross-posting to linux-scsi in case anyone has seen this)


  I've got this controller and drive for a couple more days for testing, and I'm
  planning on ordering one.  Any ideas on how I might track the problem down?  I
  haven't poked around the kernel scsi code much.

I thought this had already been tracked down to this alpha version of GCC having
broken use of the PACKED attribute on data structures?

Fix the compiler if you want the driver to compile correctly, or use an earlier
compiler like 2.6.3 that works properly.

		Leonard

home help back first fref pref prev next nref lref last post