bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying GNUMach with 2.0.38 drivers


From: Ognyan Kulev
Subject: Re: Trying GNUMach with 2.0.38 drivers
Date: Tue, 19 Dec 2000 22:10:31 +0200
User-agent: Mutt/1.2.5i

On Tue, Dec 19, 2000 at 04:02:11PM +0100, Marcus Brinkmann wrote:
> On Tue, Dec 19, 2000 at 03:47:55PM +0200, Ognyan Kulev wrote:
> > I try to compile GNUMach replacing its linux drivers with 2.0.38's because
> > my computer is with Adaptec SCSI and the driver is broken:(( But there are
> > some compilation errors with asm statements.  Have anyone experience trying
> > to replace the drivers?
> 
> These asm problems are probably the generic asm problems of old linux
> kernels with new gcc's. You can actually try to use the 2.2 driver, but this
> might not work for scsi controller drivers (for network cards, it seems to
> work). What you can do is backport the asm changes in 2.2 driver to 2.0.38

I notice this is the problem.

> driver. I did this a couple of times, and missed the adaptec driver because
> it is not compiled by default. See the huge changelog entries of Stefan and

It is compiled by (debian) default.  I use Adaptec AHA-2940 Ultra SCSI host
adapter which driver is aic7xxx.

> me a couple of months ago. Note that some asms were replaced by C code, so
> you need to do an eyeball comparison of the surrounding code.

I succeeded in compiling GNUMach with 2.0.38 driver using the following
"patching":

for f in
        drivers/scsi/aic7xxx_proc.c \
        drivers/scsi/aic7xxx_seq.c \
        include/linux/pci.h \               # some constants
        include/scsi/scsicam.h \            # 'cause scsi_partsize
        include/scsi/scsicam.c
do
        cp -uv linux/$f gnumach/linux/src/$f
done

But the compiled kernel hangs after GNUMach finds the adapter :((

I tryed the same with 2.2.18 and it succeeded in compiling again but it
hangs again too.

The message is

Kernel General Protection trap, eip 0x111e3e
kernel trap, type 13, code 0
...registers here...
trapno 13 .... error 00000000
panic trap

Now what?  It seems like SIGSEGV.  I'm very interested in making this driver
to work and I didn't work with kernel(s) before although I plan to.

Thanks

-- 
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""



reply via email to

[Prev in Thread] Current Thread [Next in Thread]