Bug 67285
| Summary: | aha152x fails to work in the 2.4.18-5 kernel for pcmcia scsi card | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | George H. Fisher <fisher> |
| Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
| Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | cefrodrigues, m.oliver, wjamros |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-06-07 19:12:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
George H. Fisher
2002-06-21 21:28:58 UTC
I have a ISA scsi card suported by the aha152x driver and I find it is also broken on 2.4.18-5 although it worked perfectly fine with 2.4.18-4. I even tried changing the irq and io settings on the card. Output from dmesg is similar to the above and it is: aha152x: BIOS test: passed, detected 1 controller(s) aha152x: resetting bus... aha152x0: vital data: rev=1, io=0x140 (0x140/0x140), irq=11, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled aha152x0: trying software interrupt, lost. aha152x0: IRQ 11 possibly wrong. Please verify. aha152x: BIOS test: passed, detected 1 controller(s) aha152x: resetting bus... aha152x0: vital data: rev=1, io=0x140 (0x140/0x140), irq=11, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled aha152x0: trying software interrupt, lost. aha152x0: IRQ 11 possibly wrong. Please verify. The output is posted twice above... my mistake. I think I found the cause, could you guys try the 2.4.18-5a kernel from http://people.redhat.com/arjanv/testkernels ? Hi Arjan, I just tried the new kernel, and now the aha152x driver seems to work fine. I hooked up my pcmcia scsi card (labeled as a "jaz" card) up to my hp m820e cd burner and burned a cd. It worked fine, at least for my setup. Thanks for your help! Best, - George I've also the same problem with kernel 2.4.18-5. Here is the log : Jun 24 21:11:25 TooneMach kernel: Linux Kernel Card Services 3.1.22 Jun 24 21:11:25 TooneMach kernel: options: [pci] [cardbus] [pm] Jun 24 21:11:25 TooneMach kernel: PCI: Found IRQ 11 for device 00:03.0 Jun 24 21:11:25 TooneMach kernel: PCI: Sharing IRQ 11 with 00:03.1 Jun 24 21:11:25 TooneMach kernel: PCI: Sharing IRQ 11 with 00:07.2 Jun 24 21:11:25 TooneMach kernel: PCI: Found IRQ 11 for device 00:03.1 Jun 24 21:11:25 TooneMach kernel: PCI: Sharing IRQ 11 with 00:03.0 Jun 24 21:11:25 TooneMach kernel: PCI: Sharing IRQ 11 with 00:07.2 Jun 24 21:11:25 TooneMach kernel: Yenta IRQ list 06b8, PCI irq11 Jun 24 21:11:25 TooneMach kernel: Socket status: 30000010 Jun 24 21:11:25 TooneMach kernel: Yenta IRQ list 06b8, PCI irq11 Jun 24 21:11:25 TooneMach kernel: Socket status: 30000010 Jun 24 21:11:26 TooneMach cardmgr[2969]: starting, version is 3.1.22 Jun 24 21:11:26 TooneMach cardmgr[2969]: config error, file './config.opts' line 6: no function bindings Jun 24 21:11:26 TooneMach cardmgr[2969]: watching 2 sockets Jun 24 21:11:26 TooneMach kernel: cs: IO port probe 0x1000-0x17ff: clean. Jun 24 21:11:26 TooneMach kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x280-0x287 0x4d0-0x4d7Jun 24 21:11:26 TooneMach cardmgr[2969]: initializing socket 0 Jun 24 21:11:26 TooneMach kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. Jun 24 21:11:26 TooneMach cardmgr[2969]: socket 0: D-Link DE-660 Ethernet Jun 24 21:11:26 TooneMach cardmgr[2969]: executing: 'modprobe 8390' Jun 24 21:11:26 TooneMach cardmgr[2969]: executing: 'modprobe pcnet_cs' Jun 24 21:11:27 TooneMach kernel: eth0: NE2000 Compatible: io 0x300, irq 5, hw_addr 00:80:C8:8B:8B:C7 Jun 24 21:11:27 TooneMach cardmgr[2969]: executing: './network start eth0' Jun 24 21:11:27 TooneMach /etc/hotplug/net.agent: invoke ifup eth0 Jun 24 21:11:27 TooneMach cardmgr[2969]: initializing socket 1 Jun 24 21:11:27 TooneMach cardmgr[2969]: socket 1: Adaptec APA-1460 SlimSCSI Jun 24 21:11:27 TooneMach cardmgr[2969]: executing: 'modprobe aha152x_cs irq_list=9,10 reset_delay=500 synchronous=0 ext_trans=1' Jun 24 21:11:27 TooneMach cardmgr[2969]: get dev info on socket 1 failed: No such device Jun 24 21:11:27 TooneMach kernel: aha152x: processing commandline: ok Jun 24 21:11:27 TooneMach kernel: aha152x: BIOS test: passed, detected 1 controller(s) Jun 24 21:11:27 TooneMach kernel: aha152x: resetting bus... Jun 24 21:11:27 TooneMach kernel: aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=9, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=500, extended translation=enabledJun 24 21:11:27 TooneMach kernel: aha152x0: trying software interrupt, lost. Jun 24 21:11:27 TooneMach kernel: aha152x0: IRQ 9 possibly wrong. Please verify. Jun 24 21:11:27 TooneMach kernel: aha152x_cs: no SCSI devices found Jun 24 21:11:27 TooneMach kernel: Trying to free nonexistent resource <00000340-0000035f> Jun 24 21:15:13 TooneMach kernel: loop: loaded (max 8 devices) [root@TooneMach root]# 2.4.18-5a works fine for me also. I also could not use the aha152x module with 2.4.18-5. It worked fine with 2.4.18-3. 2.4.18-5a no longer existed in the testkernel directory. I downloaded 2.4.18-5e instead (no other choice) for i686. The module now loads properly. I still have problems using an Adaptec AVA-1505 card with the latest test kernel (with scanner Scanmaker e3 plus attached): History of the problem: ************************************** WORKS FINE: kernel-2.4.7-10.athlon.rpm ************************************** Aug 6 18:54:09 hoelderlin kernel: Linux version 2.4.7-10 (bhcompile.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6 16:46:36 EDT 2001 Aug 6 18:54:10 hoelderlin kernel: SCSI subsystem driver Revision: 1.00 Aug 6 18:54:10 hoelderlin kernel: aha152x: BIOS test: passed, detected 1 controller(s) Aug 6 18:54:10 hoelderlin kernel: aha152x: resetting bus... Aug 6 18:54:10 hoelderlin kernel: aha152x0: vital data: rev=3, io=0x140 (0x140/0x140), irq=9, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled Aug 6 18:54:10 hoelderlin kernel: aha152x0: trying software interrupt, ok. Aug 6 18:54:10 hoelderlin kernel: scsi0 : Adaptec 152x SCSI driver; $Revision: 2.4 $ ************************************** COMPLETELY BROKEN SINCE 2.4.9-21 LOG FROM kernel-2.4.18-5.athlon.rpm ************************************** Aug 6 18:49:05 hoelderlin kernel: Linux version 2.4.18-5 (bhcompile.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Mon Jun 10 15:37:14 EDT 2002 Aug 6 18:49:13 hoelderlin kernel: aha152x: BIOS test: passed, detected 1 controller(s) Aug 6 18:49:13 hoelderlin kernel: aha152x: resetting bus... Aug 6 18:49:13 hoelderlin kernel: aha152x1: vital data: rev=3, io=0x140 (0x140/0x140), irq=9, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled Aug 6 18:49:13 hoelderlin kernel: aha152x1: trying software interrupt, lost. Aug 6 18:49:13 hoelderlin kernel: aha152x1: IRQ 9 possibly wrong. Please verify. *********************************************************** CARD WORKS, BUT SCANNER DOESN'T: kernel-2.4.18-7.athlon.rpm *********************************************************** Aug 6 20:13:12 hoelderlin kernel: Linux version 2.4.18-7 (bhcompile.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Mon Jul 22 07:54:58 EDT 2002 Aug 6 20:13:21 hoelderlin kernel: aha152x: BIOS test: passed, detected 1 controller(s) Aug 6 20:13:21 hoelderlin dhcpd: Aug 6 20:13:21 hoelderlin kernel: aha152x: resetting bus... Aug 6 20:13:21 hoelderlin dhcpd: Please contribute if you find this software useful. Aug 6 20:13:21 hoelderlin kernel: aha152x0: vital data: rev=3, io=0x140 (0x140/0x140), irq=9, scsiid=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=1000, extended translation=disabled Aug 6 20:13:21 hoelderlin kernel: aha152x0: trying software interrupt, spurious 8259A interrupt: IRQ7. Aug 6 20:13:21 hoelderlin kernel: ok. Aug 6 20:13:21 hoelderlin kernel: scsi0 : Adaptec 152x SCSI driver; $Revision: 2.4$ Aug 6 20:13:21 hoelderlin kernel: Vendor: Model: Scanner 300A4 Rev: 5.12 Aug 6 20:13:21 hoelderlin kernel: Type: Scanner When trying to use the scanner, the following happens (for some reason kernel seems to think it's an ide-scsi device, which it isn't): Aug 6 20:14:17 hoelderlin modprobe: modprobe: Can't locate module char-major-81 Aug 6 20:14:17 hoelderlin last message repeated 3 times Aug 6 20:14:17 hoelderlin kernel: Attached scsi generic sg0 at scsi0, channel 0, id 6, lun 0, type 6 Aug 6 20:14:17 hoelderlin kernel: ide-scsi: The scsi wants to send us more data than expected - discarding data Aug 6 20:14:17 hoelderlin kernel: ide-scsi: transferred 1 of 2 bytes The problem described in my previous comment is resolved, and not kernel related: The 2.4.18 kernel permutes the numbering of scsi devices, so that /dev/scanner was suddenly pointing to the CD writer. After fixing this, 2.4.18-7 works fine for me. I am running a desktop with an older (non-pci) Adaptec SCSI card that uses the AHA152x driver which immediately failed with the 2.4.18-5 kernel update, but the suggested 2.4.18-7 update installed and it seems fine now. The problem is back in redhat 8.0 I have an Adaptec 1460 PCMCIA SCSI card that I'm using with RedHat 8.0
(2.4.18-14 kernel). I see the same problem ("trying software interrupt, lost.")
when I insert the card. Using Google, I was able to find some information about
this problem at http://www.uwsg.iu.edu/hypermail/linux/kernel/0207.2/0209.html.
I modified aha152x.c as suggested in the post and rebuilt the kernel. I am now
able to use my SCSI card.
I previously used this card under RedHat 7.1 and RedHat 7.2 without any problems.
The problem is fixed in the errata kernel 2.4.18-17.8.0. |