View previous topic :: View next topic |
Author |
Message |
ScanneR n00b
Joined: 29 Mar 2004 Posts: 17 Location: Portugal
|
Posted: Tue Apr 20, 2004 10:36 pm Post subject: Gentoo and the neverending install :( |
|
|
I have been installing Gentoo for some time and when a problem is solved I manage to get a new right after
First was the 3D, then the sound now ... USB.
I tried to "activate" USB in kernel (2.6.5) and I get this, in dmesg:
Code: |
...
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S4bios S5)
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 192k freed
Adding 1004052k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda4, internal journal
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
printing eip:
c0198e10
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
CPU: 0
EIP: 0060:[<c0198e10>] Not tainted
EFLAGS: 00010292 (2.6.5-gentoo-r1)
EIP is at create_dir+0x20/0xd0
eax: 00000077 ebx: e0903434 ecx: 00000000 edx: e0903438
esi: e0903434 edi: 00000000 ebp: df9fff4c esp: df9fff1c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 4724, threadinfo=df9fe000 task=dfa01800)
Stack: e0903394 e0903394 00000246 e0903434 e0903434 e0903434 e0903394 c0198f2e
e0903434 00000000 e0903438 df9fff4c 00000000 00000000 c023e3ff e0903434
e0903380 e0903384 c023e928 e0903434 e0903434 e0903380 e0903384 c045b350
Call Trace:
[<c0198f2e>] sysfs_create_dir+0x3e/0x80
[<c023e3ff>] create_dir+0x1f/0x50
[<c023e928>] kobject_add+0x48/0x110
[<c029f7dd>] bus_register+0x5d/0xa0
[<e0906033>] usb_init+0x33/0x60 [usbcore]
[<c013aeb0>] sys_init_module+0x160/0x240
[<c010766b>] syscall_call+0x7/0xb
Code: 8b 77 0c 89 44 24 04 c7 04 24 de 77 40 c0 8d 5e 6c e8 4a 62
<6>eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
[fglrx] module loaded - fglrx 3.7.6 [Mar 5 2004] on minor 0
Debug: sleeping function called from invalid context at mm/slab.c:1931
in_atomic():1, irqs_disabled():0
Call Trace:
[<c011f11b>] __might_sleep+0xab/0xd0
[<c0146e68>] kmem_cache_alloc+0x78/0x80
[<e0953d09>] __ke_alloc_wait_queue_head_struct+0x19/0x40 [fglrx]
[<e0957596>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<e0956ba4>] firegl_open+0x194/0x260 [fglrx]
[<c016834f>] exact_lock+0xf/0x20
[<e0953aea>] firegl_stub_open+0x9a/0xd0 [fglrx]
[<c01680b8>] chrdev_open+0xe8/0x250
[<c015ce00>] dentry_open+0x120/0x190
[<c015ccd8>] filp_open+0x68/0x70
[<c015d1ab>] sys_open+0x5b/0x90
[<c010766b>] syscall_call+0x7/0xb
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected an Intel 855PM Chipset, no integrated grapics found.
agpgart: Detected Intel i855PM chipset
agpgart: AGP aperture is 64M @ 0xb0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
AGP: Found 2 AGPv2 devices
AGP: Doing enable for AGPv2
[fglrx] AGP enabled, AgpCommand = 0x1f000314 (selected caps)
[fglrx] free AGP = 54800384
[fglrx] max AGP = 54800384
[fglrx] free LFB = 55574528
[fglrx] max LFB = 55574528
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 16384
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
|
Anyone can give me a idea why I am getting that "Unable to handle kernel NULL pointer dereference at virtual address 0000000c".
IN one of my tries I even got a message about a "Kernel bug ..." in mm/slab.
What am I doing wrong? I was only wanting to make use of a PenDrive in Linux
Thanks |
|
Back to top |
|
|
Sylgeist n00b
Joined: 04 Dec 2002 Posts: 36 Location: USA
|
Posted: Wed Apr 21, 2004 5:30 am Post subject: |
|
|
ScanneR
What all did you change in your kernel config before this happened? It seems like something else may have been changed accidently. |
|
Back to top |
|
|
deadaim Guru
Joined: 27 Oct 2003 Posts: 467 Location: Florida
|
|
Back to top |
|
|
ScanneR n00b
Joined: 29 Mar 2004 Posts: 17 Location: Portugal
|
Posted: Wed Apr 21, 2004 4:07 pm Post subject: |
|
|
deadaim wrote: | https://forums.gentoo.org/viewtopic.php?t=53537&highlight=usb+mass+storage+guide
I would recommend that guide. |
It was after following the steps in this guide that I got the error I mentioned , right after the kernel compile step.
Not only I have that error but I also get "segmentation fault" when I try to modprobe vfat. Maybe it's because of the kernel error?
This is what I get in the end of dmesg:
Code: |
------------[ cut here ]------------
kernel BUG at mm/slab.c:1335!
invalid operand: 0000 [#2]
PREEMPT SMP
CPU: 0
EIP: 0060:[<c0146093>] Tainted: P
EFLAGS: 00210202 (2.6.5-gentoo-r1)
EIP is at kmem_cache_create+0x493/0x560
eax: 00000033 ebx: dfd8fae0 ecx: c052efc0 edx: c0459b5c
esi: c040e481 edi: e093424a ebp: dfc2d92c esp: d7151f54
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 6120, threadinfo=d7150000 task=d7153740)
Stack: c040be20 e093423a 00022000 d7151f70 dfc2d984 c0000000 ffffffc0 00000000
c045b36c e09365e0 c045b350 c045b350 e0939036 e093423a 000001c0 00000040
00022000 e09318d0 00000000 c013aeb0 c052ee48 00000001 e09365e0 080654f0
Call Trace:
[<e0939036>] fat_init_inodecache+0x36/0x50 [fat]
[<e09318d0>] init_once+0x0/0x30 [fat]
[<c013aeb0>] sys_init_module+0x160/0x240
[<c010766b>] syscall_call+0x7/0xb
Code: 0f 0b 37 05 a2 b7 40 c0 8b 0b e9 6e ff ff ff 8b 47 50 c7 04
|
|
|
Back to top |
|
|
ScanneR n00b
Joined: 29 Mar 2004 Posts: 17 Location: Portugal
|
Posted: Wed Apr 21, 2004 8:34 pm Post subject: |
|
|
I did all steps, again, like it is in the guide already mentioned here and, as result, I get the errors when booting.
You can check the dmesg result here:
http://www.geocities.com/TimesSquare/4545/dmesg.txt
Anyone can give me some help on a way to see what is making the errors happening?
Thanks |
|
Back to top |
|
|
ScanneR n00b
Joined: 29 Mar 2004 Posts: 17 Location: Portugal
|
Posted: Wed Apr 21, 2004 9:49 pm Post subject: |
|
|
Sylgeist wrote: | ScanneR
What all did you change in your kernel config before this happened? It seems like something else may have been changed accidently. |
If I deactivate USB in kernel, I no longer get the error. That's why I'm almost sure it is a problem related to USB. |
|
Back to top |
|
|
|