WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 6.0 rc1  (Read 26047 times)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: piCore 6.0 rc1
« Reply #30 on: January 11, 2015, 12:09:27 AM »
3) Having problems with squeezelite recognizing the USB DAC....but aplay does.  so I need to investigate this a bit more.

Was missing alsa-config.tcz     I'm not sure what the desired dependency is....


Also, can you add ffmpeg development extensions to the repo.  (And all of the libavxxxxxx-dev)

Offline sodface

  • Jr. Member
  • **
  • Posts: 90
Re: piCore 6.0 rc1
« Reply #31 on: January 11, 2015, 10:37:37 AM »
2) unable to mount cifs (smb) shares.   cifs kernel module is loading on demand  (The share is mounted just fine on older piCore devices)  This error is in dmesg
Code: [Select]
[  306.469540] CIFS VFS: could not allocate crypto hmacmd5
[  306.469562] CIFS VFS: could not crypto alloc hmacmd5 rc -2
[  306.469572] CIFS VFS: Error -2 during NTLMSSP authentication
[  306.469586] CIFS VFS: Send error in SessSetup = -2

Yes, I ran into this yesterday.  Made the mistake of trying to fix it on the other end by adding the NFS role on my WHS2011 box which I never got working either.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 rc1
« Reply #32 on: January 11, 2015, 10:59:29 AM »

2) unable to mount cifs (smb) shares.   cifs kernel module is loading on demand  (The share is mounted just fine on older piCore devices)  This error is in dmesg
Code: [Select]
[  306.469540] CIFS VFS: could not allocate crypto hmacmd5
[  306.469562] CIFS VFS: could not crypto alloc hmacmd5 rc -2
[  306.469572] CIFS VFS: Error -2 during NTLMSSP authentication
[  306.469586] CIFS VFS: Send error in SessSetup = -2


Try

Code: [Select]
sudo modprobe md5
before mounting.

BTW, which extension are you using to work with CIFS?
« Last Edit: January 11, 2015, 11:04:31 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: piCore 6.0 rc1
« Reply #33 on: January 11, 2015, 01:23:43 PM »
Try

Code: [Select]
sudo modprobe md5
before mounting.

BTW, which extension are you using to work with CIFS?

same result
I have filesystems-3.12.35-piCore+.tcz which also loads raid-dm-3.12.35-piCore+.tcz

here are the current modules loaded.
Code: [Select]
Module                  Size  Used by    Not tainted
nls_utf8                1235  0
cifs                  285421  0
md5                     1784  0
i2c_dev                 5657  2
snd_usb_audio         118129  0
8192cu                537925  0
snd_soc_tas5713         5739  0
snd_soc_pcm512x         9034  0
snd_soc_wm8804          8098  0
snd_usbmidi_lib        19231  1 snd_usb_audio
snd_rawmidi            21760  1 snd_usbmidi_lib
snd_soc_bcm2708_i2s     6298  0
snd_seq_device          6481  1 snd_rawmidi
snd_soc_core          128665  4 snd_soc_tas5713,snd_soc_pcm512x,snd_soc_wm8804,snd_soc_bcm2708_i2s
snd_pcm_dmaengine       5529  1 snd_soc_core
snd_pcm                82413  3 snd_usb_audio,snd_soc_core,snd_pcm_dmaengine
leds_gpio               2083  0
snd_hwdep               5854  1 snd_usb_audio
led_class               4110  1 leds_gpio
snd_page_alloc          5140  1 snd_pcm
snd_timer              20541  1 snd_pcm
snd_compress            8323  1 snd_soc_core
snd                    62326  9 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_soc_core,snd_pcm,snd_hwdep,snd_timer,snd_compress
regmap_i2c              1661  4 snd_soc_tas5713,snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
regmap_spi              1909  3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
regmap_mmio             2826  1 snd_soc_bcm2708_i2s
evdev                  10477  0
spi_bcm2708             4864  0
i2c_bcm2708             4743  0

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 722
Re: piCore 6.0 rc1
« Reply #34 on: January 11, 2015, 04:46:32 PM »
What type of mount options do you use ??
And what type of share are you trying to mount ? Guest, User, Anonymous ??
Maybe you just to try to use option sec=ntlm
mount.cifs //cifs-server/share /localfolder -o guest,sec=ntlm

Have you tested some of this, like openwrt ??

http://wiki.openwrt.org/doc/howto/cifs.client


Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: piCore 6.0 rc1
« Reply #35 on: January 11, 2015, 05:58:02 PM »
What type of mount options do you use ??
And what type of share are you trying to mount ? Guest, User, Anonymous ??
Maybe you just to try to use option sec=ntlm
mount.cifs //cifs-server/share /localfolder -o guest,sec=ntlm

Have you tested some of this, like openwrt ??

http://wiki.openwrt.org/doc/howto/cifs.client

Just username and password.   Mount options have not been required in the past.    And no sec=ntlm doesn't help.   ntlm uses MD4, and it just fails with a MD4 encryption failure.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 rc1
« Reply #36 on: January 12, 2015, 04:02:17 AM »
Just building samba, cifs-utils and their dependencies on 6.0. As soon as finished I can test. Most probably you need a crypto kernel module which is not in the base. You can download kernel modules from the server and install all crypto modules to find out which one is missing in the mean time (arc4?)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: piCore 6.0 rc1
« Reply #37 on: January 12, 2015, 05:52:03 PM »
Just building samba, cifs-utils and their dependencies on 6.0. As soon as finished I can test. Most probably you need a crypto kernel module which is not in the base. You can download kernel modules from the server and install all crypto modules to find out which one is missing in the mean time (arc4?)

Will try that tonight.   I'll look at an old picore 5.x system to see if something stands out.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: piCore 6.0 rc1
« Reply #38 on: January 12, 2015, 08:03:26 PM »
Just building samba, cifs-utils and their dependencies on 6.0. As soon as finished I can test. Most probably you need a crypto kernel module which is not in the base. You can download kernel modules from the server and install all crypto modules to find out which one is missing in the mean time (arc4?)

hmac.ko is required.   If I manually load this module first, the system will automatically load md5.ko  and the mount is successful.   on older versions of piCore, both of those modules were on the builtin list.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 rc1
« Reply #39 on: January 13, 2015, 02:02:59 AM »
hmac.ko is required.   If I manually load this module first, the system will automatically load md5.ko  and the mount is successful.   on older versions of piCore, both of those modules were on the builtin list.

Thanks. Yes, modules are rearranged in this version with the 3.12.35 kernel. I will add tem to bas in rc2.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Gerrelt

  • Full Member
  • ***
  • Posts: 182
Re: piCore 6.0 rc1
« Reply #40 on: January 13, 2015, 04:29:02 PM »
Hi Béla,

 I´ve recently bought a WiFi adapter with the mt7601 chipset.
That didn´t work with piCore, because it is missing the driver.

I found the sourcecode for this driver here, and I´ve compiled it against the kernel (3.12.35) of this picore version.
And I got it working! Which makes me pretty proud of myself, this is my first time compiling a driver on Linux.  8)

It seems to work quit well, but I've just testet it for a couple of hours.

Is this something that would be nice to put in a tce?
If yes, I can provide the two files (RT2870STA.dat and mt7601Usta.ko) and the instructions.

Greetings,

    Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 rc1
« Reply #41 on: January 14, 2015, 01:17:13 AM »
Gi Gerrelt

it sounds great, congrats! For sure we must add it to the repo, please send.

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Gerrelt

  • Full Member
  • ***
  • Posts: 182
Re: piCore 6.0 rc1
« Reply #42 on: January 14, 2015, 01:24:00 PM »
Hi Béla,

 I will send you a PM.

Greetings,

    Gerrelt.
my Raspberry Pi page: http://raspberry.gerrelt.nl

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 rc1
« Reply #43 on: January 14, 2015, 02:40:10 PM »
I got it :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."