kernel panic camera and i2c

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

kernel panic camera and i2c

Postby oklitz » Sun Jul 07, 2013 10:57 am

Hi Folks !

I have a kernel panic when trying to start a camera command like raspivid or raspistill while accessing
the I2C Bus /dev/i2c-1.

When I stop the proccess which accesses to the I2C Bus then the camera works.

I have a Arch Linux (newest and updated)
- i2c_dev module loaded
- /etc/modprobe.d/i2c_bcm2708.conf
options i2c_bcm2708 baudrate=400000

Here is the Picture:

http://www.oklitz.com/images/kernel_panic.jpg


I have posted this issue already to the github raspberrypi account, and popcornmix said:
>Sound like you don't have this kernel commit:
>470f0a7

>Can you confirm that?

Is this commit already in the newest arch kernel ?

mfg marco
oklitz
 
Posts: 10
Joined: Sun Jul 07, 2013 10:48 am

Re: kernel panic camera and i2c

Postby pepedog » Sun Jul 07, 2013 12:07 pm

I can confirm that, will bump kernel and firmware
You have done changes to config.txt for camera?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: kernel panic camera and i2c

Postby oklitz » Sun Jul 07, 2013 12:14 pm

Yes i have

gpu_mem_512=316
gpu_mem_256=128
cma_lwm=16
cma_hwm=32
cma_offline_start=16
start_file=start_x.elf
fixup_file=fixup_x.dat

the last 2 lines i have added

camera works nice without i2c access.

mfg marco
oklitz
 
Posts: 10
Joined: Sun Jul 07, 2013 10:48 am

Re: kernel panic camera and i2c

Postby pepedog » Sun Jul 07, 2013 9:48 pm

Is new kernel working for you? Regular pacman -Syu
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: kernel panic camera and i2c

Postby oklitz » Mon Jul 08, 2013 12:20 pm

All works fine with the new kernel !

Thank you all very much ! what a fast response !

mfg marco
oklitz
 
Posts: 10
Joined: Sun Jul 07, 2013 10:48 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests