* alpha linux 2.2.3-ac2 + 53c875 problem? @ 1999-03-18 15:15 John Connett 1999-03-18 17:37 ` Michal Jaegermann 1999-03-18 18:05 ` Jay.Estabrook 0 siblings, 2 replies; 5+ messages in thread From: John Connett @ 1999-03-18 15:15 UTC (permalink / raw) To: Linux Alpha Mailing List I have attempted to build a linux 2.2.3-ac2 kernel for a Ruffian (UX) system using the linux 2.2.3 sources and the following patch: ftp://ftp.linux.org.uk/pub/linux/alan/2.2/patch-2.2.3-ac2.bz2 It all builds successfully (with egcs-1.1.1) but fails during boot with the following: [earlier messages scrolled off top of screen ... ncr53c875-0: rev=0x03, base=0x9100000, ioport=0x9000, irq=20 ncr53c875-0: ID 7, Fast-20, Parity Checking ncr53c875-0: on-chip RAM at 0x9101000 CACHE TEST FAILED: script execution failed. start=80753648, pc=80753648, end=80753674 CACHE INCORRECTLY CONFIGURED. ncr53c875-0: detatching... As the root filesystem is on the single disk attached to this controller this is pretty much a show stopper! I have also tried applying the following patch (before patch-2.2.3-ac2) and configuring for the sym53c8xx driver: ftp://ftp.tux.org/pub/roudier/misc-stuff/ncr-8xx-896-bundle-for-linux-2.2.3.patch.gz As before, all builds successfully but fails during boot in a similar manner with the following: [earlier messages scrolled off top of screen ...] sym53c875-0: rev=0x03, base=0x9100000, ioport=0x9000, irq=20 sym53c875-0: ID 7, Fast-20, Parity Checking sym53c875-0: on-chip RAM at 0x9101000 CACHE TEST FAILED: script execution failed. start=80751cf8, pc=80751cf8, end=80751d18 CACHE INCORRECTLY CONFIGURED. sym53c875-0: giving up ... MILO has no problem booting using the same controller and disk combination, and earlier kernels (eg. 2.2.1) ran without any obvious problems. Any suggestions? -- John Connett (jrc@art.co.uk) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alpha linux 2.2.3-ac2 + 53c875 problem? 1999-03-18 15:15 alpha linux 2.2.3-ac2 + 53c875 problem? John Connett @ 1999-03-18 17:37 ` Michal Jaegermann 1999-03-18 18:54 ` John Connett 1999-03-18 18:05 ` Jay.Estabrook 1 sibling, 1 reply; 5+ messages in thread From: Michal Jaegermann @ 1999-03-18 17:37 UTC (permalink / raw) To: axp-list John Connett wrote: > > I have attempted to build a linux 2.2.3-ac2 kernel for a Ruffian (UX) > system using the linux 2.2.3 sources and the following patch: ..... > > sym53c875-0: rev=0x03, base=0x9100000, ioport=0x9000, irq=20 > sym53c875-0: ID 7, Fast-20, Parity Checking > sym53c875-0: on-chip RAM at 0x9101000 > CACHE TEST FAILED: script execution failed. > start=80751cf8, pc=80751cf8, end=80751d18 > CACHE INCORRECTLY CONFIGURED. > sym53c875-0: giving up ... Hm, this is 2.2.3-ac2 although on a different Alpha and compiled with egcs-1.1.2: sym53c8xx: at PCI bus 0, device 9, function 0 sym53c8xx: 53c875 detected with Symbios NVRAM sym53c875-0: rev=0x03, base=0x6001000, io_port=0x9000, irq=19 sym53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking sym53c875-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/a0/00/00/24 sym53c875-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/80/00/08/24 sym53c875-0: on-chip RAM at 0x6002000 sym53c875-0: resetting, command processing suspended for 2 seconds sym53c875-0: restart (scsi reset). sym53c875-0: enabling clock multiplier sym53c875-0: Downloading SCSI SCRIPTS. scsi0 : sym53c8xx - version 1.3 scsi : 1 host. sym53c875-0: command processing resumed > MILO has no problem booting using the same controller and disk > combination, and earlier kernels (eg. 2.2.1) ran without any obvious > problems. > > Any suggestions? Both ncr53c8xx and sym53c8xx controllers have a long list a parameters which can be passed in a boot command and which affect how controllers behave. Corresponding README files have a lot of details. Did you try to boot using 'safe' option? What happens then? How actually is configured your driver in your .config file? Also do you know which is the first version of this driver which started to fail for you? Last, but not least, did you ask the author? Michal ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alpha linux 2.2.3-ac2 + 53c875 problem? 1999-03-18 17:37 ` Michal Jaegermann @ 1999-03-18 18:54 ` John Connett 0 siblings, 0 replies; 5+ messages in thread From: John Connett @ 1999-03-18 18:54 UTC (permalink / raw) To: axp-list; +Cc: ncr53c810, linux-scsi Michal Jaegermann wrote: > Both ncr53c8xx and sym53c8xx controllers have a long list a > parameters which can be passed in a boot command and which affect > how controllers behave. Corresponding README files have a lot of > details. Did you try to boot using 'safe' option? What happens > then? With "ncr53c8xx=safe:y" it did the same thing. > How actually is configured your driver in your .config file? # CONFIG_SCSI_NCR53C8XX is not set CONFIG_SCSI_SYM53C8XX=y CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8 CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 CONFIG_SCSI_NCR53C8XX_SYNC=20 > Also do you know which is the first version of this driver which > started to fail for you? ncr53c8xx.c March 7 1999, version 3.2 sym53c8xx.c March 6 1999, version 1.3 This is my first attempt to use 2.2.3. > Last, but not least, did you ask the author? Not directly, but I did the original of this message to ncr53c810@Colorado.EDU and linux-scsi@vger.rutgers.edu where it may be seen by Gerard Roudier and others who have contributed to these drivers. Unfortunately, axp-list bounced the original because my "From: " address has changed since I subscribed otherwise this would have been visible in the "Cc: " headers. Many thanks for the help -- John Connett (jrc@art-render.com) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alpha linux 2.2.3-ac2 + 53c875 problem? 1999-03-18 15:15 alpha linux 2.2.3-ac2 + 53c875 problem? John Connett 1999-03-18 17:37 ` Michal Jaegermann @ 1999-03-18 18:05 ` Jay.Estabrook 1999-03-19 11:03 ` John Connett 1 sibling, 1 reply; 5+ messages in thread From: Jay.Estabrook @ 1999-03-18 18:05 UTC (permalink / raw) To: axp-list; +Cc: rth, Jay.Estabrook >>> John Connett said: > > I have attempted to build a linux 2.2.3-ac2 kernel for a Ruffian (UX) > system using the linux 2.2.3 sources and the following patch: > > ftp://ftp.linux.org.uk/pub/linux/alan/2.2/patch-2.2.3-ac2.bz2 Uh, those patches include the Henderson ones related to support of 2Gb of memory, right? Clue number 1... > It all builds successfully (with egcs-1.1.1) but fails during boot with > the following: > > [earlier messages scrolled off top of screen ... > ncr53c875-0: rev=0x03, base=0x9100000, ioport=0x9000, irq=20 > ncr53c875-0: ID 7, Fast-20, Parity Checking > ncr53c875-0: on-chip RAM at 0x9101000 > CACHE TEST FAILED: script execution failed. > start=80753648, pc=80753648, end=80753674 > CACHE INCORRECTLY CONFIGURED. > ncr53c875-0: detatching... Notice that the "start=" address is above 2Gb. Clue number 2... > I have also tried applying the following patch (before patch-2.2.3-ac2) > and configuring for the sym53c8xx driver: > > ftp://ftp.tux.org/pub/roudier/misc-stuff/ncr-8xx-896-bundle-for-linux-2.2.3 > .patch.gz This is irrelevant. > MILO has no problem booting using the same controller and disk > combination, and earlier kernels (eg. 2.2.1) ran without any obvious > problems. So MILO and older kernels work, eh? Clue number 3... And if you saw a message during boot-up of the kernel that said: "ruffian_init_arch: Skipping window register rewrites." "... Trust DeskStation firmware!" that would be Clue number 4... So, have you gotten the suspicion that it might be related to the patches for 2Gb memory support? If so, you're right... ;-} And it's not obvious; I know, I submitted the original code, and I ran into this same exact problem when I played around with 2Gb memory support on the UX as well. It turns out that Richard's patches make the virt_to_bus routine calculate bus addresses (like the "start=" one of the SCSI driver above) based on a PCI DMA window address located at 2Gb. Unfortunately, on the UX, the kernel's PCI DMA window init code does NOT change where the console code has initialized the window (and which MILO doesn't change, either), which is always at 1Gb, no matter how much memory there is. Quick solution: go back to stock 2.2.3, if possible. Permanent solution? Well, what I did was to revert the original window address back to 1Gb, and define a *second* window to map memory above 1Gb to the new window at 2Gb. This is apparently what the ARCSBIOS console does on the UX, so we can continue to have the kernel not bother with the initialization on the UX. This is critical for maintaining compatibility with older MILOs - if we let the kernel change the window mappings, if/when MILO is re-entered from the kernel via "shutdown -r", it (MILO) wouldn't work correctly. IMHO, the changed code should work fine on the other PYXIS-based machines. --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Motherboards - LINUX Project Compaq Computer Corporation (508) 841-3241 or (DTN) 237-3241 334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com ------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: alpha linux 2.2.3-ac2 + 53c875 problem? 1999-03-18 18:05 ` Jay.Estabrook @ 1999-03-19 11:03 ` John Connett 0 siblings, 0 replies; 5+ messages in thread From: John Connett @ 1999-03-19 11:03 UTC (permalink / raw) To: axp-list; +Cc: rth, Jay.Estabrook Jay.Estabrook@digital.com wrote: > Clue number 1... > Clue number 2... > Clue number 3... > that would be Clue number 4... Jay, thanks for the clear and concise explanation! I guess nobody could accuse me of being clueless :-) > Permanent solution? Well, what I did was to revert the original window > address back to 1Gb, and define a *second* window to map memory above 1Gb to > the new window at 2Gb. This is apparently what the ARCSBIOS console does on > the UX, so we can continue to have the kernel not bother with the > initialization on the UX. This is critical for maintaining compatibility > with older MILOs - if we let the kernel change the window mappings, if/when > MILO is re-entered from the kernel via "shutdown -r", it (MILO) wouldn't > work correctly. IMHO, the changed code should work fine on the other > PYXIS-based machines. So does this mean that the UX could support 1.5Gb (6 x 256Mb) or 2Gb (4 x 512Mb) but is unlikely to support 3Gb (6 x 512Mb)? The price of 512Mb parts will probably make > 1.5Gb support somewhat academic in the near future. We have a single UX fitted with 1.5Gb which has been running an older kernel (2.0.32) without any apparent problems. Does the 1Gb limit only apply to DMA or are other areas of the kernel likely to be affected? From your earlier comments about an 875-based card in a DP264 with 2Gb, I'm surprised that this system manages to boot at all! It has a single disk attached to the on-board 875-based controller. Here's a copy of the SCSI part of the console log: Memory: 1550528k available [...] ncr53c8xx: at PCI bus 1, device 13, function 0 ncr53c8xx: PCI_COMMAND_INVALIDATE not set, WRITE AND INVALIDATE not used ncr53c8xx: 53c875 detected ncr53c875-0: rev=0x03, base=0x4141000, io_port=0x1100, irq=20 ncr53c875-0: ID 7, Fast-20, Parity Checking ncr53c875-0: on-board RAM at 0x4140000 ncr53c875-0: restart (scsi reset). scsi0 : ncr53c8xx - revision 2.4a scsi : 1 host. Vendor: IBM Model: DDRS-34560W Rev: S92A Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 1, lun 0 scsi : detected 1 SCSI disk total. ncr53c875-0-<1,0>: SLOW WIDE SCSI 10.0 MB/s (200 ns, offset 15) SCSI device sda: hdwr sector= 512 bytes. Sectors= 8925000 [4357 MB] [4.4 GB] Hmmm, looks like that "PCI_COMMAND_INVALIDATE ..." might be another clue. Thanks again for the help -- John Connett (jrc@art-render.com) ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-03-19 11:13 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1999-03-18 15:15 alpha linux 2.2.3-ac2 + 53c875 problem? John Connett 1999-03-18 17:37 ` Michal Jaegermann 1999-03-18 18:54 ` John Connett 1999-03-18 18:05 ` Jay.Estabrook 1999-03-19 11:03 ` John Connett
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox