Tiny Core Linux

Tiny Core Base => Raspberry Pi => piCore Test Releases => Topic started by: bmarkus on March 12, 2014, 02:25:51 PM

Title: piCore-5.2.1rc2
Post by: bmarkus on March 12, 2014, 02:25:51 PM
Team Tiny Core is pleased to announce the availability of piCore-5.2.1rc2:

http://tinycorelinux.net/5.x/armv6/release_candidates/

Change log for 5.2.1rc2:

* added more protection of TC scripts against bad extensions
* added kernel modules required by USB 3G adapters

Change log for 5.2.1rc1:

* kernel updated to 3.13.6
* added kernel modules required to connect WiFi AP with SHA encryption
* added ntpserver=<serveraddress> boot option to define ntp server (default pool.ntp.org)
* added /etc/sysconfig/ntpserver config file to define ntp server address
* fixed issued that modules were not found in /usr/local/lib
* USB CLASS modules are not built into the kernel but real modules part of base

Please note, alsa-modules-3.13.6-piCore+.tcz has no startup script to avoid conflicts with DACS, necessary modules must be loaded by user, including on-chip sound device.

Images with preinstalled SSH for headless operation and with GUI also available.

For support visit http://forum.tinycorelinux.net/index.php/board,57.0.html
Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 13, 2014, 11:38:40 AM
Hi Béla,

I am testing this release candidate, but I encounter the same problem as with rc1.
I cannot connect to WiFi. Your previous reaction was:

Thanks for testing. dmesg output after trying and failing connect welcome as well as lsmod. In my case with 5.2 the problem comes when 802.11n mode and SHA encryption used, TKIP was OK. It is fixed adding two crypto module to rc1 base. In dmesg adapter was authenticated and immediately deautenthicated. Now it works fine here. Let's see your adapter.

So, here is the last part of the dmesg output:
Code: [Select]
[    5.545775] usb 1-1.3.4: new full-speed USB device number 6 using dwc_otg
[    5.651021] usb 1-1.3.4: New USB device found, idVendor=0d8c, idProduct=000c
[    5.651053] usb 1-1.3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.651068] usb 1-1.3.4: Product: C-Media USB Headphone Set
[    5.661703] input: C-Media USB Headphone Set   as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.3/input/input0
[    5.663872] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-bcm2708_usb-1.3.4/input3
[    9.409830] random: mkswap urandom read with 75 bits of entropy available
[    9.422680] Adding 106800k swap on /dev/zram0.  Priority:-1 extents:1 across:106800k SSFS
[   10.285813] usb 1-1.3.5: new high-speed USB device number 7 using dwc_otg
[   10.387709] usb 1-1.3.5: New USB device found, idVendor=0bda, idProduct=8176
[   10.387743] usb 1-1.3.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.387758] usb 1-1.3.5: Product: 802.11n WLAN Adapter
[   10.387771] usb 1-1.3.5: Manufacturer: Realtek
[   10.387784] usb 1-1.3.5: SerialNumber: 00e04c000001
[   12.075610] random: nonblocking pool is initialized
[   12.295954] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   12.433673] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   30.390715] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[   31.143590] usbcore: registered new interface driver snd-usb-audio
[   31.933074] usbcore: registered new interface driver rtl8192cu
[   34.850907] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   36.503713] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[   80.650306] cfg80211: Calling CRDA to update world regulatory domain

