WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Raspberry Pi / Re: 6.12 kernel breaks v4l2 picamera
« Last post by patrikg on July 01, 2025, 02:43:03 AM »
Is everything another thing the same like cmdline.txt and config.txt and so on ?
Do you upgrade ? And if you did that, do you take all files within the picore image ?
Or did you start from scratch, with the new image ?
72
Raspberry Pi / 6.12 kernel breaks v4l2 picamera
« Last post by mung on June 30, 2025, 07:41:46 PM »
I should probably not post this here but it started from trying to run the new picore16 and use v4l2 for pi csi camera as webcam stream. It crash with error -22 in ioctl. Previously v4l2 picam ran fine on picore15.

So I checked on the pios current 'desktop' image and also with a self compiled kernel with .config same as picore16 but run on the pios image.

I tested this on pi 3b+, pi4, and pizero2 with an original picam and the HQ picam and all same error, the old mmal camera interface is deprecated but most notes I have seen say it should still work.

I cannot open an issue on the raspberrypi linux guthub repo as I do not have an account.

Mayb it is my mistake, or maybe not, but I am not going to open a github account just to open an issue.

If anyone is interested or has suggestion here is the dmesg output when run on a pi4 (I should really have used zero2 as that was the original target but test was last checked on pi4):

Code: [Select]

