Re: NCR53C8XX Problem on Compaq Proliant 7000 (long)

Gerard Roudier (groudier@club-internet.fr)
Fri, 10 Jul 1998 19:53:08 +0200 (MET DST)


2.1.79 - 2.1.106 = 27 kernel patches for a total of about 5 MB gzipped,
so about 20 MB unzipped patch.
If you could find the kernel patch level that does actually break the
NCR53C875 chips detection, this would be a _great_ help.

Since the driver have been changed in 2.1.108 and I made intermediate
patches available to users, the driver version you were using with
kernels that failed to detect the NCR53C875s is also _very_ important.

For example, the following testing would help a LOT:

1) If 2.1.106 fails with stock ncr driver 2.5f, then the problem would
be possibly related to PCI.
2) If stock 2.1.107 (ncr driver 2.5f) works, but 2.1.107 patched for
ncr driver 3.0e using the corresponding patch available at
ftp://ftp.tux.org/pub/roudier/ fails, then the problem may be due
to driver changes.

Etc..., etc...

Here is what I can write given your problem report:

BTW, I have problem to find NCR53C875 PCI devices from the PCI device
list you got from 2.1.79 that you report as able to detect the 875
devices. A driver finding devices that the PCI driver is unable to
see seems weird but may be not since:

1) Until 2.1.91, the ncr driver used PCI BIOS functions to scan the
devices.
2) The linux PCI driver does use its own strategy to scan the bus.
3) Since 2.1.92, the ncr driver does not use the PCI BIOS anymore but
trust the PCI driver that seemed to also fail for you in 2.1.79.

So, such a weirdness seems to me quite possible.

Martin, could you have a look at this problem that does look like
a PCI problem, IMO?

Regards,
Gerard.

On Thu, 9 Jul 1998, Xintian Wu wrote:

