SliTaz SliTaz Forum

You are not logged in.

#1 2013-06-09 16:28:31

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Kernel SliTaz Linux-3.9.5-tazpkg

I have compiled from Slitaz 4 the new kernel linux-3.9.5-tazpkg, tested on 4 and cooking from my system work well.

From cooking two bug or a did correction from system, the system boot and the device wireless bluetooth are rfkilled. I have finded a solution from edit /etc/init.d/network.sh and add from first line this command

rfkill unblock all

another problem is audio device but the folder alsa is missed on /var/lib

create this folder and the problem disappear.

If you are interested to try this kernel, here for downloads

http://www.freefilehosting.net/linux-395

Offline

#2 2013-06-09 17:15:06

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Kernel SliTaz Linux-3.9.5-tazpkg

First sight. Just extracting rootfs.

Do we need /boot/System.map-3.9.5-slitaz (1.3 MiB)?

(And two small symlinks: /lib/modules/3.9.5-slitaz/build and /lib/modules/3.9.5-slitaz/source)

Offline

#3 2013-06-09 17:42:57

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Kernel SliTaz Linux-3.9.5-tazpkg

I do not know the script came out so buildtaz ....

Offline

#4 2013-06-09 17:48:41

subreptice
Member
Registered: 2013-03-10
Posts: 54

Re: Kernel SliTaz Linux-3.9.5-tazpkg

Hello,

Could you please tell me if this kernel had communication with arduino enable ?

zcat /proc/config.gz | grep -i ftdi_sio

CONFIG_USB_SERIAL_FTDI_SIO=m

?

Offline

#5 2013-06-09 18:42:58

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Kernel SliTaz Linux-3.9.5-tazpkg

Second sight.

I have normally my frugal install. But I need "full" HD install to try new kernel. OK, I copy all the folders from my running SliTaz 4.0 to another partition using Midnight Commander. I not copy /dev, /mnt, /media, /proc and /sys, just make empty folders. Make new entry in the my Grub4dos menu.lst. Boot, black screen and white letters scrolls. Error, can't open /dev/tty1...tty6 and again, and again, loop... OK, boot "frugal" and copy /dev to HD partition. Reboot "full". Boots well just to desktop.

Display resolution is correct. Try to listen to music, OK, hear nice sounds. Internet? Wi-Fi not works sad

Here is end of log http://tazpanel:82/boot.cgi?log

[c]______________________________________________________________________
Swap memory detected on: /dev/sda5
Activating swap memory...
Setting hostname...                                                  [ OK ]
Configuring loopback...                                              [ OK ]
wlan0 is not a wifi interface, changing it.
Configuring ...dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

[ OK ]
Starting wpa_supplicant for WPA-PSK...
wpa_supplicant: option requires an argument -- 'i'
wpa_supplicant v0.7.3
Copyright (c) 2003-2010, Jouni Malinen  and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)

usage:
  wpa_supplicant [-BddhKLqqstuvW] [-P] [-g] \
        -i -c [-C] [-D] [-p] \
        [-b] [-f] \
        [-o] [-O] \
        [-N -i -c [-C] [-D] \
        [-p] [-b] ...]

drivers:
  wext = Linux wireless extensions (generic)
  hostap = Host AP driver (Intersil Prism2/2.5/3)
  atmel = ATMEL AT76C5XXx (USB, PCMCIA)
  wired = Wired Ethernet driver
options:
  -b = optional bridge interface name
  -B = run daemon in the background
  -c = Configuration file
  -C = ctrl_interface parameter (only used if -c is not)
  -i = interface name
  -d = increase debugging verbosity (-dd even more)
  -D = driver name (can be multiple drivers: nl80211,wext)
  -g = global ctrl_interface
  -K = include keys (passwords, etc.) in debug output
  -t = include timestamp in debug messages
  -h = show this help text
  -L = show license (GPL and BSD)
  -o = override driver parameter for new interfaces
  -O = override ctrl_interface parameter for new interfaces
  -p = driver parameters
  -P = PID file
  -q = decrease debugging verbosity (-qq even less)
  -v = show version
  -W = wait for a control interface monitor before starting
  -N = start describing new interface
example:
  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
