SliTaz SliTaz Forum

You are not logged in.

#26 2013-09-02 18:50:34

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

ok one last try - please install   libdrm-intel , login again and try

Offline

#27 2013-09-03 14:37:51

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,423

Re: Testing iso with kernel 3.2.50

I don't know what happened. I was posting my answer, the system hung nearly 30 seconds and then came back to forum home page and all the topics were signed by a certain Anonymous :-\

Not good isn't it? Well I was saying:

This becomes a little too much technical for me. I'm a common user you know, sorcerers apprentice at spare time but I don't still have my license. Tell me how I can obtain these information and I'll do it.

What I can say is tazx ended with this message:
[c](==) Log file: "/var/log/Xorg.2.log", Time: Sun Sep 1 11:59:11 2013

List of video drivers:

intel

fbdev

vesa

(++) Using config file: "/root/xorg.conf.new"

(==) Using config directory: "/etc/X11/xorg.conf.d"

Number of created screens does not match number of detected devices.

Configuration failed.

Server terminated with error (2). Closing log file.

cp: can't stat '/etc/xdg/openbox/autostart.sh': No such file or directory

[/c]
Hmmm, seems something went wrong?

Concerning libdrm-intel, it has already been downloaded by tazx:
[c]

Connecting to mirror.slitaz.org (91.121.171.224:80)

libdrm-intel-2.4.45. 100% |*****************************************| 42192 0:00:00 ETA

Installation of: libdrm-intel

==========================================================================================

Copying libdrm-intel... [ Done ]

Extracting libdrm-intel... [ Done ]

Extracting the pseudo fs... [ Done ]

Installing libdrm-intel... [ Done ]

Removing all tmp files... [ Done ]

==========================================================================================

libdrm-intel (2.4.45) is installed.[/c]
Well, now I have a bad and a good news for you.

[*]The bad one:

I wanted to blank a CD-RW to burn it with the iso and try it on my old computer. It seems nothing happens: the message [c]Blanking entire disk[/c] is displayed and nothing else, unable to eject CD-RW but it was blanked. Then I tried to burn it:
[c]wodim: Bad Option: speed=0.000000.

Usage: wodim [options] track1...trackn

Use wodim -help

to get a list of valid options.

Use wodim blank=help

to get a list of valid blanking options.

Use wodim dev=b,t,l driveropts=help -checkdrive

to get a list of drive specific options.

Use wodim dev=help

to get a list of possible SCSI transport specifiers.[/c]
and the disk wasn't burned. There is something wrong with wodim

[*]The good one:

I burned it from rolling and had the stupid idea to try it on the Fujitsu first... and it works! The problem comes the way I boot in frugal mode; remember, I do it from iso.

Here is my entry in grub.cfg:
[c]

# Booting SliTaz-test with kernel 3.2.50 from ISO file

menuentry  "SliTaz-test/kernel 3.2.50 (02/09/2013), frugal install from ISO file on Lifebook" {

    loopback CD (hd1,2)/frugal/rolling/slitaz-test-3.2.50-03092013.iso

    linux (CD)/boot/bzImage root=/dev/null kmap=fr-latin1 autologin

    initrd (CD)/boot/rootfs.gz

}

[/c]
Is there something wrong with it? I used grub2 because grub4dos does not like NTFS partitions. I must recognize that in this way SliTaz does not start as from an iso with grub4dos on my old Asus.

I just tried with a traditional frugal install and it works too.

I'll try this week end from iso with grub legacy; I prefer this way because no need to mount the iso, copy files... If it works well, I'll give up grub2.

I'm really sorry for making you waste your time for a problem that was not one, but...

I tested on my Asus and I've got a problem with the screen resolution. It seems it's not possible to change it via Applications > Preferences > Monitor Settings.

I ran tazx too, to download the nV driver but same; my controller is a nVidia Corporation NV11DDR [GeForce2 MX200]. Works fine with SliTaz 1 to 4.

Offline

#28 2013-09-04 22:13:25

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

Re: Testing iso with kernel 3.2.50

Hi kultex,

and yes keyboardswitcher is needed - like all my baltic friends need it also like you and some need 4 keyboards - lithuanian, russian, french and german ...

whats about this

http://wiki.slavka.kiev.ua/index.php/XXkb - you will understand....

https://bbs.archlinux.org/viewtopic.php?id=62979

and I personally preferred it with keyboard shortcut - http://wiki.lxde.org/en/Change_keyboard_layouts

found something else: http://www.pclinuxos.com/forum/index.php?topic=87702.0

I read the links, but did not find anything new. I have a question. Why do we need another entity, while we have everything already?

We have LXPanel and Keyboard switcher applet. This applet in the Rolling version is very advanced, compared to used in the SliTaz 4.0. It can indicate keyboard layout both as text or icon, switch layouts, remember own layout for every window, add/remove your layouts (from long list), configure other options (like as keys for switching, or compose key).

I asked a little bit about other. When a Live session is started, then the system used to configure according to the selected language. If I chose the Russian language, I get not only Russian items in the main menu, but also Russian-English keyboard, Russian menu by pressing the right button on the desktop, Russian help for SliTaz programs (Applications › Documentation)... All this makes the /usr/bin/tazx at a boot time.

So, I want to write rules. Imagine, if "kmap=ru" then I need to add Keyboard applet to LXPanel, if "kmap=fr_CH-latin1" then I don't need to add applet (or, maybe, reverse logic: not to delete existing applet in the first case, and delete in the second case; because LXPanel rc file not so simple to insert lines to it, but enough simple to remove lines from it).

Existing rules:

fr_CH-latin1) layout="ch"

uk) layout="gb"

ru) layout="us,ru"

ua) layout="us,ua,ru"

slovene) layout="si"

us-acentos) layout="us"

But these rules not covered all the use cases. I see only one: if layout above contain a comma sign, then we need switcher.

Interesting question,

Do Frenchs really used the keyboard switcher (French/English)?

Do Germans really used the keyboard switcher (German/English)?

I don't know this.

Offline

#29 2013-09-05 01:58:45

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Testing iso with kernel 3.2.50

@Aleksej

.....Do Germans really used the keyboard switcher (German/English)?....

I think this is a hypothetical Question, but nontheless here is

the answer---NO---

Offline

#30 2013-09-05 07:53:19

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

Re: Testing iso with kernel 3.2.50

Hi sixofeight,

Thank you for report. It is real question to be sure.

Then, maybe French people use keyboard switcher? What is it? link to quoted post (author: oui)

SliTaz manages the keyboard loosing chars into Sakura as well as in xterm: the chars being produced using AltGr are not transmited all to the command line interpreter!

If I write:

# su -c "do that!"

only

# su -c do that!

will appear in the console and the line can't be interpreted (it is about the same with divers other chars being produced using the AltGr key using keyboard for divers languages...) and you have no other way to write such a line than change the keyboard layout!

hard

hard

hard...

As far as I know, «oui» is translated as "yes" from French.

