Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 14:38:05 -0500 (EST)
From:      "Viren R. Shah" <viren@rstcorp.com>
To:        ONE-MO <onemo@jps.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Compaq ida driver patch
Message-ID:  <199902041938.OAA53509@jabberwock.rstcorp.com>
In-Reply-To: <36B9EECF.DB2F9F08@jps.net>
References:  <36B8DA72.F58BB5D1@jps.net> <36B956B7.4299FC0@doc.ic.ac.uk> <199902041438.JAA44908@jabberwock.rstcorp.com> <36B9EECF.DB2F9F08@jps.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "MO" == ONE-MO  <onemo@jps.net> writes:

 MO> I booted a 2.2.7 ida install floppy and checked the device
 MO> settings there. It showed the port at 0x0 so I tried that and it
 MO> detected the actual port of 0x1000. I tried kernel configs with
 MO> both 0x0 and 0x1000, either way I still can't access with
 MO> 3.0-based utils. I am able to access it and setup a filesystem on
 MO> it using the 2.2.7 floppy - but booting back to 3.0, I get the
 MO> same lock trying to mount the fs.

Hmm..I've been running a hacked version of the ida driver on -3.0
current, and now on -4.0 current (for the past couple of months). So,
while, the EISA/wd stuff in 3.0 may have changed, it hasn't changed a
lot. All I've changed in ida.c is hard-coding the port (to 0x6000 in
my case). I'll send you my version of ida.c seperately.
also, can you post the dmseg lines from 2.2.7 and 3.0?


Here's how I would recommend you do it:

1. Install 2.2.x using one of the boot floppies from Mark's site. 
2. cvsup to 3.0-stable
3. Modify the upgrade kernel config file to include the ida
   drivers. Modify the kernel sources according to the instructions on
   Mark's site. Modify ida.c so that it always goes to port 0x1000
   (Look at where I did it in my version of ida.c )
4. run the upgrade procedure (I ran make aout-to-elf-build. I don't know
   whether it is still the same)
5. DO not install the new boot blocks (just in case the kernel fails)
6. try out the new kernel. If it fails, default to the old 2.2.x
   kernel, and make modifications to ida.c. Keep at it till it works. 

(don't take this as gospel. Read the upgrade makefiles to see what
exactly it is doing)


OR
 I can build you a kernel with the port hardcoded to 0x1000. I would
 rather not do this since the only means I have of transferring the
 kernel from my home machine to work is a 28.8 modem. 


[I realize that all this is a big hack, and that Mark and a bunch of
others are cringing, but *shrug* practicality first]


Viren
-- 
Viren R. Shah, {viren @ rstcorp . com} http://www.rstcorp.com/~vshah/
   ======     FreeBSD: It's free, it's fast, it's fun.     ======
      "3 syncs represent the trinity - init, the child and the
           eternal zombie process."  -- Jordan Hubbard

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902041938.OAA53509>