-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ISA PnP seems to be working as a module in 2.3.39, in so far as is loads
ok:
Jan 14 16:17:28 marvin kernel: isapnp: Scanning for Pnp cards...
Jan 14 16:17:28 marvin kernel: isapnp: Card 'OPL3-SA3 Sound'
Jan 14 16:17:28 marvin kernel: isapnp: 1 Plug & Play card detected total
But when i try to configure my card for use, using /proc/isapnp, cat
segfaults and I get an oops. This is the related part of my rc.modules:
# Sound conf
cat >> /proc/isapnp <<EOF
card 0 YMH0800
dev 0 YMH0021
port 0 0x220
port 1 0x530
port 2 0x388
port 3 0x330
port 4 0x470
irq 0 7
dma 0 0
dma 1 3
activate
EOF
# End sound conf
This is the oops, passed thru ksymoops:
ksymoops 2.3.3 on i586 2.3.39. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.3.39/ (default)
-m /usr/src/linux/System.map (default)
Warning: You did not tell me where to find symbol information. I will
[snip]
Warning (compare_ksyms_lsmod): module nvram is in lsmod but not in ksyms, probably no symbols exported
Warning (compare_ksyms_lsmod): module parport_pc is in lsmod but not in ksyms, probably no symbols exported
Warning (compare_ksyms_lsmod): module rtc is in lsmod but not in ksyms, probably no symbols exported
Oops: 0000
CPU: 0
EIP: 0010:[<c480ca7a>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000 ebx: a8652100 ecx: c1173008 edx: c114bea0
esi: 0000a865 edi: 0000a865 ebp: bffffa18 esp: c24efe1c
ds: 0018 es: 0018 ss: 0018
Process cat (pid: 356, stackpage=c24ef000)
Stack: 0000a865 c480f6c5 c114bea0 0000a865 00002100 00000000 c24efe44 c24efed8
c24efea3 c481093c 30484d59 00313230 c01330e3 c24efe68 c24effc4 c1db6000
c1db6000 0000001c c24e0030 c215cc60 c480fbde c24efea0 c480fc95 c24efed8
Call Trace: [<c480f6c5>] [<c481093c>] [<c01330e3>] [<c480fbde>] [<c480fc95>] [<c480ff25>] [<c01418c4>]
[<c0142018>] [<c0139bef>] [<c480e8ad>] [<c012b67b>] [<c012b6b5>] [<c012a7c6>] [<c012a82b>] [<c012a843>]
[<c010a6c8>]
Code: 39 50 10 74 19 31 c0 5b 5e 5f c3 8d 76 00 5b 5e 5f c3 5b 5e
>>EIP; c480ca7a <[isa-pnp]isapnp_find_dev+6e/cc> <=====
Trace; c480f6c5 <[isa-pnp]isapnp_set_device+51/cc>
Trace; c481093c <[isa-pnp]isapnp_info_write+a6c/217c>
Trace; c01330e3 <do_execve+177/1cc>
Trace; c480fbde <[isa-pnp]isapnp_decode_line+1e/310>
Trace; c480fc95 <[isa-pnp]isapnp_decode_line+d5/310>
Trace; c480ff25 <[isa-pnp]isapnp_info_write+55/217c>
Trace; c01418c4 <ext2_free_inode+1f0/1f8>
Trace; c0142018 <ext2_delete_inode+0/8c>
Trace; c0139bef <dput+df/144>
Trace; c480e8ad <[isa-pnp]isapnp_info_entry_release+25/50>
Trace; c012b67b <__fput+1f/48>
Trace; c012b6b5 <_fput+11/40>
Trace; c012a7c6 <filp_close+62/6c>
Trace; c012a82b <do_close+5b/68>
Trace; c012a843 <sys_close+b/10>
Trace; c010a6c8 <system_call+34/38>
Code; c480ca7a <[isa-pnp]isapnp_find_dev+6e/cc>
00000000 <_EIP>:
Code; c480ca7a <[isa-pnp]isapnp_find_dev+6e/cc> <=====
0: 39 50 10 cmpl %edx,0x10(%eax) <=====
Code; c480ca7d <[isa-pnp]isapnp_find_dev+71/cc>
3: 74 19 je 1e <_EIP+0x1e> c480ca98 <[isa-pnp]isapnp_find_dev+8c/cc>
Code; c480ca7f <[isa-pnp]isapnp_find_dev+73/cc>
5: 31 c0 xorl %eax,%eax
Code; c480ca81 <[isa-pnp]isapnp_find_dev+75/cc>
7: 5b popl %ebx
Code; c480ca82 <[isa-pnp]isapnp_find_dev+76/cc>
8: 5e popl %esi
Code; c480ca83 <[isa-pnp]isapnp_find_dev+77/cc>
9: 5f popl %edi
Code; c480ca84 <[isa-pnp]isapnp_find_dev+78/cc>
a: c3 ret
Code; c480ca85 <[isa-pnp]isapnp_find_dev+79/cc>
b: 8d 76 00 leal 0x0(%esi),%esi
Code; c480ca88 <[isa-pnp]isapnp_find_dev+7c/cc>
e: 5b popl %ebx
Code; c480ca89 <[isa-pnp]isapnp_find_dev+7d/cc>
f: 5e popl %esi
Code; c480ca8a <[isa-pnp]isapnp_find_dev+7e/cc>
10: 5f popl %edi
Code; c480ca8b <[isa-pnp]isapnp_find_dev+7f/cc>
11: c3 ret
Code; c480ca8c <[isa-pnp]isapnp_find_dev+80/cc>
12: 5b popl %ebx
Code; c480ca8d <[isa-pnp]isapnp_find_dev+81/cc>
13: 5e popl %esi
4 warnings issued. Results may not be reliable.
Once this oops occurs, attemping to cat /proc/isapnp causes the shell to
hang.
- --
Bruce J.A. Nourish | "God put me on this earth to accomplish a certain
kode187@freewwweb.com | number of things. Right now, I am so far behind,
http://www.kode187.net | I will live forever."
GPG fingerprint | BA9E 7A18 A235 ABAC 21EB DAAD A608 4AC7 5EC3 07DF
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: PGPEnvelope - http://www.bigfoot.com/~ftobin/resources.html
iD8DBQE4f6lJpghKx17DB98RAgM5AKCD9Xrw8HtxYtcNopjDIZbFSRikKwCgrc+H
MVHTnHM1jnY5SfcHEzJLIQw=
=rMRb
-----END PGP SIGNATURE-----
-
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/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:24 EST