> Sorry, I have to bring up this problem again. The latest
> 2.1.106~108 kernel cannot find the SCSI device. The machine
> is a 4 PPro Proliant 7000 with 2GB ram. I compile the kernel
> without any modules.
>
> What's strange is that some old kernels 2.1.79, and 2.0.34
> can successfully find the NCR53c8xx (875). Attached are what
> 2.1.79 found. There is no ncr53c8xx in the PCI device list!
> Why the 2.1.79 driver can find the ncr53c875 card while the
> lastest 2.1.108 cannot? Is there a way to force the driver to
> find the card?
>
> NFS code of 2.1.79 is not stable enough to do serious work.
> Please help to solve the problem.
>
> thanks very much
>
> xintian
>
> /proc/pci of 2.1.79:
>
> PCI devices found:
> Bus 0, device 26, function 0:
> Host bridge: Intel Orion P6 (rev 6).
> Medium devsel. Master Capable. Latency=32.
> Bus 0, device 25, function 0:
> Host bridge: Intel Orion P6 (rev 6).
> Medium devsel. Master Capable. Latency=32.
> Bus 0, device 14, function 0:
> VGA compatible controller: Cirrus Logic GD 5430 (rev 34).
> Medium devsel. IRQ 255.
> Prefetchable 32 bit memory at 0xc5000000 [0xc5000008].
> Bus 0, device 12, function 0:
> System peripheral: Compaq Unknown device (rev 1).
> Vendor id=e11. Device id=ae31.
> Medium devsel. Fast back-to-back capable.
> I/O at 0x4000 [0x4001].
> Non-prefetchable 32 bit memory at 0xc6df0000 [0xc6df0000].
> Bus 1, device 1, function 0:
> Network controller: Compaq Netelligent 10/100 Dual (rev 16).
> Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable.
> Latency=64.
> I/O at 0x5010 [0x5011].
> Non-prefetchable 32 bit memory at 0xc6ee0000 [0xc6ee0000].
> Bus 1, device 0, function 0:
> Network controller: Compaq Netelligent 10/100 Dual (rev 16).
> Medium devsel. Fast back-to-back capable. IRQ 5. Master Capable.
> Latency=64.
> I/O at 0x5000 [0x5001].
> Non-prefetchable 32 bit memory at 0xc6ef0000 [0xc6ef0000].
> Bus 0, device 1, function 0:
> PCI bridge: IBM 82351 (rev 1).
> Medium devsel. Fast back-to-back capable. Master Capable. Latency=64.
> Min Gnt=7.
> Non-prefetchable 32 bit memory at 0x40010100 [0x0].
> I/O at 0x24805150 [0x0].
> Non-prefetchable 32 bit memory at 0xc6e0c6e0 [0x0].
> Non-prefetchable 32 bit memory at 0xfff0 [0x0].
>
> and /proc/scsi/ncr53c8xx:
>
> %cat 0
>
> General information:
> Chip NCR53C875, device id 0xf, revision id 0x3
> IO port address 0x6000, IRQ number 11
> Using memory mapped IO at virtual address 0xfd802000
> Synchronous period factor 12, max commands per lun 12
> Profiling information:
>
> %cat 1
>
> General information:
> Chip NCR53C875, device id 0xf, revision id 0x3
> IO port address 0x6400, IRQ number 11
> Using memory mapped IO at virtual address 0xfd806000
> Synchronous period factor 12, max commands per lun 12
> Profiling information:
>
> , and the dmesg:
>
> Linux version 2.1.79 (root@breeze.cse.ogi.edu) (gcc version 2.7.2.1)
> Intel MultiProcessor Specification v1.4
> Virtual Wire compatibility mode.
> OEM ID: COMPAQ Product ID: PROLIANT APIC at: 0xFEE00000
> Processor #3 Pentium(tm) Pro APIC version 16
> Processor #0 Pentium(tm) Pro APIC version 16
> Processor #1 Pentium(tm) Pro APIC version 16
> Processor #2 Pentium(tm) Pro APIC version 16
> I/O APIC #8 Version 17 at 0xFEC00000.
> Processors: 4
> Console: 16 point font, 400 scans
> Console: colour VGA+ 80x25, 1 virtual console (max 63)
> PCI: BIOS32 Service Directory structure at 0x800ffee0
> PCI: BIOS32 Service Directory entry at 0xf0000
> PCI: PCI BIOS revision 2.10 entry at 0xf0070
> Probing PCI hardware.
> PCI: Warning: Unknown PCI device (e11:ae31). Please read include/linux/pci.h
> Calibrating delay loop... 199.48 BogoMIPS
> Memory: 2022092k/2048000k available (1016k kernel code, 400k reserved, 24440k
> data, 52k init)
> Swansea University Computer Society NET3.039 for Linux 2.1
> NET3: Unix domain sockets 0.16 for Linux NET3.038.
> Swansea University Computer Society TCP/IP for NET3.037
> IP Protocols: ICMP, UDP, TCP
> Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
> Checking 'hlt' instruction... Ok.
> POSIX conformance testing by UNIFIX
> CPU3: Intel Pentium Pro stepping 09
> calibrating APIC timer ...
> ..... CPU clock speed is 200.0134 MHz.
> ..... APIC bus clock speed is 66.6708 MHz.
> Booting processor 0 eip 2000: Calibrating delay loop... 199.88 BogoMIPS
> OK.
> CPU0: Intel Pentium Pro stepping 09
> Booting processor 1 eip 2000: Calibrating delay loop... 199.88 BogoMIPS
> OK.
> CPU1: Intel Pentium Pro stepping 09
> Booting processor 2 eip 2000: Calibrating delay loop... 199.48 BogoMIPS
> OK.
> CPU2: Intel Pentium Pro stepping 09
> Total of 4 processors activated (798.72 BogoMIPS).
> Starting kswapd v 1.23
> Serial driver version 4.24 with no serial options enabled
> PS/2 auxiliary pointing device detected -- driver installed.
> Real Time Clock Driver v1.07
> loop: registered device at major 7
> Uniform CD-ROM driver Revision: 2.11
> hda: CD-ROM CDU571-Q, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: ATAPI 8X CDROM drive w/128kB Cache
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a National Semiconductor PC87306
> ncr53c8xx: at PCI bus 2, device 10, function 0
> ncr53c8xx: 53c875 detected
> ncr53c8xx: at PCI bus 2, device 11, function 0
> ncr53c8xx: 53c875 detected
> ncr53c875-0: rev=0x03, base=0xc6fe0000, io_port=0x6000, irq=11
> ncr53c875-0: ID 7, Fast-20, Parity Checking
> ncr53c875-0: on-board RAM at 0xc6fd0000
> ncr53c875-0: restart (scsi reset).
> ncr53c875-0: copying script fragments into the on-board RAM ...
> ncr53c875-1: rev=0x03, base=0xc6fc0000, io_port=0x6400, irq=11
> ncr53c875-1: ID 7, Fast-20, Parity Checking
> ncr53c875-1: on-board RAM at 0xc6fb0000
> ncr53c875-1: restart (scsi reset).
> ncr53c875-1: copying script fragments into the on-board RAM ...
> scsi0 : ncr53c8xx - revision 2.5f
> scsi1 : ncr53c8xx - revision 2.5f
> scsi : 2 hosts.
> ncr53c875-0-<0,0>: FAST-5 WIDE SCSI 10.0 MB/s (200 ns, offset 15)
> ncr53c875-0-<0,0>: using tagged command queueing, up to 12 cmds/lun
> Vendor: COMPAQ Model: DGHS09Y Rev: 01C0
> Type: Direct-Access ANSI SCSI revision: 03
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> scsi : detected 1 SCSI disk total.
> ncr53c875-0-<0,0>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 15)
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 17773500 [8678 MB] [8.7 GB]
> TLAN 0.43: eth0 irq= 5 io=5000, Compaq Netelligent Dual 10/100 TX PCI UTP,
> Rev.
> 16
> TLAN 0.43: eth1 irq= 9 io=5010, Compaq Netelligent Dual 10/100 TX PCI UTP,
> Rev.
> 16
> Partition check:
> sda: sda1 sda2 sda3 sda4
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 52k freed
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html