In English layout we can type double quotes pressing [Shift] + [ ' ]. But quoted author can't do it. He wants to press [AltGr] + something. Much possible, he get not regular programmistical quote (") but “smart” quotes that is not part of ASCII shell alphabet.

Still question. Do French people need double keyboard French/English with switcher?

PS. I think - no. Because fr is azerty, and us is qwerty based.

Offline

#31 2013-09-05 09:09:20

HitiAre
Member
Registered: 2013-09-04
Posts: 3

Re: Testing iso with kernel 3.2.50

Alexej, I'm not sure, but according to http://en.wikipedia.org/wiki/AZERTY , (see the image: Europe map), France by default use AZERTY, and it seems to not use QWERTY as second layout;

And, I was asked on #French channel, on Freenode, :

(12:07:09) ... La France utilise uniquement disposition AZERTY (par défaut), ou AZERTY + QWERTY?

(12:07:20) yyy: seulement azerty // = only  AZERTY

(12:09:12) zzz: à l'université tous les ordinateurs ont le choix entre azerty, qwerty, et us-international  // = university all computers have the choice between azerty, qwerty, and us-international

(12:09:35) zzz: à mon université tongue // = at my university: p

Offline

#32 2013-09-07 17:08:27

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,423

Re: Testing iso with kernel 3.2.50

@ Alexsej

Do French people need double keyboard French/English with switcher?

We use AZERTY keyboard in France. For everyday use, no need to have a switcher keyboard.

I don't think oui's post concerns AZERTY keyboards: no need to use [AltGr] key for double quotes, it exits a specific key for that.

And no problem with [AltGr] in Sakura or Xterm: on an AZERTY keyboard you need to press [AltGr]+[6]to type a pipe "|" and it works.

Offline

#33 2013-12-15 15:38:35

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: Testing iso with kernel 3.2.50

@kultex

Hi,

I was testing slitaz-test-3.2.50-04092013.iso found the following problem, constant high CPU usage (average 50%) apparently related to the sound card. I have no sound.

$ top

%CPU    COMMAND

49.8 dialog --gauge Searching sound cards 15 70 5

$ lspci | grep -r Audio

00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)

to kill the process in question, returns to normal CPU usage, but still no sound.

apart from this problem, I like his work kultex :-)

Offline

#34 2013-12-16 08:03:22

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

@rerivero

can you please try to run /usr/sbin/soundconf manually

Offline

#35 2013-12-16 12:22:00

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: Testing iso with kernel 3.2.50

usr/sbin/# ./soundconf

    No supported PnP or PCI card found.

    would you like to probe legacy ISA sound cards chip? >> yes

    Probing legacy ISA cards might make you system unstable.

    Do you want to proceed? >> yes

    "testing all drivers in the list" >> Ok

RESULT:

Probing legacy cards..   This may take a few minutes..

Probing: opl3sa2 : FOUND!!

Setting default mixer volumes... amixer: Mixer default load error: Invalid argument

Done

alsactl: get_control:247: Cannot read control info '2,0,0,Front Playback Volume,0': Invalid argument

alsactl: get_control:247: Cannot read control info '2,0,0,Front Playback Volume,0': Invalid argument

Offline

#36 2013-12-16 14:36:29

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

regarding to this thread

http://superuser.com/questions/515636/current-sound-configuration-integrated-realtek-alc662-on-ubuntu-12-04-plays-ev

try to load this two modules

modprobe snd_hda_intel

modprobe snd_hda_codec_realtek

and perhaps to run soundconf again

Offline

#37 2013-12-16 19:24:13

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: Testing iso with kernel 3.2.50

no results when lifting modules. In fact the two modules indicated and are raised alone after reboot.

There seems to be an infinite loop to detect sound card, and I kill the process ..

lsmod comparison between SliTaz-4.0-stable and slitaz-test-3.2.50

***** SliTaz 4.0 stable ***********

root@slitaz:/home/tux# lsmod | grep snd

snd_hda_codec_realtek   202176  1

snd_hda_intel          15886  4

snd_hda_codec          45027  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  3 snd_hda_intel,snd_hda_codec

snd_timer              12515  2 snd_pcm

snd                    33394 12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

-------------------------------------

*******  SliTaz-test-3.2.50 *********

root@slitaz:/home/tux# lsmod | grep snd

snd_hda_codec_realtek   135550  1

snd_hda_intel          16883  1

snd_hda_codec          47096  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3868  1 snd_hda_codec

snd_pcm                44261  2 snd_hda_intel,snd_hda_codec

snd_page_alloc          4813  2 snd_hda_intel,snd_pcm

snd_timer              12167  1 snd_pcm

snd                    34425  8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3405  1 snd