And here is the lsmod output:
Code: [Select]
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: G
cfg80211              200338  0
8192cu                551259  0
snd_usb_audio         117335  0
snd_soc_wm8804          7755  0
snd_usbmidi_lib        18974  1 snd_usb_audio
snd_soc_wm8731         11300  0
snd_soc_bcm2708_i2s     5645  0
snd_rawmidi            20464  1 snd_usbmidi_lib
snd_seq_device          6014  1 snd_rawmidi
snd_soc_core          114787  3 snd_soc_wm8804,snd_soc_wm8731,snd_soc_bcm2708_i2s
snd_hwdep               5771  1 snd_usb_audio
snd_pcm_dmaengine       4422  1 snd_soc_core
snd_pcm                76395  4 snd_usb_audio,snd_soc_wm8731,snd_soc_core,snd_pcm_dmaengine
snd_page_alloc          4652  1 snd_pcm
snd_timer              19723  1 snd_pcm
snd_compress            7871  1 snd_soc_core
snd                    56666 10 snd_usb_audio,snd_usbmidi_lib,snd_soc_wm8731,snd_rawmidi,snd_seq_device,snd_soc_core,snd_hwdep,snd_pcm,snd_timer,snd_compress
regmap_i2c              1534  3 snd_soc_wm8804,snd_soc_wm8731,snd_soc_core
regmap_spi              1790  3 snd_soc_wm8804,snd_soc_wm8731,snd_soc_core
regmap_mmio             2669  1 snd_soc_bcm2708_i2s
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 13, 2014, 11:47:15 AM
As far as I remember it was reported to work by Paul_123

In dmesg I do not see firmware download attempt. Was it OK with other version? If so send dmesg and lsmod
Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 13, 2014, 12:11:12 PM
OK, I did some more testing. I cannot connect with the wifi.sh script from wifi.tcz, but I can connect with my own script. I will compare the scripts some more. It might be caused by something in the wpa_supplicant.conf file.
Title: Re: piCore-5.2.1rc2
Post by: sbp on March 13, 2014, 12:27:17 PM
Hi bmarkus

I have tested 5.2.1rc2 with my two wifi adaptors:

The Ralink is working fine:

Code: [Select]
[   26.036431] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[   26.333541] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[   26.334594] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   26.387005] usbcore: registered new interface driver rt2800usb


And it connects fine - but there are some more info during the connection as compared to previous versions:
Code: [Select]
Select Wifi Network

    ESSID                         Enc   Qual    Channel Type
 1. Cisco04554                     on    70       3     WPA
 2. Djurs5                         on    21       3
 3. Steens 2.4GHz                  on    21      10     WPA
 4. Auning_B_Moellevaenget         on    19       8

Enter selection ( 1 - 4 ) or (q)uit: 1
Enter password for Cisco04554 (8 to 63 characters): xxxxxxx
Sending credentials to requested access point Cisco04554..
udhcpc (v1.22.1) started
Sending discover...
Sending select for 192.168.1.12...
Lease of 192.168.1.12 obtained, lease time 604800
deleting routers
adding dns 193.162.153.164
adding dns 194.239.134.83
tc@box:~$


The Realtek wifi is also detected:
Code: [Select]
[    4.935722] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.037719] usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811
[    5.037753] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.037769] usb 1-1.2: Product: 802.11n WLAN Adapter
[    5.037782] usb 1-1.2: Manufacturer: Realtek
[    5.037795] usb 1-1.2: SerialNumber: 00e04c000001


However it is unable to connect:
Code: [Select]
Select Wifi Network

    ESSID                         Enc   Qual    Channel Type
 1. Cisco04554                     on    77       3     WPA
 2. Djurs5                         on    34       3     WPA

Enter selection ( 1 - 2 ) or (q)uit: 1
Enter password for Cisco04554 (8 to 63 characters): smiley12
Sending credentials to requested access point Cisco04554...................
udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Failed to connect.
tc@box:~$

Steen
Title: Re: piCore-5.2.1rc2
Post by: sbp on March 13, 2014, 12:37:49 PM

Output from lsmod in the new 5.2.1rc2 for the realtek adaptor (which can't connect):
Code: [Select]
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: G
8192cu                551259  0
tc@box:~$

Output from lsmod in the old 5.2 for the realtek adaptor (which can connect):
Code: [Select]
tc@piCorePlayer:~$ lsmod
Module                  Size  Used by    Tainted: G
snd_usb_audio         117257  0
snd_usbmidi_lib        18974  1 snd_usb_audio
snd_rawmidi            20464  1 snd_usbmidi_lib
snd_seq_device          6014  1 snd_rawmidi
snd_hwdep               5771  1 snd_usb_audio
bcm2708_dmaengine       5184  0
virt_dma                2037  1 bcm2708_dmaengine
snd_bcm2835            16279  0
8192cu                551259  0
snd_soc_wm8804          7755  0
snd_soc_bcm2708_i2s     5645  0
snd_soc_core          114787  2 snd_soc_wm8804,snd_soc_bcm2708_i2s
snd_pcm_dmaengine       4422  1 snd_soc_core
snd_pcm                76395  4 snd_usb_audio,snd_bcm2835,snd_soc_core,snd_pcm_d                                                          maengine
snd_page_alloc          4652  1 snd_pcm
snd_timer              19723  1 snd_pcm
snd_compress            7871  1 snd_soc_core
snd                    56666 10 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_se                                                          q_device,snd_hwdep,snd_bcm2835,snd_soc_core,snd_pcm,snd_timer,snd_compress
regmap_i2c              1534  2 snd_soc_wm8804,snd_soc_core
regmap_spi              1790  2 snd_soc_wm8804,snd_soc_core
regmap_mmio             2669  1 snd_soc_bcm2708_i2s
tc@piCorePlayer:~$

And the dmesg for the working 5.2 version
Code: [Select]
[    4.935594] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    5.037741] usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811
[    5.037774] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.037789] usb 1-1.2: Product: 802.11n WLAN Adapter
[    5.037803] usb 1-1.2: Manufacturer: Realtek
[    5.037818] usb 1-1.2: SerialNumber: 00e04c000001

Steen
Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 13, 2014, 02:05:35 PM
I made some progress. It has something to do with the driver that is used by wpa_supplicant.

When executing the wpa_supplicant command without specifying a driver (like wifi.sh from wifi.tcz does), it will use "nl80211". And that fails:
Code: [Select]
tc@box:~$ sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -d
wpa_supplicant v2.1
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Priority group 0
   id=0 ssid='PolitieBureauHelmerhoek'
nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
nl80211: Driver does not support authentication/association or connect commands
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211: Failed to set interface 5 to mode 2: -19 (No such device)
wlan0: Failed to initialize driver interface
Failed to add interface wlan0
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout

When I tell wpa_supplicant to use the generic driver "wext" it does not fail:

Code: [Select]
tc@box:~$ sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf -d
wpa_supplicant v2.1
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Priority group 0
   id=0 ssid='PolitieBureauHelmerhoek'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
ioctl[SIOCSIWAP]: Operation not permitted
WEXT: Failed to clear BSSID selection on disconnect
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio N/A
wlan0: Own MAC address: 44:33:4c:72:95:ce
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 2c86ade1-78cd-5fec-9d24-a80e0d3daf4f
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..


When I execute the udhcpc command after this, it connects to wifi without a problem:

Code: [Select]
tc@box:~$ sudo /sbin/udhcpc -i wlan0 -x hostname:box
udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending select for 192.168.0.108...
Lease of 192.168.0.108 obtained, lease time 268435455
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.0.1
tc@box:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr B8:27:EB:2C:4B:CB
          inet addr:192.168.0.118  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:179 errors:0 dropped:0 overruns:0 frame:0
          TX packets:183 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15605 (15.2 KiB)  TX bytes:27691 (27.0 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 44:33:4C:72:95:CE
          inet addr:192.168.0.108  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6353 (6.2 KiB)  TX bytes:1398 (1.3 KiB)

So there must be something wrong with the nl80211 driver?
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 14, 2014, 12:18:30 AM
Thanks for testing guys. Few days ago wpa_supplicat was updated. It works here fine, did not see any change. Will look around.
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 14, 2014, 04:04:13 AM
It looks like driver do not suports the nl80211 interface, only the older wext. What we can do is to make driver configurable in wifi.sh default to wext.

Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 14, 2014, 06:09:51 AM
Yeah, sounds like a good idea. Shall I develop/test/propose the change?
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 14, 2014, 06:24:47 AM
I will make it and you can test
Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 14, 2014, 06:30:45 AM
Allright, just tell me when I can start testing.
Title: Re: piCore-5.2.1rc2
Post by: Paul_123 on March 14, 2014, 10:47:36 AM
As far as I remember it was reported to work by Paul_123

In dmesg I do not see firmware download attempt. Was it OK with other version? If so send dmesg and lsmod

yes it did work in 5.2, so something changed in 5.2.1

There is no firmware file for rtl8192cu, it is all compiled in the module.

i can confirm the same issue, but it doesn't look like the driver changed.
But it doesn't look like the driver recommends using nl80211Here is the sample wpa script in the driver from 3.13.6
Code: [Select]
if [ "`which iwconfig`" = "" ] ; then
echo "WARNING:Wireless tool not exist!"
echo "        Please install it!"
exit
else
if [ `uname -r | cut -d. -f2` -eq 4 ]; then
wpa_supplicant -D ipw -c wpa1.conf -i wlan0
else
if [ `iwconfig -v |awk '{print $4}' | head -n 1` -lt  18 ] ; then
wpa_supplicant -D ipw -c wpa1.conf -i wlan0 
else  
wpa_supplicant -D wext -c wpa1.conf -i wlan0
fi

fi
fi
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 05:23:10 AM
Updated wifi.tcz in repo. Now wpa_supplicant driver configured in /etc/sysconfig/wifi-wpadrv default to wext.

Please try.
Title: Re: piCore-5.2.1rc2
Post by: sbp on March 16, 2014, 05:49:40 AM
Hi bmarkus

Thanks, you fixed it, now both my Ralink and Realtek wifi adaptors are working perfectly.

Steen
Title: Re: piCore-5.2.1rc2
Post by: sbp on March 16, 2014, 06:01:48 AM
Hi bmarkus

There are quite a few errors during booting (not shown in dmesg) is there another log available, so that I can read them?

Steen
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 06:04:21 AM
Hi bmarkus

There are quite a few errors during booting (not shown in dmesg) is there another log available, so that I can read them?

Steen

You can try to enable syslog with syslog boot option. However depending on error they may be not logged. pause boot option can be useful to see them.
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 06:05:58 AM
Hi bmarkus

Thanks, you fixed it, now both my Ralink and Realtek wifi adaptors are working perfectly.

Steen

Sounds good, thanks for testing. I updated wifi.tcz in the x86 repo too.
Title: Re: piCore-5.2.1rc2
Post by: sbp on March 16, 2014, 06:37:31 AM
The error (only seen on attached screen) not showing up in putty or dmesg or syslog. So this is typed in via keyboard:

Code: [Select]
udevadm settle - timeout of 5 seconds reached, the event queue contains:
/sys/devices/platform/bcm2708_usb_usb1/1-1/1-1./1-1.3/1:1.0/input/input0 (1586)
/sys/devices/platform/bcm2708_usb_usb1/1-1/1-1./1-1.3/1:1.0/input/input0/event0 (1587)
/sys/devices/platform/bcm2835_AUD0.0 (1590)
/sys/devices/platform/bcm2835_AUD1.1 (1591)
/sys/devices/platform/bcm2835_AUD2.2 (1592)
/sys/devices/platform/bcm2835_AUD3.3 (1593)
/sys/devices/platform/bcm2835_AUD4.4 (1594)
/sys/devices/platform/bcm2835_AUD5.5 (1595)
/sys/devices/platform/bcm2835_AUD6.6 (1596)
/sys/devices/platform/bcm2835_AUD7.7 (1597)
/sys/devices/platform/bcm2835_hwmon.0 (1598)
/sys/devices/platform/ess9018-codec (1600)
/sys/devices/platform/mmc_host/mmc0/mmc0:b368/block/mmcblk0 (1606)
/sys/devices/platform/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p1 (1607)
/sys/devices/platform/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p2 (1608)
/sys/devices/platform/pcm1794a-codec (1609)
/sys/devices/platform/pcm5102a-codec (1610)


I have no idea what is causing these errors. It is a clean piCore5.2.1 rc2 with wifi packages installed and nothing else.

Steen

Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 06:57:05 AM
Expect these messages, do you experience any issue using the system?
Title: Re: piCore-5.2.1rc2
Post by: sbp on March 16, 2014, 07:17:49 AM
No, I have almost ported piCorePlayer to the new version and wifi and ALSA is working really good - no issues what so ever.

Regards
Steen
Title: Re: piCore-5.2.1rc2
Post by: Paul_123 on March 16, 2014, 07:25:34 AM
wifi working here too.
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 07:31:37 AM
wifi working here too.

Thanks, as I see it can be marked safely as solved. Hopefully Gerrelt gets the same result :)
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 07:35:49 AM
The error (only seen on attached screen) not showing up in putty or dmesg or syslog. So this is typed in via keyboard:

