Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Problems with 2.1.90
@ 1998-03-15 22:19 Nils Swart
  1998-03-16  0:56 ` Problems with 2.1.90, 2.1.89 also Nils Swart
  0 siblings, 1 reply; 4+ messages in thread
From: Nils Swart @ 1998-03-15 22:19 UTC (permalink / raw)
  To: axp-list

Hello,

Today I tried to compile kernel 2.1.90 (patch 3), and after a few minor
homemade patches (see below).

After these patches, all goes well and everything seems to compile
smoothly. Until I try to boot this kernel.

The first thing it starts complaining about is "Keyboard timeout" before
initting the scsi controller. And the system completely hangs when it
inits my Adaptec 2940UW.. 

This is a 164SX at 533 MHz, running RedHat 5.0 with all standard glibc
updates. 
gcc -v returns :
Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3

Does anyone have an idea why a) the keyboard timeout is given and b) the
2940UW initialisation hangs the system ?

Thanks in advance !

------- [ Home made patches for kernel 2.1.90 pre-3 ] ----

--- /usr/src/linux/mm/page_alloc.c.old    Mon Nov 11 11:21:41 1991
+++ /usr/src/linux/mm/page_alloc.c        Mon Nov 11 11:23:22 1991
@@ -31,6 +31,11 @@
 int nr_swap_pages = 0;
 int nr_free_pages = 0;

+/* 980315 nils@tdsdata.net   Possible bugfix ? */
+int min_free_pages = 0;
+int free_pages_low = 0;
+int free_pages_high = 0;
+
 /*
  * Free area management
  *
--------------[snip]-----------------
--- /usr/src/linux/arch/alpha/kernel/bios32.c.old        Sun Mar 15 16:25:25 1998
+++ /usr/src/linux/arch/alpha/kernel/bios32.c    Sun Mar 15 16:26:09 1998
@@ -813,7 +813,7 @@
  */
 static inline void eb66p_fixup(void)
 {
-       static char irq_tab[5][5] __initdata = {
+       static char irq_tab[5][5]  = {
                {16+0, 16+0, 16+5,  16+9, 16+13},  /* IdSel 6,  slot 0,
J25 */
                {16+1, 16+1, 16+6, 16+10, 16+14},  /* IdSel 7,  slot 1,
J26 */
                {  -1,   -1,   -1,    -1,    -1},  /* IdSel 8,  SIO
*/
@@ -869,7 +869,7 @@
 #if defined(CONFIG_ALPHA_PC164) || defined(CONFIG_ALPHA_LX164)
 static inline void alphapc164_fixup(void)
 {
-       static char irq_tab[7][5] __initdata = {
+       static char irq_tab[7][5]  = {
                /*INT   INTA  INTB   INTC   INTD */
                { 16+2, 16+2, 16+9,  16+13, 16+17}, /* IdSel  5, slot 2,
J20 */
                { 16+0, 16+0, 16+7,  16+11, 16+15}, /* IdSel  6, slot 0,
J29 */
@@ -900,7 +900,7 @@
  */
 static inline void cabriolet_fixup(void)
 {
-       static char irq_tab[5][5] __initdata = {
+       static char irq_tab[5][5]  = {
                { 16+2, 16+2, 16+7, 16+11, 16+15}, /* IdSel 5,  slot 2,
J21 */
                { 16+0, 16+0, 16+5,  16+9, 16+13}, /* IdSel 6,  slot 0,
J19 */
                { 16+1, 16+1, 16+6, 16+10, 16+14}, /* IdSel 7,  slot 1,
J20 */
@@ -956,7 +956,7 @@
  */
 static inline void eb66_and_eb64p_fixup(void)
 {
-       static char irq_tab[5][5] __initdata = {
+       static char irq_tab[5][5]  = {
                {16+7, 16+7, 16+7, 16+7,  16+7},  /* IdSel 5,  slot ?, ??
*/
                {16+0, 16+0, 16+2, 16+4,  16+9},  /* IdSel 6,  slot ?, ??
*/
                {16+1, 16+1, 16+3, 16+8, 16+10},  /* IdSel 7,  slot ?, ??
*/
@@ -1005,7 +1005,7 @@
  */
 static inline void mikasa_fixup(void)
 {
-       static char irq_tab[8][5] __initdata = {
+       static char irq_tab[8][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                {16+12, 16+12, 16+12, 16+12, 16+12},    /* IdSel 17,  SCSI
*/
                {   -1,    -1,    -1,    -1,    -1},    /* IdSel 18,  PCEB
*/
@@ -1076,7 +1076,7 @@
  */
 static inline void noritake_fixup(void)
 {
-       static char irq_tab[13][5] __initdata = {
+       static char irq_tab[13][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                {   -1,    -1,    -1,    -1,    -1},  /* IdSel 18,  PCEB
*/
                {   -1,    -1,    -1,    -1,    -1},  /* IdSel 19,  PPB
*/
@@ -1140,7 +1140,7 @@
  */
 static inline void alcor_fixup(void)
 {
-       static char irq_tab[6][5] __initdata = {
+       static char irq_tab[6][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                { 16+8,  16+8,  16+9, 16+10, 16+11},    /* IdSel 18,  slot
0 */
                {16+16, 16+16, 16+17, 16+18, 16+19},    /* IdSel 19,  slot
3 */
@@ -1195,7 +1195,7 @@
  */
 static inline void xlt_fixup(void)
 {
-       static char irq_tab[7][5] __initdata = {
+       static char irq_tab[7][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                {16+13, 16+13, 16+13, 16+13, 16+13},    /* IdSel 17,
TULIP  */
                { 16+8,  16+8,  16+9, 16+10, 16+11},    /* IdSel 18,  slot
0 */
@@ -1266,7 +1266,7 @@
 #ifdef CONFIG_ALPHA_SABLE
 static inline void sable_fixup(void)
 {
-        static char irq_tab[9][5] __initdata = {
+        static char irq_tab[9][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                { 32+0,  32+0,  32+0,  32+0,  32+0},  /* IdSel 0,  TULIP
*/
                { 32+1,  32+1,  32+1,  32+1,  32+1},  /* IdSel 1,  SCSI
*/
@@ -1349,7 +1349,7 @@
 #ifdef CONFIG_ALPHA_MIATA
 static inline void miata_fixup(void)
 {
-        static char irq_tab[18][5] __initdata = {
+        static char irq_tab[18][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                {16+ 8, 16+ 8, 16+ 8, 16+ 8, 16+ 8},  /* IdSel 14,
DC21142  */
                {   -1,    -1,    -1,    -1,    -1},  /* IdSel 15,  EIDE
*/
@@ -1420,7 +1420,7 @@
 #ifdef CONFIG_ALPHA_SX164
 static inline void sx164_fixup(void)
 {
-       static char irq_tab[5][5] __initdata = {
+       static char irq_tab[5][5]  = {
                /*INT    INTA   INTB   INTC   INTD */
                { 16+ 9, 16+ 9, 16+13, 16+17, 16+21}, /* IdSel 5 slot 2
J17 */
                { 16+11, 16+11, 16+15, 16+19, 16+23}, /* IdSel 6 slot 0
J19 */
@@ -1461,7 +1461,7 @@
         * that they use the default INTA line, if they are interrupt
         * driven at all).
         */
-       static const char pirq_tab[][5] __initdata = {
+       static const char pirq_tab[][5]  = {
 #ifdef CONFIG_ALPHA_P2K
                { 0,  0, -1, -1, -1}, /* idsel  6 (53c810) */
                {-1, -1, -1, -1, -1}, /* idsel  7 (SIO: PCI/ISA bridge) */
----------------------------------------[snip]=---------------

Greets,
	Nils Swart
	(nils@thrijswijk.nl / nils@tdsdata.net)



^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <199803160055.RAA21591@ellpspace.math.ualberta.ca>]

end of thread, other threads:[~1998-03-16 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-15 22:19 Problems with 2.1.90 Nils Swart
1998-03-16  0:56 ` Problems with 2.1.90, 2.1.89 also Nils Swart
1998-03-16 15:57   ` Mika Kortelainen
     [not found] <199803160055.RAA21591@ellpspace.math.ualberta.ca>
1998-03-16  9:30 ` Nils Swart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox