• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / Kernel / Re: Weird Kernel modprobe issues on: October 20, 2009, 08:20:44 PM
I had looked at many of those, but I think I narrowed it down to not flashing the kernel into NAND properly.  I'm currently using tftpboot and then a nand write.e in the u-boot prompt to write to NAND, and it seems to work better than nandwrite (I don't know why nandwrite didn't work...)

Thanks!
2  Linux Stuff / Kernel / Weird Kernel modprobe issues on: October 20, 2009, 04:55:00 PM
So, I have a kernel compiled and it seems to be working except for issues loading modules:

Code:
Unable to handle kernel paging request at virtual address ffffffb8
pgd = df3f0000
[ffffffb8] *pgd=00a6e031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT
Modules linked in: zd1211rw(+)
CPU: 0    Not tainted  (2.6.31.4 #2)
PC is at probe+0x1c8/0x2d8 [zd1211rw]
LR is at usb_probe_interface+0xf4/0x140
pc : [<bf004d78>]    lr : [<c02efd9c>]    psr: 60000013
sp : df3c5dd4  ip : df3c5e0c  fp : df3c5e08
r10: 00000000  r9 : df3c4000  r8 : 00000000
r7 : df2bf100  r6 : bf00c45c  r5 : ffffff9c  r4 : 00000000
r3 : 00000001  r2 : 00000007  r1 : bf00c45c  r0 : df2bf100
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005397f  Table: 1f3f0000  DAC: 00000015
Process modprobe (pid: 693, stack limit = 0xdf3c4270)
Stack: (0xdf3c5dd4 to 0xdf3c6000)
5dc0:                                              bf00c45c df2bf100 df941400
5de0: df2bf100 bf00c110 df941400 bf00c45c 00000000 df3c4000 00000000 df3c5e30
5e00: df3c5e0c c02efd9c bf004bc0 df2bf120 df2bf154 bf00c140 bf00c140 c0589e78
5e20: df3c4000 df3c5e50 df3c5e34 c0274380 c02efcb8 df2bf120 df2bf154 bf00c140
5e40: bf00c140 df3c5e70 df3c5e54 c027449c c02742e0 00000000 df3c5e74 c0274434
5e60: bf00c140 df3c5e98 df3c5e74 c02736f0 c0274444 df88b738 df87c570 c0568094
5e80: bf00c140 00000060 dee9b1e0 df3c5ec8 df3c5e9c c0273dd8 c02736b4 bf008119
5ea0: bf00c140 bf00c110 bf00c140 bf008119 bf00c140 c002cb04 c05991e0 df3c5ef0
5ec0: df3c5ecc c027488c c0273cac bf00c110 bf00c5b0 bf008119 bf00c140 c002cb04
5ee0: c05991e0 df3c5f10 df3c5ef4 c02ef528 c02747ec 00000000 bf00c110 bf00c6e4
5f00: 40156000 df3c5f34 df3c5f14 bf00f068 c02ef4cc 00000000 00000000 00000000
5f20: bf00c5b0 000182c0 df3c5f7c df3c5f38 c002c338 bf00f010 00000000 00000000
5f40: bf00f000 00000000 bf00c5b0 000182c0 40156000 00000000 bf00c5b0 000182c0
5f60: 40156000 c002cb04 df3c4000 00000000 df3c5fa4 df3c5f80 c006fd2c c002c2e0
5f80: 00000003 00000000 4015202c 00000000 00019048 00000080 00000000 df3c5fa8
5fa0: c002c980 c006fc78 4015202c 00000000 40156000 000fb1be 000182c0 00000000
5fc0: 4015202c 00000000 00019048 00000080 00000000 40156000 00000000 00000000
5fe0: 00000000 bec6d904 0000b484 400ee6f4 60000010 40156000 00000000 00000000
unwind: Index not found bf004d78
Code: eb42bc30 e3550000 05875064 ea000036 (e5183048)
---[ end trace 34e72cd958a332df ]---
udevd-event[688]: '/sbin/modprobe -b usb:v0586p3410d4810dcFFdscFFdpFFicFFisc00ip00' abnormal exit

Has anyone seen this kind of error before?  Is there a way to fix it?  It happens for my Zyxel USB wireless stick and my Philips webcam.
3  Linux Stuff / Kernel / Problems with webcam on: October 15, 2009, 07:13:22 AM
I've been compiling kernels with the right modules, but when they're loaded, I get NULL dereferences...

Code:
usb 1-1: new full speed USB device using orion-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
gspca: main v2.6.0 registered
gspca: probing 054c:0155
Unable to handle kernel NULL pointer dereference at virtual address 000000b1
pgd = deeb4000
[000000b1] *pgd=1ee93031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT
Modules linked in: gspca_ov519(+) gspca_main videodev v4l1_compat
CPU: 0    Not tainted  (2.6.31.4 #2)
PC is at gspca_dev_probe+0x50/0x334 [gspca_main]
LR is at vprintk+0x388/0x3d8
pc : [<bf016f28>]    lr : [<c00432a0>]    psr: 40000013
sp : deeaddd4  ip : deeadd2c  fp : deeade08
r10: 00000000  r9 : dee2f100  r8 : bf02202c
r7 : bf022f24  r6 : ded19400  r5 : bf024ddc  r4 : 000006a8
r3 : 00000000  r2 : ffffff9c  r1 : deeadd2c  r0 : 0000001f
Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005397f  Table: 1eeb4000  DAC: 00000015
Process modprobe (pid: 1813, stack limit = 0xdeeac270)
Stack: (0xdeeaddd4 to 0xdeeae000)
ddc0:                                              df2fbb40 00000001 ffffff9c
dde0: dee2f100 bf024ddc ded19400 bf022f24 00000000 deeac000 00000000 deeade1c
de00: deeade0c bf01f0e8 bf016ee8 bf024e44 deeade44 deeade20 c02efd9c bf01f0d4
de20: dee2f120 dee2f154 bf024e0c bf024e0c c0589e78 deeac000 deeade64 deeade48
de40: c0274380 c02efcb8 dee2f120 dee2f154 bf024e0c bf024e0c deeade84 deeade68
de60: c027449c c02742e0 00000000 deeade88 c0274434 bf024e0c deeadeac deeade88
de80: c02736f0 c0274444 df88b738 ded01630 c0568094 bf024e0c 00000060 ded01960
dea0: deeadedc deeadeb0 c0273dd8 c02736b4 bf0237e8 bf024e0c bf024ddc bf024e0c
dec0: bf0237c6 bf024e0c c002cb04 c05991e0 deeadf04 deeadee0 c027488c c0273cac
dee0: bf024ddc bf024e44 bf0237c6 bf024e0c c002cb04 c05991e0 deeadf24 deeadf08
df00: c02ef528 c02747ec 00000000 bf024e44 00018030 40175000 deeadf34 deeadf28
df20: bf02701c c02ef4cc deeadf7c deeadf38 c002c338 bf027010 00000000 00000000
df40: bf027000 00000000 bf024e44 00018030 40175000 00000000 bf024e44 00018030
df60: 40175000 c002cb04 deeac000 00000000 deeadfa4 deeadf80 c006fd2c c002c2e0
df80: 00000003 00000000 0000c9ac 00000000 00018f90 00000080 00000000 deeadfa8
dfa0: c002c980 c006fc78 0000c9ac 00000000 40175000 00026661 00018030 00000000
dfc0: 0000c9ac 00000000 00018f90 00000080 00000000 40175000 00000000 00000000
dfe0: 00018e50 be87c914 0000b484 400ee6f4 60000010 40175000 00000000 00000000
unwind: Index not found bf016f28
Code: e1d110b2 e1d720b4 eb40b0f2 e51b202c (e5d23115)
---[ end trace 33b6a9422a3788cf ]---
root@ubuntu:~# lsmod
Module                  Size  Used by
gspca_ov519            24532  1
gspca_main             22472  1 gspca_ov519
videodev               35044  1 gspca_main,[permanent]
v4l1_compat            16300  1 videodev

Any ideas on how to fix this?
Pages: [1]