Code: [Select]
udevadm settle - timeout of 5 seconds reached, the event queue contains:
/sys/devices/platform/bcm2708_usb_usb1/1-1/1-1./1-1.3/1:1.0/input/input0 (1586)
/sys/devices/platform/bcm2708_usb_usb1/1-1/1-1./1-1.3/1:1.0/input/input0/event0 (1587)
/sys/devices/platform/bcm2835_AUD0.0 (1590)
/sys/devices/platform/bcm2835_AUD1.1 (1591)
/sys/devices/platform/bcm2835_AUD2.2 (1592)
/sys/devices/platform/bcm2835_AUD3.3 (1593)
/sys/devices/platform/bcm2835_AUD4.4 (1594)
/sys/devices/platform/bcm2835_AUD5.5 (1595)
/sys/devices/platform/bcm2835_AUD6.6 (1596)
/sys/devices/platform/bcm2835_AUD7.7 (1597)
/sys/devices/platform/bcm2835_hwmon.0 (1598)
/sys/devices/platform/ess9018-codec (1600)
/sys/devices/platform/mmc_host/mmc0/mmc0:b368/block/mmcblk0 (1606)
/sys/devices/platform/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p1 (1607)
/sys/devices/platform/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p2 (1608)
/sys/devices/platform/pcm1794a-codec (1609)
/sys/devices/platform/pcm5102a-codec (1610)


I have no idea what is causing these errors. It is a clean piCore5.2.1 rc2 with wifi packages installed and nothing else.

Steen

You can ignore these messages.
Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 16, 2014, 09:32:51 AM
wifi working here too.

Thanks, as I see it can be marked safely as solved. Hopefully Gerrelt gets the same result :)

Yes, Gerrelt gets the same results too! Thank you for the change Béla!  8)
Everything is working fine on this release now.

Can I make one more suggestion for the wifi.sh change?
The script continuus, even when the wpa_supplicant command fails.
Could we change this line:
 
Code: [Select]
system("wpa_supplicant -i " d " -c /etc/wpa_supplicant.conf -B  -D $WPADRV >/dev/null 2>&1")
To:
Code: [Select]
  if (system("wpa_supplicant -i " d " -c /etc/wpa_supplicant.conf -B  -D $WPADRV >/dev/null 2>&1") != 0) {
     print "\n\nERROR: Could not start wpa_suppicant" > "/dev/stderr"
     exit 1
  }

That way the script will exit with an error in case the wpa_supplicant command fails.


Greetings,
    Gerrelt.
Title: Re: piCore-5.2.1rc2
Post by: bmarkus on March 16, 2014, 10:54:50 AM
Gerrelt

thanks, I will apply your change.

Béla
Title: Re: piCore-5.2.1rc2
Post by: Gerrelt on March 16, 2014, 11:35:35 AM
Great!  8)

I've now installed piCore 5.2.1rc2 on 4 Raspberries, using three different WiFi adapters. They are all working without problems.