On Fri, Mar 24, 2000 at 12:08:36PM +0100, Karl-Heinz Herrmann wrote:
[snip snip]

> Then try to set the card to a valid combination. The insmod ... irq=255
> probably means "don't use irq" ? Then still you would have to tell the
> card a iobase it is willing to accept. 

I managed to get the card detected some months ago without the irq option,
but Alan said it was better to use irq=255, although it worked without
specifying.

> Try to get the information to which it is set under winXX (you mentioned
> it's working there). Try the same values with Linux. Try a warmboot from
> win into Linux, maybe the cardsettings survive. If the card shows up
> then, try too figure out how to set the same without winXX (read
> /proc/ioports /proc/interrupts etc. again).

The warmboot is the only way I have managed to make that old card work. I'm
not currently using that box a whole lot, so I can't really test further.
The worst is that box does not dualboot anymore, so the warmboot is a bit
more complicated now.

> Then you could try to find some more info on that card under Linux. 
> Try the hardware and support data base on www.suse.com or look at RedHat
> or Debian. Also the /usr/src/linux/Documentation could hold some valuable
> information to get the card recognised. 

The documentation for this driver is a bit incomplete. I should try to
complete it with the info I collected in my previous queries to this list.
If I did, should I mail it to you for revision, Alan?

> [Alan]
> > > insmod g_NCR5380 ncr_addr=0x348 ncr_irq=255 ncr_53c400a=1
> 
> [vorlon-kosh]
> > I already tried this command, but it says:
> > device or resource busy (or something like this).
> 
> Could this also happen when the module is not loadable by some
> kernel-mismatch? That would usually print some other error.

Umh, nah, it's probably wrong params. I suffered that.

Searching for old 53C400a messages I find the following:

On Tue, 16 Nov 1999 23:21:01 +0100 I asked:
> In short, how do I know which of the two cards I have (port or memory
> mapped), and how do I know my io port?

Alan replied:
NCR53c400a is I/O mapped. I've only ever used it as a loadable module and in
my case that works

More, I said and Alan replied:
> boira:~# modprobe g_NCR5380 ncr_addr=0x290 ncr_53c400a=1
> scsi0 : IRQ0 not free, interrupts disabled

Specify irq=255 if you want to say "do this polled"

> boira:~# modprobe g_NCR5380 ncr_addr=0x290 ncr_53c400a=1 ncr_irq=5
> scsi0 : at port 0x290 irq 5 options CAN_QUEUE=16  CMD_PER_LUN=2
> release=1
> generic options AUTOPROBE_IRQ AUTOSENSE PSEUDO DMA USLEEP, USLEEP_POLL=1
> USLEEP_SLEEP=20 generic release=7

Thats perfect, IRQ and all. It'll now merely suck horribly being an 8bit
ISA controller 8)

But this was after a warm boot. I don't remember being able to detect the
card without pre-booting windows, but as I said, I'll get that box back to
me this weekend to test.

I hope this helps someone.

Jordi

-- 
Jordi Mallach P�rez || [EMAIL PROTECTED]   || Rediscovering Freedom,
ka Oskuro in RL-MUD || [EMAIL PROTECTED]        || Using Debian GNU/Linux

http://sindominio.net  GnuPG public information:      pub  1024D/917A225E 
telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E

PGP signature

Reply via email to