lkml.org 
[lkml]   [1996]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.1.15: ibmmca-scsi does not work

Hi kernel hackers,

I just tried 2.1.15 on my PS/2 Model 95 (with IBM SCSI).
It does not work. I observed the following:

1.) To get it compiled:
--- ibmmca.c.ORIG Thu Dec 12 22:52:07 1996
+++ ibmmca.c Thu Dec 12 22:52:42 1996
@@ -596,7 +596,7 @@

/*issue scb to passed ldn, and busy wait for interrupt */
got_interrupt = 0;
- issue_cmd (virt_to_bus((unsigned long)) &scb, IM_SCB | ldn);
+ issue_cmd (virt_to_bus((unsigned long) &scb), IM_SCB | ldn);
while (!got_interrupt)
barrier ();

2.) I still get these warnings:
ibmmca.c: In function `device_exists':
ibmmca.c:593: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:595: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:599: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:630: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:632: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:636: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c: In function `ibmmca_queuecommand':
ibmmca.c:743: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:752: warning: assignment makes pointer from integer without a
cast
ibmmca.c:756: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:761: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast
ibmmca.c:836: warning: passing arg 1 of `virt_to_phys' makes pointer
from integer without a cast

3.) The built-in loader (cat zImage >/dev/fd0) repeatedly spits out
lines of "AX=...", "BX=...", and so on. If anybody is interested,
I can write down the messages in detail. LILO works, of course.

4.) The IBM SCSI adapter is not detected at all. ("scsi: 0 hosts",
no error message from ibmmca.c). A 2.0.10 kernel with the MCA
patches works fine on this machine.

BTW, with 2.1.14-megapatch8, problems #1, #2, and #4 also appear, but
#3 does not.

On the weekend I will have a look at ibmmca.c. Unfortunately I'm
completely unfamiliar with the new features of the 2.1.x kernels
(virt_to_phys et al.). So if anybody has an idea where to start....
--
Klaus Kudielka OE1KIB Peter Jordanstr. 165, A-1180 Wien, AUSTRIA
oe1kib@oe1xtu.ampr.org http://oe1xtu.ampr.org/~oe1kib/
http://asterix.nt.tuwien.ac.at/~oe1kib/

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.071 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site