Problem: 1.3.20 & /proc/ioports

Tornaria Gonzalo (gtornari@varela.reu.edu.uy)
Thu, 24 Aug 95 4:24:24 URU


I have lp.o loaded as a module. If then I cat /proc/ioports,
everything is ok, and I got "lp" at 0378-037f...

If then I rmmod lp, when now I cat /proc/ioports, I get this:

Unable to handle kernel paging request at virtual address c0808e50
current->tss.cr3 = 0020c000, %cr3 = 0020c000
*pde = 00001067
*pte = 00000000
Oops: 0000
EIP: 0010:0016364c
EFLAGS: 00010297
eax: 00808e50 ebx: ffffffff ecx: 00808e50 edx: fffffffe
esi: 00808e50 edi: 002560e6 ebp: 00000000 esp: 0036bef8

ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process cat (pid: 174, process nr: 17, stackpage=0036b000)
Stack: 00163bc6 00808e50 ffffffff 001713e0 000000da 00256000 00000400 00808e50
00163d32 002560da 00115988 0036bf40 001159d6 002560da 00115979 00000378
0000037f 00808e50 003b9e00 0036bf90 0000fc30 0013e836 00256000 0013e940
Call Trace: 00163bc6 00808e50 00808e50 00163d32 00115988 001159d6 00115979
00808e50 0013e836 0013e940 00117a89 0011dd9c 0010a4cd
Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 c3 90 56 53 8b 5c

EIP: 16364c T _strnlen+c/1c
Trace: 163bc6 T _vsprintf+266/3c0
Trace: 808e50 (null)+808e50/0
Trace: 808e50 (null)+808e50/0
Trace: 163d32 T _sprintf+12/2c0
Trace: 115988 T _do_bottom_half+74/8c
Trace: 1159d6 T _get_ioport_list+36/60
Trace: 115979 T _do_bottom_half+65/8c
Trace: 808e50 (null)+808e50/0
Trace: 13e836 t _get_root_array+10e/11c
Trace: 13e940 t _array_read+9c/1f4
Trace: 117a89 T _verify_area+e9/168
Trace: 11dd9c T _sys_read+84/94

Trace: 10a4cd T _system_call+59/a0

If now I insmod lp again it says "Driver configured but no
interfaces found.", and now I can cat /proc/ioports. lp is
registered at 0378-03f8, but /dev/lp1 doesn't work... (No such
device)

Gonzalo