Starting udhcpc client on: ...
Selected interface 'wlan0'
Failed to connect to wpa_supplicant - wpa_ctrl_open: Connection refused
Restoring last alsa configuration...                                 [ OK ]
Веб-сервер TazPanel запускается на порту 82...                       [ OK ]
Checking if /etc/locale.conf exists...
Locale configuration: ru_RU                                          [ OK ]
Keymap configuration: ru
Loading /usr/share/kbd/keymaps/i386/qwerty/ru.map.gz
Starting local startup commands...
Starting all daemons specified in /etc/rcS.conf...
Starting message bus daemon: DBUS...                                 [ OK ]
Starting Hardware Abstraction Layer: HAL...                          [ OK ]
Starting slim login manager: Slim...                                 [ OK ]
Setting up kernel security rules...                                  [ OK ]
Iptables rules are disabled in: /etc/firewall.conf...
Starting httpd deamon: httpd...                                      [ OK ]

Welcome to your box.
SliTaz boot time: 16s
______________________________________________________________________[/c]
Maybe, its because I copyed /dev folder from running system. Or anything else?

Anyway, thank you, gibor, for your work!

Offline

#6 2013-06-09 19:17:05

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Kernel SliTaz Linux-3.9.5-tazpkg

@aleksej

sorry for my bad english but

The wifi and bluetooth device at boot are switched off, but you from rfkill command enable all .

One solution to restore is from terminal then

rfkill unblock all

ifconfig wlan0 up

/etc/init.d/network.sh  restart

or insert on script /etc/init.d/network.sh the command

rfkill unblock all

@subreptice

arduino not know but is able to communicate on usb/rs232, also keep all my historical evolution, bluetooth uvc-video firewire and other module serving on my system.

Offline

#7 2013-06-09 20:02:58

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Kernel SliTaz Linux-3.9.5-tazpkg

[c]tux@slitaz:~$ rfkill unblock all
Can't open RFKILL control device: Permission denied

tux@slitaz:~$ su
Password:

root@slitaz:/home/tux# rfkill unblock all

root@slitaz:/home/tux# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

root@slitaz:/home/tux# /etc/init.d/network.sh restart
Stopping all interfaces
ifconfig: SIOCGIFFLAGS: No such device
Killing all daemons
killall: udhcpc: no process killed
wlan0     No such device

wlan0 is not a wifi interface, changing it.
Configuring ...dummy0    no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.

                                                                     [ OK ]
Starting wpa_supplicant for WPA-PSK...
wpa_supplicant: option requires an argument -- 'i'
wpa_supplicant v0.7.3
Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi> and contributors

. . . . . . here message from wpa_supplicant . . . . . .
example:
  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
Starting udhcpc client on: ...
Selected interface 'wlan0'
Failed to connect to wpa_supplicant - wpa_ctrl_open: Connection refused

____________________________________________________________
root@slitaz:/home/tux# rfkill --help
Usage:    rfkill [options] command
Options:
    --version    show version (0.4)
Commands:
    help
    event
    list [IDENTIFIER]
    block IDENTIFIER
    unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
    <idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm

root@slitaz:/home/tux# rfkill list all

root@slitaz:/home/tux#
____________________________________________________________[/c]
Not works, and empty list. Seems like rfkill not works at all at my system, and I have some sort of hardware kill switch.

Offline

#8 2013-06-10 06:27:36

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Kernel SliTaz Linux-3.9.5-tazpkg

@Aleksej

I suspicion lacking some drivers for your card but last chance, if you want try directly cooking with new kernel on live

http://www.freefilehosting.net/slitaz-cooking-395

Offline

#9 2013-06-10 09:25:53

subreptice
Member
Registered: 2013-03-10
Posts: 54

Re: Kernel SliTaz Linux-3.9.5-tazpkg

@ gibor

Ah, ok. Thanks !

Offline

#10 2013-06-10 19:59:22

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Kernel SliTaz Linux-3.9.5-tazpkg

gibor,

I not tried your ISO file. Sorry, but I love my tuned stable SliTaz 4.0 frugal installation wink Your kernel 3.9.5 is just an experiment...

Here is diff between my 4.0 frugal and 4.0 full with your 3.9.5 kernel:

