On Tue, Apr 23, 2002 at 10:17:43AM +0200, Juan Quintela wrote: > >>>>> "brian" == Brian J Murrell <[EMAIL PROTECTED]> writes: > > brian> On Wed, Apr 10, 2002 at 06:00:19PM +0200, Juan Quintela wrote: > >> --=-=-= > >> Name : kernel-2.4.18.10mdk Relocations: (not relocateable) > >> Version : 1 Vendor: MandrakeSoft > >> Release : 1mdk Build Date: Wed Apr 10 17:04:06 2002 > > brian> This kernel is hanging my box. Here is what happens: > > brian> I have built the v4l2 and bttv 0.8.33 (would be nice for these to be > brian> in the Mandrake kernel as they provide v4l tools with much better > brian> information that the stock v4l does) modules and installed them and > brian> did the depmod stuff and all that. These are steps which have worked > brian> time and time again, and are working currently, right now with: > > brian> $ uname -r > brian> 2.4.18-2mdk > > brian> But with 2.4.18.10mdk-1-1mdk, when I try to run xawtv the box hangs > brian> and the CAPS LOCK and SCROLL LOCK LEDs are blinking in unison. I have > brian> to reboot. > > brian> Any ideas? Anything more I can tell you? Any tests you want me to > brian> run? > > Sorry for the delay, you entered kdb (I released that kernel by error > with kdb enabled), could you test with a later kernel?
Just tried with 2.4.18-12mdk and got an oops trying to load my freshly
built v4l2/bttv-0.8.33 modules. Much nicer to see the oops than the
flashing LEDs from KDB with no promt to do a backtrace with or
anything. :-)
Here is my oops processed through ksymoops:
ksymoops 2.4.5 on i686 2.4.18-12mdk. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.18-12mdk/ (default)
-m /boot/System.map-2.4.18-12mdk (default)
Warning: You did not tell me where to find symbol information. I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc. ksymoops -h explains the options.
Warning (compare_ksyms_lsmod): module ext3 is in lsmod but not in ksyms, probably no
symbols exported
Unable to handle kernel NULL pointer dereference at virtual address 00000000
d8962ecb
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<d8962ecb>] Tainted: P
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010283
eax: 00000000 ebx: 00000000 ecx: d89431c0 edx: 00000040
esi: 00000000 edi: d8966534 ebp: b12c5d98 esp: c02f9e60
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 3500, stackpage=c02f9000)
Stack: d8942a3b d8966534 d8943068 80000000 00000db0 00000000 00000000 d8966360
d8966534 00000000 d8966360 d895b0bc d8966534 00000000 ffffffff c1439000
00000000 00000000 d895b613 d8966360 d8962559 d8966360 d8966360 00004ea1
Call Trace: [<d8942a3b>] [<d8966534>] [<d8943068>] [<d8966360>] [<d8966534>]
[<d8966360>] [<d895b0bc>] [<d8966534>] [<d895b613>] [<d8966360>] [<d8962559>]
[<d8966360>] [<d8966360>] [call_console_drivers+86/256] [<d8966370>] [<d89631d0>]
[<d8963240>]
[<d8966360>] [<d8966360>] [<c011a546>] [<d8966370>] [<d89631d0>] [<d8963240>]
[<c01af7de>] [<d89631d0>] [<d8963240>] [<c01af857>] [<d8963240>] [<d895b8c2>]
[<d8963240>] [sys_init_module+1346/1568] [<d8962cb0>] [<d8956060>]
[system_call+51/64]
[<d8963240>] [<c011b422>] [<d8962cb0>] [<d8956060>] [<c0108b73>]
Code: d8 00 00 00 00 00 00 00 00 50 9a 95 d8 f0 23 94 d8 c0 9c 95
>>EIP; d8962ecb <[bttv]bttv_fops+b/60> <=====
>>ecx; d89431c0 <[videodev]videodev_lock+0/0>
>>edi; d8966534 <[bttv]bttvs+1d4/2e30>
>>ebp; b12c5d98 Before first symbol
>>esp; c02f9e60 <_end+d5ec/185157dc>
Trace; d8942a3b <[videodev]video_register_device+ab/1f0>
Trace; d8966534 <[bttv]bttvs+1d4/2e30>
Trace; d8943068 <[videodev].text.end+389/4e1>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; d8966534 <[bttv]bttvs+1d4/2e30>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; d895b0bc <[bttv]bttv_register_video+1c/f0>
Trace; d8966534 <[bttv]bttvs+1d4/2e30>
Trace; d895b613 <[bttv]bttv_probe+473/530>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; d8962559 <[bttv].rodata.end+267a/2e21>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; d8966360 <[bttv]bttvs+0/2e30>
Trace; c011a546 <call_console_drivers+56/100>
Trace; d8966370 <[bttv]bttvs+10/2e30>
Trace; d89631d0 <[bttv]bttv_pci_tbl+38/8c>
Trace; d8963240 <[bttv]bttv_pci_driver+0/40>
Trace; c01af7de <pci_announce_device+2e/50>
Trace; d89631d0 <[bttv]bttv_pci_tbl+38/8c>
Trace; d8963240 <[bttv]bttv_pci_driver+0/40>
Trace; c01af857 <pci_register_driver+57/60>
Trace; d8963240 <[bttv]bttv_pci_driver+0/40>
Trace; d895b8c2 <[bttv]bttv_init_module+b2/e0>
Trace; d8963240 <[bttv]bttv_pci_driver+0/40>
Trace; d8963240 <[bttv]bttv_pci_driver+0/40>
Trace; c011b422 <sys_init_module+542/620>
Trace; d8962cb0 <[bttv].rodata.end+2dd1/2e21>
Trace; d8956060 <[bttv]check_alloc_btres+0/6>
Trace; c0108b73 <system_call+33/40>
Code; d8962ecb <[bttv]bttv_fops+b/60>
00000000 <_EIP>:
Code; d8962ecb <[bttv]bttv_fops+b/60> <=====
0: d8 00 fadds (%eax) <=====
Code; d8962ecd <[bttv]bttv_fops+d/60>
2: 00 00 add %al,(%eax)
Code; d8962ecf <[bttv]bttv_fops+f/60>
4: 00 00 add %al,(%eax)
Code; d8962ed1 <[bttv]bttv_fops+11/60>
6: 00 00 add %al,(%eax)
Code; d8962ed3 <[bttv]bttv_fops+13/60>
8: 00 50 9a add %dl,0xffffff9a(%eax)
Code; d8962ed6 <[bttv]bttv_fops+16/60>
b: 95 xchg %eax,%ebp
Code; d8962ed7 <[bttv]bttv_fops+17/60>
c: d8 f0 fdiv %st(0),%st
Code; d8962ed9 <[bttv]bttv_fops+19/60>
e: 23 94 d8 c0 9c 95 00 and 0x959cc0(%eax,%ebx,8),%edx
2 warnings issued. Results may not be reliable.
Any ideas what's going on here? I can provide v4l2 and bttv-0.8.33
binaries (modules) and source if you need them.
b.
--
Brian J. Murrell
msg63119/pgp00000.pgp
Description: PGP signature
