SliTaz SliTaz Forum

You are not logged in.

#1 2013-08-23 00:56:36

christophe
Member
Registered: 2011-04-17
Posts: 432

kernel panic with rolling

Is it just me or is there a pb with tazusb and rolling ?

I get a kernel panic when rebooting a usb key with rolling after tazusb writefs sad

Offline

#2 2013-08-23 01:19:53

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

Re: kernel panic with rolling

Have you tried "rootdelay=10" ?

Offline

#3 2013-08-23 05:11:28

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: kernel panic with rolling

Which is why I'm looking into building a version using buildroot that's compatible with the cooking packages. If I automate the process enough, I'll allow you guys the chance to use it to build your own versions (with PAE, 64bit, arm, etc) too.

Offline

#4 2013-08-23 09:38:38

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: kernel panic with rolling

Yes; I think i have seen that rolling automatically adds a rootdelay when booting.

What puzzled me is that this is a "standard" version of rolling (with roofsgz1.gz -> rootfs4.gs it boots from usb without problem)

I then just did a tazusb writefs, which creates a single rootfs.gs. Nothing else changed (except, modified the booting command accordingly, obviously). Tried both without and with gz compression

the first line of trouble i see says

[c]mount: mounting tmpfs on /run failed: No such file or directory
/init: line 119: can't creat /run/ini: nonexistent directory
tee: /run/boot.log: No suche file or directory[/c]
the system then detect psmouse, the touchpad, some usb device then complains again

[c]mount: mounting /run on /mnt/run failed: no such file or directory
/init: line 179, can't create /run/init: nonexistent directory
/init: .: line 119: can't open '/run/init'
Kernel panic - not syncing: Attempted to kill init !
Pid: 1, comm: init Not tainted 3.2-slitaz #4
Call trace
[then trace log][/c]
Is it just me ??

Offline

#5 2013-08-23 11:58:13

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: kernel panic with rolling

No, it's not just you. TazUSB is broken and it generates broken linux systems as can be shown with the mounting and the linux taint error.

Offline

#6 2013-08-23 12:15:22

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: kernel panic with rolling

ok thanks

I'll wiat until that gets fixed sometime later in the process....

Offline

#7 2013-08-23 12:20:46

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: kernel panic with rolling

I think it's up to us to fix it. I'll have a look when I try integrating the scripts in my own build. I might as well fix things as I go.

Offline

#8 2013-08-23 19:59:06

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

Re: kernel panic with rolling

christophe,

mount: mounting tmpfs on /run failed: No such file or directory

Something strange because package slitaz-base-files-5.4.1 includes /run folder into it. I downloaded a package slitaz-base-files-5.4.1.tazpkg from mirror, and extracted it, and /run is here.

Trixar_za,

TazUSB is broken and it generates broken linux systems

I think, it not very broken while I use now my customized rootfs.gz in the SliTaz 4.0 produced with tazusb writefs.

But time passed, and maybe TazUSB now have new bugs, who knows…

Then I knew that fact of successive rootfs.gz creating is depending of:

[*]size of your RAM,

[*]number of packages that you installed over standard ones.

Now my RAM is 1 GiB, and rootfs.gz is 176 MiB (I know, its big!) and all works.

If you run SliTaz frugal, the filesystem is resided in the RAM.

When you create your rootfs.gz using tazusb writefs, your rootfs.gz created in the root (/) — in the RAM again.

So, its very easy to get corrupted rootfs.gz because of the small size of the RAM. Corrupted rootfs.gz have no several files, and you get kernel panic.

I think, its better to rewrite TazUSB to make rootfs.gz out from RAM — directly on the hard disk, or on the USB-flash disk. Then you'll get unlimited in size, not corrupted, archive.

_____

Guys! Last time (maybe, two weeks) I'm under massive rewriting (not refactoring) of slitaz-base-files, slitaz-tools, and tazusb. I rewrite old gtkdialogs using Yad, implement wide using of /lib/libtaz.sh and some more ideas. These projects seems unmaintained for long time, and I have a lot of changes, every of that I want to double-check if it works correctly, and these projects depends one from another… So, I'm in no hurry with changes committing into Hg repos. Please, if anyone want to make changes into TazUSB, not change it globally. Thanks!

Offline

#9 2013-08-23 22:09:32

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: kernel panic with rolling

Aleksej: Can you email me your changed packages in tar.gz form?

Offline

#10 2013-08-24 03:39:11

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: kernel panic with rolling

mount: mounting tmpfs on /run failed: No such file or directory

....

mount: mounting /run on /mnt/run failed: no such file or directory

boot and autologin OK.

--- tazusb-orig

+++ tazusb

@@ -457,9 +457,9 @@

        status

        # Create list of files

-        find /bin /etc /init /sbin /var /dev /lib /root /usr >/tmp/list

+        find /bin /etc /home /init /sbin /var /dev /lib /root /usr >/tmp/list

-        for dir in /home /proc /sys /tmp /mnt /media /media/cdrom /media/flash /media/usbdisk

+        for dir in /run /proc /sys /tmp /mnt /media /media/cdrom /media/flash /media/usbdisk

        do

            echo $dir >>/tmp/list

        done

Offline

#11 2013-08-25 12:43:25

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

Re: kernel panic with rolling

@christophe - I use "tazlito writeiso lzma" without a cdrom mounted - it creates a rootfs in /home/slitaz.....

take care, that you have an empty /home directory, when you run it..... otherwhise the iso is a monster...

Offline

#12 2013-08-25 12:58:49

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

Re: kernel panic with rolling

@trixar_za + Aleksej

maybe it has something to do with this change of bellard

http://hg.slitaz.org/tazlito/rev/04a0a9b9df91

after this change tazlito was working - before there was also kernel panik

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]