[c]+acpi_cpufreq            5569  0
-aes_generic            25742  1 aes_i586
-aes_i586                6816  1
-ath5k                 111977  0
-ath                     9811  1 ath5k
-cfg80211               99896  3 ath5k,ath,mac80211
+ipv6                  181119 18
+jmb38x_ms               5289  0
-mac80211              145388  1 ath5k
+memstick                4408  1 jmb38x_ms
+mperf                    847  1 acpi_cpufreq
-output                  1144  1 video
-rfkill                 10682  1 cfg80211
+rfkill                 10527  0
+sparse_keymap           1944  0[/c]
My wireless is ath5k. Try to switch it on by hands:

[c]tux@slitaz:~$ su
Password:
root@slitaz:/home/tux# modprobe ath5k
modprobe: module ath5k not found in modules.dep
root@slitaz:/home/tux# modprobe ath
modprobe: module ath not found in modules.dep
root@slitaz:/home/tux#[/c]
Find ath5k in the my stable:

[c]tux@slitaz:~$ find /lib -iname 'ath*'
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath5k
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath9k
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko.gz[/c]
Here is /lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko.gz.

Do we have ath5k in the 3.5.9 kernel? No sad

Offline

#11 2013-06-11 06:10:37

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Kernel SliTaz Linux-3.9.5-tazpkg

Do not apologize, the message forum for sharing opinions and experiences.

Since it seemed to me I had scarce availability on which to test the kernel, I thought I'd cook an iso directly to whoever was in your condition.

For what instead overs as a result it does not mean much in the end, even the officer has big shortcomings that I had to fill, with this there is no justification that we are all in love with our baby.

In all cases, thank you anyway for your time, mine is just an attempt to revive this forum, I was not sure of the need to share something that I have done for me.

A simple thought, for a developer to serve much larger areas with a key, where, however, can find the right place to install a tool to rescue.

Best regards

Offline

#12 2013-06-11 09:24:01

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Kernel SliTaz Linux-3.9.5-tazpkg

Hi, gibor!

First, your English is hard for me. But it seems that I caught written.

Do not worry so much, "I have prepared an image, but it was not wanted by anyone."

OK, let's go. At least for your work did not remain useless.

I have a netbook, so I can't just burn ISO image and boot CD.

I have grldr from Grub4dos as my main bootloader.

I've search net how to boot ISO using Grub4dos and prepared menu lines, and boot. No luck:

11062013226-640.jpg

I've rebooted my normal installation and opened your ISO image in ISO Master. Hmm...

Really, it have no /boot/bzImage file! It's a typo: your image contain /boot/bzImge; do you boot your ISO?

It's not a problem for ISO Master! Point wrong file, right click on it, select Rename, and rename it to right name. Save ISO with different name; tune menu.lst to use new ISO; reboot. Oh, error: image not continuous; boot windows and defragment it using Defraggler (free defragmentation tool). Reboot to use new ISO.

OK, now I type "ru" and Enter to use Russian keyboard, and press Enter to boot. It boots! smile

Next, it asks me again for my language (colored dialog on the black screen); I selected Russian again, and booting continued.

I booted right to Desktop:

11062013227-640.jpg

I can see movement when I move mouse cursor. System live, but it was totally impossible to use.

I want to commandline. When I pressed Ctrl+Alt+F1 then I see only black screen. I typed blind: [c]root[/c] <Enter> [c]root[/c] <Enter> [c]killall Xorg[/c] <Enter> (blackbox still) [c]startx[/c] <Enter> (broken Desktop again).

I want to play with boot options for my video card.

Offline

#13 2013-06-11 10:01:01

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Kernel SliTaz Linux-3.9.5-tazpkg

Again sorry if you did not understand, but absolutely do not speak English, I use google translate to convert words.

ISO is created with talito writeiso, and uploading it to stick with unetbootin for me works.

http://en.sourceforge.jp/projects/sfnet_unetbootin/downloads/UNetbootin/549/unetbootin-linux-549/

it is possible that your display settings are wrong yes.

in a hurry I did not remove all the variables manually in / etc/X11/xorg.conf.d

I trust only the script when he says writeiso remove the screen settings.

do not waste any more time with me the language divides us and we can not understand each other.

many thanks again.

Offline

#14 2013-06-11 13:02:24

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Kernel SliTaz Linux-3.9.5-tazpkg

if you did not understand, but absolutely do not speak English, I use google translate to convert words.

I know it. You - an Italian, and I - Russian. We all learned English in school. And I use Google Translator sometimes. Use simple words to get better results.

do not waste any more time with me

So categorical? Well, okay...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]