Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80707 - Kernel allocates same interrupt twice
Summary: Kernel allocates same interrupt twice
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: HPPA Linux
: High normal (vote)
Assignee: Gentoo/HPPA Kernel Hackers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 05:45 UTC by Richard Walter
Modified: 2005-03-15 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge --info,1.57 KB, text/plain)
2005-02-04 05:47 UTC, Richard Walter
Details
.config of faulty kernel (config-2.6.10-pa11,18.11 KB, text/plain)
2005-02-04 05:50 UTC, Richard Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Walter 2005-02-04 05:45:15 UTC
The NIC (Network interface card) on my HP9000 735/99 doesn't work with hppa-sources-2.6.10-pa11, no matter whether the lasi_82596 driver is compiled statically in the kernel or as a module. The driver wants to use IRQ 17, which is already used by "HP SDC NMI", according to /proc/interrupts.
The driver works flawless with hppa-sources-2.4.26-pa4 an hppa-sources-2.6.10-pa2. I believe that this is a problem with the new interrupt code introduced in hppa-sources-2.6.10-pa4 (This is an estimation).

Reproducible: Always
Steps to Reproduce:
1. emerge =hppa-sources-2.6.10-pa11
2. configure and compile the kernel
3. install it in palo
4. boot the machine with the new kernel
Actual Results:  
the NIC didn't work, with the followin messages: 
Feb 2 19:14:07 hp LASI 82596 driver - Revision: 1.30  
Feb 2 19:14:07 hp Found i82596 at 0xf0826000, IRQ 17  
Feb 2 19:14:07 hp drivers/net/lasi_82596.c: MAC of HP700 LAN read from EEPROM  
Feb 2 19:14:07 hp eth0: 82596 at 0xf0826000, 08 00 09 49 85 F2 IRQ 17.  
Feb 2 19:14:14 hp eth0: IRQ 17 not free  
(built-in and module created similar messages) 

Expected Results:  
the NIC should have got a free interrupt and work normally 

Machine: HP9000 735/99 with 176 MB RAM and single-ended SCSI disks 
NIC: Standard BNC "Thin LAN" Daughterboard A2831A 
Graphics card: CRX 
EISA card: none
Comment 1 Richard Walter 2005-02-04 05:47:56 UTC
Created attachment 50325 [details]
emerge --info
Comment 2 Richard Walter 2005-02-04 05:50:09 UTC
Created attachment 50326 [details]
.config of faulty kernel
Comment 3 Richard Walter 2005-02-08 14:34:55 UTC
I 've tested multiple kernel versions and the results are the following:
hppa-sources-2.6.10-p2: network works, interrupts are
           CPU00 
  2:          0            EISA  cascade
 32:    1496943      PARISC-CPU  timer
 35:    3355653      PARISC-CPU  asp
 85:          0          Cutoff  EISA
 86:     175881          Cutoff  2:0:1
 87:        590          Cutoff  i82596
 88:          0          Cutoff  parport0
 90:          9          Cutoff  serial
 93:          0          Cutoff  HP SDC NMI
 94:    3181388          Cutoff  HP SDC
which are the same interrupts as in 2.4 kernels

hppa-sources-2.6.10-p4 and hppa-sources-2.6.10-p6:
network works an zhe interrupts are
           CPU00 
  2:          0            EISA  cascade
 32:      26214             CPU  timer
 35:      69616             CPU  asp
 64:          1        GSC-ASIC  HP SDC NMI
 65:      65037        GSC-ASIC  HP SDC
 69:          9        GSC-ASIC  serial
 71:          0        GSC-ASIC  parport0
 72:         39        GSC-ASIC  i82596
 73:       4576        GSC-ASIC  2:0:1
 74:          0        GSC-ASIC  EISA

hppa-sources-2.6.10-p10 and hppa-sources-2.6.10-p11:
network does not work and the interrupts are
           CPU0
  2:          0            EISA  cascade
 16:       3114        GSC-ASIC  2:0:1
 17:          0        GSC-ASIC  HP SDC NMI
 18:      75085        GSC-ASIC  HP SDC
 19:          9        GSC-ASIC  serial
 21:          0        GSC-ASIC  parport0
 25:          0        GSC-ASIC  EISA
 64:      34026             CPU  timer
 67:      78163             CPU  asp

all 2.6 kernels used the .config posted above, but with
CONFIG_LASI_82596=y
Comment 4 Richard Walter 2005-03-10 04:04:43 UTC
I just installed linux-2.6.11-pa2 which I obtained directly from
http://cvs.parisc-linux.org/download/linux-2.6/ as it is not yet in portage.
 
The interrupt numbers again changed, IRQ17 was cleared for i82596, HP SDC NMI moves to IRQ19, serial to 20 ect.

the content of /proc/interrupts is now

           CPU0
  2:          0            EISA  cascade
 16:       3539        GSC-ASIC  53c700
 17:        244        GSC-ASIC  i82596
 18:     466161        GSC-ASIC  HP SDC
 19:          0        GSC-ASIC  HP SDC NMI
 20:          8        GSC-ASIC  serial
 22:          0        GSC-ASIC  parport0
 24:          0        GSC-ASIC  harmony
 26:          0        GSC-ASIC  EISA
 64:     169573             CPU  timer
 67:     469923             CPU  asp

and the NIC works again. I made oldconfig from the .config posted above, but with CONFIG_LASI_82596=y and I changed the audio driver from ALSA to OSS.
Comment 5 Richard Walter 2005-03-15 08:58:59 UTC
As hppa-sources-2.6.11_pa2 are now in portage (and marked hppa stable) I emerged them and tried them out. The NIC now works with the latest kernel in portage, so I close this bug, setting it to FIXED.