Date: Tue, 21 Apr 1998 21:42:57 -0400 From: "Warren W. Thompson" <wthompson@altaira.com> To: Doug Ledford <dledford@dialnet.net>, aic7xxx@FreeBSD.ORG Subject: Re: SMP and the aic7xxx driver Message-ID: <353D4B21.53F56A73@altaira.com> References: <353B540B.C2797AF3@altaira.com> <353B5BA1.BB1B627E@dialnet.net> <353BA4AD.D15EBC87@altaira.com> <353BD12B.7B0B12AD@dialnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------71C3603D814C9247D947316A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Okay, I obtained and compiled the 2.1.97 with the aic7xxx driver built into the kernel and SMP turned off by commenting out the "SMP = 1" line from the Linux source's root makefile. It worked just fine, below is the result of the driver loading under kernel 2.1.97 with SMP disabled: (scsi0) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 12/0 (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs (scsi0) BIOS enabled, IO Port 0x6400, IRQ 11 (scsi0) IO Memory at 0xe4000000, MMAP Memory at 0xc8800000 (scsi0) Resetting channel (scsi0) Downloading sequencer code... 413 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.13/3.2.4 <Adaptec AIC-7880 Ultra SCSI host adapter> scsi : 1 host. (scsi0:0:-1:-1) Scanning channel for devices. (scsi0:0:0:0) Synchronous at 20.0MHz, offset 15. Vendor: IBM OEM Model: DCHS09U Rev: 2626 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 scsi : detected 1 SCSI disk total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 17796077 [8689 MB] [8.7 GB] Partition check: sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 > For the next build the only change I made was uncommenting the "SMP = 1" line from the makefile and recompiling. It did not work, it seems to have incorrectly gotten the IRQ of the scsi card again. The following is the result of the driver loading under kernel 2.1.97 with SMP enabled: (scsi0) <Adaptec AIC-7880 Ultra SCSI host adapter> found at PCI 12/0 (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs (scsi0) BIOS enabled, IO Port 0x6400, IRQ 16 (scsi0) IO Memory at 0xe4000000, MMAP Memory at 0xc8800000 (scsi0) Resetting channel (scsi0) Downloading sequencer code... 413 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.13/3.2.4 <Adaptec AIC-7880 Ultra SCSI host adapter> scsi : 1 host. (scsi0:0:-1:-1) Scanning channel for devices. <At this point the system hangs indefinitely> Notice that the IRQ location that works is 11 and the one detected by the SMP driver is 16...Hmmmm. Well, I hope you can give me some insight into why this may be occurring and what, if anything, can be done to fix it. I'm even up for hardcoding the scsi device's IRQ under SMP if that will get it up. Thanks in advance! Warren Doug Ledford wrote: > > The aic7xxx driver in 2.1.95 was completely replaced as of 2.1.96 and > above. I would suggest trying 2.1.97 and then let me know if it also has > this problem. If so, I suspect it's a bug in the PCI code since the aic7xxx > driver simply reads the pci data structures in the kernel to get the IRQ > assignment, and if it's off, then we never get any interrupts and the system > hangs. > > -- > > Doug Ledford <dledford@dialnet.net> > Opinions expressed are my own, but > they should be everybody's. --------------71C3603D814C9247D947316A Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Warren Thompson Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Warren Thompson n: Thompson;Warren org: Altair Aerospace Corp. email;internet: wthompson@altaira.com x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------71C3603D814C9247D947316A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?353D4B21.53F56A73>