[  421.786679] ------------[ cut here ]------------
[  421.786693] WARNING: CPU: 0 PID: 1442 at drivers/media/v4l2-core/v4l2-subdev.c:455 call_s_stream+0xf4/0x108 [videodev]
[  421.786766] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep brcmfmac_wcc hci_uart btbcm brcmfmac bluetooth imx477 binfmt_misc brcmutil cfg80211 raspberrypi_hwmon bcm2835_unicam_legacy bcm2835_v4l2(C) v4l2_dv_timings v4l2_fwnode v4l2_async bcm2835_codec(C) bcm2835_isp(C) ecdh_generic rpi_hevc_dec bcm2835_mmal_vchiq(C) ecc vc_sm_cma(C) rfkill v4l2_mem2mem videobuf2_vmalloc libaes videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 joydev videodev videobuf2_common raspberrypi_gpiomem snd_bcm2835(C) mc nvmem_rmem uio_pdrv_genirq uio i2c_dev ledtrig_pattern fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper snd_soc_core snd_compress v3d gpu_sched drm_shmem_helper drm_kms_helper snd_pcm_dmaengine drm drm_panel_orientation_quirks i2c_mux_pinctrl i2c_mux i2c_brcmstb snd_pcm snd_timer i2c_bcm2835 snd backlight
[  421.786951] CPU: 0 UID: 0 PID: 1442 Comm: webcam_cap Tainted: G         C         6.12.25+rpt-rpi-v8 #1  Debian 1:6.12.25-1+rpt1
[  421.786960] Tainted: [C]=CRAP
[  421.786963] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[  421.786967] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  421.786973] pc : call_s_stream+0xf4/0x108 [videodev]
[  421.787010] lr : unicam_stop_streaming+0x64/0x178 [bcm2835_unicam_legacy]
[  421.787020] sp : ffffffc0848839c0
[  421.787023] x29: ffffffc0848839c0 x28: ffffff8040298000 x27: 0000000000000009
[  421.787034] x26: 0000000000000001 x25: 0000000000000000 x24: ffffff8040298600
[  421.787044] x23: ffffff8045aef080 x22: ffffff8040ee6518 x21: 0000000000000000
[  421.787053] x20: ffffff8040ee6000 x19: ffffff8040ee63e8 x18: ffffffc084883ac0
[  421.787063] x17: 0000000000000000 x16: ffffffd6eaf90628 x15: 0000000000000001
[  421.787072] x14: 00000000f7cf4000 x13: 0000000000000000 x12: ffffffd6eb0d7888
[  421.787081] x11: 0000000000000001 x10: ffffffd6eafefa60 x9 : ffffffd6c3f3a1ac
[  421.787090] x8 : ffffffc084883b18 x7 : 0000000000000000 x6 : 0000000000000000
[  421.787099] x5 : ffffff8045779800 x4 : 0000000000000000 x3 : ffffffd6c3e10b08
[  421.787108] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff8045aef080
[  421.787118] Call trace:
[  421.787122]  call_s_stream+0xf4/0x108 [videodev]
[  421.787158]  unicam_stop_streaming+0x64/0x178 [bcm2835_unicam_legacy]
[  421.787166]  __vb2_queue_cancel+0x34/0x2d8 [videobuf2_common]
[  421.787183]  vb2_core_queue_release+0x2c/0x88 [videobuf2_common]
[  421.787195]  _vb2_fop_release+0x90/0xd0 [videobuf2_v4l2]
[  421.787209]  unicam_v4l2_release+0x58/0xe8 [bcm2835_unicam_legacy]
[  421.787216]  v4l2_release+0xec/0x100 [videodev]
[  421.787252]  __fput+0xd0/0x2e0
[  421.787266]  ____fput+0x1c/0x30
[  421.787273]  task_work_run+0x80/0xe8
[  421.787279]  do_exit+0x2e8/0x9c0
[  421.787287]  do_group_exit+0x3c/0xa0
[  421.787293]  get_signal+0x9ac/0x9c8
[  421.787300]  do_signal+0x9c/0x1120
[  421.787305]  do_notify_resume+0xd0/0x150
[  421.787312]  el0_svc_compat+0x6c/0x80
[  421.787319]  el0t_32_sync_handler+0x98/0x140
[  421.787325]  el0t_32_sync+0x194/0x198
[  421.787330] ---[ end trace 0000000000000000 ]---
[  421.787486] ------------[ cut here ]------------
[  421.787492] WARNING: CPU: 0 PID: 1442 at drivers/media/mc/mc-entity.c:939 __media_pipeline_stop+0xd0/0xf0 [mc]
[  421.787524] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep brcmfmac_wcc hci_uart btbcm brcmfmac bluetooth imx477 binfmt_misc brcmutil cfg80211 raspberrypi_hwmon bcm2835_unicam_legacy bcm2835_v4l2(C) v4l2_dv_timings v4l2_fwnode v4l2_async bcm2835_codec(C) bcm2835_isp(C) ecdh_generic rpi_hevc_dec bcm2835_mmal_vchiq(C) ecc vc_sm_cma(C) rfkill v4l2_mem2mem videobuf2_vmalloc libaes videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 joydev videodev videobuf2_common raspberrypi_gpiomem snd_bcm2835(C) mc nvmem_rmem uio_pdrv_genirq uio i2c_dev ledtrig_pattern fuse dm_mod ip_tables x_tables ipv6 vc4 snd_soc_hdmi_codec drm_display_helper cec drm_dma_helper snd_soc_core snd_compress v3d gpu_sched drm_shmem_helper drm_kms_helper snd_pcm_dmaengine drm drm_panel_orientation_quirks i2c_mux_pinctrl i2c_mux i2c_brcmstb snd_pcm snd_timer i2c_bcm2835 snd backlight
[  421.787692] CPU: 0 UID: 0 PID: 1442 Comm: webcam_cap Tainted: G        WC         6.12.25+rpt-rpi-v8 #1  Debian 1:6.12.25-1+rpt1
[  421.787700] Tainted: [W]=WARN, [C]=CRAP
[  421.787703] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT)
[  421.787707] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  421.787712] pc : __media_pipeline_stop+0xd0/0xf0 [mc]
[  421.787727] lr : media_pipeline_stop+0x34/0x58 [mc]
[  421.787740] sp : ffffffc0848839a0
[  421.787743] x29: ffffffc0848839a0 x28: ffffff8040298000 x27: 0000000000000009
[  421.787753] x26: 0000000000000001 x25: 0000000000000000 x24: ffffff8040298600
[  421.787763] x23: ffffff8045aef080 x22: ffffff8040ee6518 x21: ffffff8040ee66b8
[  421.787772] x20: ffffff8040ee6b08 x19: 0000000000000000 x18: 0000000000000000
[  421.787782] x17: 0000000000000000 x16: ffffffd6eaf8b2e0 x15: 00000000022a15e8
[  421.787791] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[  421.787800] x11: 0000000000000040 x10: 0000000000001a40 x9 : ffffffd6c3cb6224
[  421.787810] x8 : ffffff8040299aa0 x7 : 0000000000000000 x6 : 0000000000000000
[  421.787819] x5 : 00000000410fd080 x4 : 0000000000000000 x3 : 0000000000000000
[  421.787828] x2 : ffffff8040298000 x1 : 0000000000000000 x0 : ffffff8040ee6b08
[  421.787838] Call trace:
[  421.787840]  __media_pipeline_stop+0xd0/0xf0 [mc]
[  421.787854]  media_pipeline_stop+0x34/0x58 [mc]
[  421.787868]  unicam_stop_streaming+0x88/0x178 [bcm2835_unicam_legacy]
[  421.787875]  __vb2_queue_cancel+0x34/0x2d8 [videobuf2_common]
[  421.787889]  vb2_core_queue_release+0x2c/0x88 [videobuf2_common]
[  421.787901]  _vb2_fop_release+0x90/0xd0 [videobuf2_v4l2]
[  421.787912]  unicam_v4l2_release+0x58/0xe8 [bcm2835_unicam_legacy]
[  421.787919]  v4l2_release+0xec/0x100 [videodev]
[  421.787957]  __fput+0xd0/0x2e0
[  421.787967]  ____fput+0x1c/0x30
[  421.787974]  task_work_run+0x80/0xe8
[  421.787979]  do_exit+0x2e8/0x9c0
[  421.787986]  do_group_exit+0x3c/0xa0
[  421.787992]  get_signal+0x9ac/0x9c8
[  421.787999]  do_signal+0x9c/0x1120
[  421.788004]  do_notify_resume+0xd0/0x150
[  421.788010]  el0_svc_compat+0x6c/0x80
[  421.788016]  el0t_32_sync_handler+0x98/0x140
[  421.788022]  el0t_32_sync+0x194/0x198
[  421.788027] ---[ end trace 0000000000000000 ]---
[  421.788034] unicam fe801000.csi: Runtime PM usage count underflow!



