Re: ide-mod Error

Andre M. Hedrick (hedrick@astro.dyer.vanderbilt.edu)
Mon, 28 Sep 1998 23:07:02 -0500 (CDT)


I will almost bet the farm that we have never addressed the need to
release the IO-space that is used and set in ide-dma.c.

I can find nowhere that we call unregister ide-dma for modules.

All I can suggest to you is to not compile ide-dma into the modules.
This is something that I will look into, but is not of the highest
priority to date.

Gadi is out of the IDE-driver business to the best that I can tell.
He is overloaded with other tasks to complete.

Thus, I have offered to look over and potentially maintain the driver,
since I live and die by ide-drivers support...........

Cheers,
Andre

On Mon, 28 Sep 1998, Andrzej Krzysztofowicz wrote:

> Hi,
> I observe a problem when loading ide compiled as module.
> I have dual PII MB and no ide devices connected.
> After loading the ide modules first time everything seems to be OK.
> Then I unloaded them and tried to load again receiving:
>
> PIIX4: IDE controller on PCI bus 00 dev 39
> PIIX4: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xf000-0xf007 -- ERROR, PORT ADDRESSES ALREADY IN USE
> ide1: BM-DMA at 0xf008-0xf00f -- ERROR, PORT ADDRESSES ALREADY IN USE
> ide2: ports already in use, skipping probe
>
> from /proc/ioports (when ide-mod is loaded):
>
> f000-f007 : ide0
> f008-f00f : ide1
>
> After unloading the IDE modules cat /proc/ioports seg-faults with an Oops:
>
> Unable to handle kernel paging request at virtual address c884ab05
> current->tss.cr3 = 048e4000, %cr3 = 048e4000
> *pde = 00009063
> *pte = 00000000
> Oops: 0000
> CPU: 1
> EIP: 0010:[<c01b596f>]
> EFLAGS: 00010297
> eax: c884ab05 ebx: ffffffff ecx: c884ab05 edx: fffffffe
> esi: ffffffff edi: c4b5d166 ebp: 00000000 esp: c7e75eec
> ds: 0018 es: 0018 ss: 0018
> Process cat (pid: 1252, process nr: 14, stackpage=c7e75000)
> Stack: c4b5d000 00000c00 c7f9d000 c7e75f48 c49dc00d ffffffff 0000001b
> 00000297
> c01b5b18 c4b5d15a c01bc0ba c7e75f34 c011911c c4b5d15a c01bc0ab
> 0000f000
> 0000f007 c884ab05 00000000 c7e75f90 c518f53c c0147f12 c4b5d000
> c4b5d000
> Call Trace: [<c01b5b18>] [<c01bc0ba>] [<c011911c>] [<c01bc0ab>] [<c884ab05>]
> [<c0147f12>] [<c01480ca>]
> [<c0126b96>] [<c0108c0c>]
> Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c6 f7 c5 10 00
>
> Regards
> --
> =======================================================================
> Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
> phone: (48)(58) 347 14 61 fax: (48)(58) 347 28 21
> Faculty of Applied Phys.& Maths, Technical University of Gdansk, Poland
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/