-------------------------------------

** New detected error: processor speed **

Slitaz-4.0 -Processors- (correct)

AMD Athlon(tm) II X2 250 Processor        : 3013,00MHz

AMD Athlon(tm) II X2 250 Processor        : 3013,00MHz

------------------------------------------------------------

Slitaz-test-3.2.50 -Processors- (incorrect)

AMD Athlon(tm) II X2 250 Processor        : 800,00MHz

AMD Athlon(tm) II X2 250 Processor        : 800,00MHz

Offline

#38 2013-12-17 09:32:41

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: Testing iso with kernel 3.2.50

@kultex: Nice work.

Unfortunatly i had some errors and slim doesn't start alone.

It seem's that my Zotac (zbox HD-ID11) does not support cpufreq scalling.

[c]<br />
Processing: /etc/init.d/local.sh<br />
modprobe: ERROR: could not insert 'acpi_cpufreq': Input/output error<br />
modprobe: ERROR: could not insert 'powernow_k6': No such device<br />
modprobe: ERROR: could not insert 'powernow_k7': No such device<br />
modprobe: ERROR: could not insert 'powernow_k8': No such device<br />
modprobe: ERROR: could not insert 'speedstep_smi': No such device<br />
modprobe: ERROR: could not insert 'speedstep_ich': No such device<br />
modprobe: ERROR: could not insert 'gx_suspmod': No such device<br />
modprobe: ERROR: could not insert 'longrun': No such device<br />
modprobe: ERROR: could not insert 'longhaul': No such device<br />
modprobe: ERROR: could not insert 'cpufreq_nforce2': No such device<br />
modprobe: ERROR: could not insert 'e_powersaver': No such device<br />
Error setting new values. Common errors:<br />
- Do you have proper administration rights? (super-user?)<br />
- Is the governor you requested available and modprobed?<br />
- Trying to set an invalid policy?<br />
- Trying to set a specific frequency, but userspace governor is not available,<br />
for example because of hardware which cannot be set to a specific frequency<br />
or because the userspace governor isn't loaded?<br />
Setting default mixer volumes... Done<br />[/c]

Offline

#39 2013-12-17 13:40:57

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

1) cpufreq scalling

@rerivero your processor speed is correct just run "cpufreq-info" in the terminal and it will give you all possible speeds of your CPU. Its stupid to let your CPU work on the maximum speed, if it is not needed - you save minimum about 25% energy (depends on the CPU). Just let your CPU work like converting some audio or video or just compile cpu-burn (http://cpuburnin.com/ - its not in the repository, but take care you could ruin your computer) and you will see, that your speed will immediatly jump to 3000 MHz (governor ondemand)

To reduce power consumption is not only essential for portable computers (akku-live). it is also essential to use it on desktop machines to reduce unnecessary CO2 emissions.

@erjo yes it is correct, that your Atom D510 does not support speedstep - see http://ark.intel.com/products/43098/

its a question, how we integrate speedstep - I just did it the easy way - it just produces that errors in the log files and nothing else. Most users will not even notice, because they will not check the logs. We also could write a script, that detects the CPU and loads the correct module or does nothing, when the cpu does not support speedstep, quite a lot of work or just print a short explanation to the logs.

And what you mean with "slim doesn't start alone" - I mean the iso shoud directly boot to the desktop - its done like this

2) sound card

first - rerivero you have sound with 4.0?

the only difference I see is the module snd_page_alloc - when you have sound in 4.0 just try to load it

Offline

#40 2013-12-17 14:30:31

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: Testing iso with kernel 3.2.50

The ISO start in textmode. That how i saw error messages.

ISO start in graphic mode on my laptop.

I will try boot without cpufreq on my Zbox.

Offline

#41 2013-12-17 14:38:13

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

no it has nothing to do with cpufreq - it has something to do with the grafic card

can you give me the output of lspci

Offline

#42 2013-12-17 14:53:27

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

these f.... Atom Grafic drivers - its a  Intel GMA 3150 Grafik

normally all new grafic drivers support now fbdev drivers

try to run tazx and load the intel driver - then startx - if it is not working give me the xorg0.log

Offline

#43 2013-12-18 07:57:01

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

@erjo I was searching the net for GMA 3150 and fbdev, and did not find problems - so normally this means, that it should work and  regarding this post, the zbox should also work with the vesa driver http://www.backtrack-linux.org/forums/showthread.php?t=33131

could you please manually startx the testing iso and attach the xorg.0.log so just to see whats happening

Offline

#44 2013-12-19 00:20:02

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: Testing iso with kernel 3.2.50

@kultex: My Xorg logfile

Offline

#45 2013-12-19 08:30:23

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

Hi Eric,

can you please change in /etc/X11/xorg.conf.d/60-Device.conf to vesa and post the xorg.=.conf, if it is notr working

Offline

#46 2013-12-22 18:03:06

linea
Administrator
Registered: 2011-03-31
Posts: 70

Re: Testing iso with kernel 3.2.50

@kultex: Known bug: Eject does not work - this is a problem with udev / udevil / spacefm

If we update util-linux to 2.24 in the wok, there's a /usr/bin/eject command that fixes this.

If someone can take a look?

Offline

#47 2013-12-22 19:54:51

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Testing iso with kernel 3.2.50

I'm using cooking core from mirror.

IDE optical drive eject fails because no symlink is created from /dev/hdx to /dev/cdrom because this was removed from /etc/init.d/rcS

[c]# Create /dev/cdrom if needed (symlink does not exist on LiveCD).[/c]

[c]# Also add /dev/cdrom to fstab if entry does not exist.[/c]

[c]if [ -n "$CDROM" ]; then[/c]

[c]DRIVE_NAME=${CDROM#/dev/}[/c]

[c]else[/c]

[c]DRIVE_NAME=$(fgrep -s "drive name" /proc/sys/dev/cdrom/info | cut -f 3)[/c]

[c]fi[/c]

[c]if [ -n "$DRIVE_NAME" -a ! "[/c]readlink /dev/cdrom[c]" ]; then[/c]

[c]echo -n "Creating symlink : /dev/cdrom..."[/c]

[c]ln -s /dev/$DRIVE_NAME /dev/cdrom[/c]

    [c]ln -s /dev/$DRIVE_NAME /dev/dvd[/c]

[c]status[/c]

[c]fi[/c]

[c]if ! fgrep -q "/dev/cdrom" /etc/fstab; then[/c]

[c]echo -n "Adding /dev/cdrom  to fstab..."[/c]

[c]echo '/dev/cdrom      /media/cdrom iso9660 user,ro,noauto       0       0' \[/c]

    [c]>> /etc/fstab[/c]

[c]status[/c]

[c]fi[/c]

P.S.

I am not authorized to make commits to slitaz-boot-scripts

Offline

#48 2013-12-22 20:10:32

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: Testing iso with kernel 3.2.50

yes you can.

Offline

#49 2013-12-22 20:54:36

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Testing iso with kernel 3.2.50

Thanks eric,

With sata optical drive udev makes symlinks from the dvd drive /dev/sr0 to /dev/cdrom and /dev/cdrw

After mounting/umount iso9660 or play/shutdown audiocd:

[c]root@slitaz:/home/tux# eject[/c]

[c]eject: /dev/cdrom: Input/output error[/c]

Push the eject button on the drive, run eject in the console and the tray opens.

Then [c]eject -t[/c] and [c]eject[/c] works from console with no errors.

Offline

#50 2013-12-22 21:24:33

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Testing iso with kernel 3.2.50

mojo - on ide it does not work with the kernel from cooking, because udev does not support the old ide config

with the config I used in the testing iso, it works sometimes - like with sata drives in cooking

thats the config to use

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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