73
Please explain it to me in a way that someone without computer knowledge can understand it.
74
Please answer that
75
dCore x86_64 / Re: Is dCore x86_64 under development?
« Last post by ineedtinycoreluxhep on June 30, 2025, 05:38:48 PM »
I edited my message because i thought i wrote it with bad syntax, but when I realized it was a mistake I put it back as it was
76
dCore x86_64 / Is dCore x86_64 under development?
« Last post by ineedtinycoreluxhep on June 30, 2025, 05:27:19 PM »
Please answer that
77
Corepure64 / Re: fakechroot in CorePure64
« Last post by Zhurman on June 30, 2025, 12:26:39 PM »
When asking for help, it's usually a good idea to include:
Tinycore version i.e TC14, TC15, TC16, etc.
Architecture i,e, x86, x86_64, arm, aarch64
The exact command that is causing the issue.
OK, sure.
TC16.1, architecture x86_64

Did you try running it with the  -s  option:
Code: [Select]
fakechroot -s ...

That command also give segfaults and breaks my system.

Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):

[EDIT] Starting to try.
78
Corepure64 / Re: fakechroot in CorePure64
« Last post by Rich on June 30, 2025, 09:10:45 AM »
Hi Zhurman
Welcome to the forum.

When asking for help, it's usually a good idea to include:
Tinycore version i.e TC14, TC15, TC16, etc.
Architecture i,e, x86, x86_64, arm, aarch64
The exact command that is causing the issue.

Hi, I needed fakechroot for my Tiny Core system, so I manually packaged it from the Arch Linux repo. ...
Grabbing binaries from other distros can be a hit or miss exercise.

Quote
... I also added the full packages of glibc and libxcrypt to include the necessary shared libraries (*.so files). After loading the extensions and trying to run fakechroot, I got a segmentation fault three times, and it usually breaks the system - only sudo poweroff still works properly. ...
Did you try running it with the  -s  option:
Code: [Select]
fakechroot -s ...
Or you may have to compile it from source using the Tinycore
toolchain (compiletc.tcz):
https://github.com/dex4er/fakechroot
79
Corepure64 / fakechroot in CorePure64
« Last post by Zhurman on June 30, 2025, 08:17:31 AM »
Hi, I needed fakechroot for my Tiny Core system, so I manually packaged it from the Arch Linux repo. I also added the full packages of glibc and libxcrypt to include the necessary shared libraries (*.so files). After loading the extensions and trying to run fakechroot, I got a segmentation fault three times, and it usually breaks the system - only sudo poweroff still works properly.

Here’s my .dep file:
readline.tcz 
ncursesw.tcz 
glibc.tcz 
gdbm.tcz 
db.tcz 
libxcrypt.tcz 
fakeroot.tcz 
coreutils.tcz 
util-linux.tcz 

Also, running ldd on fakechroot causes a segmentation fault with the same result.

What can I do to get fakechroot working correctly? Or is writing my own minimal implementation a more valid solution?

[EDIT] I also see the Alpine Linux, maybe I start work with this?
80
Raspberry Pi / Re: Ask help for missing lib in picoreplayer 10
« Last post by patrikg on June 30, 2025, 02:59:31 AM »
Picoreplayer is a separate project from Tinycore Linux. You probably ask you questions at: https://www.picoreplayer.org/
Pages: 1 ... 6 7 [8] 9 10