SliTaz SliTaz Forum

You are not logged in.

#1 2011-11-09 00:35:40

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

frustration with tazlito writeiso

i have been trying for a while already to create a frugal install copy of slitaz (3.0 for that matter) with either openoffice or libreoffice

When trying to remote i get a kernel panic:

Last screen looks like this:

_______________________________________________________

0300 xxxxxx hda driver: ide-gf

(list of hda 1 to HDA 10)

1600      4194302 HDC driver: ide-cdrom

Kernel panic - not syncing: VFS: unable to mount root fs on unknown-blcok(0,0)

Pid: 1, comm:  swapper Not tainted 2.6.30.6-slitaz #1

Call Trace:

[<c0419091>] ? printk+Oxf/0x11

[<c0418fe5>] panic+0x39/0xd6

[<c0597b42>] mount_block_root+0x1eb/0x1ff

[<c0171a4b>] ? sys_mknod+0x13/0x15

[<c0597ba2>] mount_root+0x4c/0x54

[<c0597cea>] prepare_namespace+0x140/0x167

[<c059731D>] kernel_init+0x148/0x157

[<c05971d5>] ? kernel_init+0x0/0x157

[<c0103927>] kernel_thread_helper+0x7/0x10

_______________________________________________________

the file is above 800MB (and uncompressed, though it was not working eihter when i first compressed it), if that is of any help

I have been able to do a frugal install of a customised environment of a smaller size, without libreoffice or openoffice, but with with several other packages.

Any reason this should not work ?

Thanks

Offline

#2 2011-11-09 11:47:49

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

Re: frustration with tazlito writeiso

I was meaning "when trying to reboot" (not "when trying to remote" as i wrote), after successfully creating the rootfs.gz.

it is at reboot time, when rebooting, that i get the kernel panic

Offline

#3 2011-11-09 12:34:28

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: frustration with tazlito writeiso

Do you have more than 2x800 MB, say 2GB RAM ?

You can build a loram iso with tazlitobox.

Offline

#4 2011-11-09 12:59:04

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

Re: frustration with tazlito writeiso

I have 2.5 GB ram, and this is where i get the kernel panic

I get confused: are you believing my 800+GB rootfs is too large (to boot on a 2.5 GB machine)? I would think i have plenty of ram even for booting ?

i will try though

Offline

#5 2011-11-10 00:35:42

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

Re: frustration with tazlito writeiso

I am having another problem with tazlito gendistro

after a while i get this

______________________________________

Repacking : iwlwifi-3945-firmware-15.32.2.9.tazpkg

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

Can't repack, iwlwifi-3945-firmware files have been modified by:

  iwlwifi-4965-firmware

  iwlwifi-5000-firmware

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

wget: server returned error: HTTP/1.1 404 Not Found

Connecting to download.tuxfamily.org (88.191.250.18:80)

wget: server returned error: HTTP/1.1 404 Not Found

Connecting to mirror.switch.ch (130.59.10.36:80)

wget: server returned error: HTTP/1.1 404 Not Found

... etc for a while

Connecting to ftp.uni-stuttgart.de (129.69.8.112:80)

wget: server returned error: HTTP/1.1 404 Not Found

Connecting to ftp.uni-stuttgart.de (129.69.8.112:21)

wget: bad response to RETR: 550 slitaz/packages/3.0/iwlwifi-3945-firmware-15.32.2.9.tazpkg: No such file or directory

Missing package iwlwifi-3945-firmware-15.32.2.9.

#

_______________________________________

it continues on an on to try to wget then gives up with the missing package iwlwifi message.

sad

Offline

#6 2011-11-10 02:26:28

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

Re: frustration with tazlito writeiso

tazlito gen-distro first step is to aquire all the tazpkgs in the list of tazpkgs you've given it to create your distro.

To save bandwidth if the tazpkg is installed on your running system it runs tazpkg repack package name which repacks it off your system.

Each tazpkg contains a file called md5sum which lists the absolute path to every file in the package and it's md5sum.When a tazpkg is installed that modifies a file in another tazpkg, a file named  modifiers is written to /var/lib/tazpkg/installed/tazpkgname folder that lists the tazpkgs whose installation modified one or more of it's files.The modifier blacklists the tazpkg from being repacked as it would not run correctly with modified files. When it can't repack it uses tazpkg get to download from the repo. The problem is your running the stable-3.0 iso and the iwlwifixxxx-firmware.tazpkgs are from the cooking repo, tazpkg is trying to get them from the stable repo where they don't exist.

Even if tazpkg was set to download from cooking repo:

Repacking : iwlwifi-3945-firmware-15.32.2.9.tazpkg is not the correct package name

Should be:  firmware-iwlwifi-3945-20110227.tazpkg

md5sum  /lib/firmware/iwlwifi-3945-2.ucode if it match's /var/lib/tazpkg/installed/firmware-iwlwifi-3945/md5sum delete the modifiers file so it will repack.

This may be triggered by installing multiple iwlwifi firmware tazpkgs because they each have an identical license file that overwrites the previously installed one.

Offline

#7 2011-11-10 15:37:54

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

Re: frustration with tazlito writeiso

Tx - I understand the whole idea but i am not sure whether you are indicating a workaround for me here, or saying it is hopeless until the 3.0 repository get fixed....

??

Offline

#8 2011-11-10 16:38:06

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

Re: frustration with tazlito writeiso

This is the workaround:

Open pcmanfm as root.

Go to /var/lib/tazpkg/installed

Every installed tazpkg has a folder with it's name here.

Go inside every folder that has iwlwifi in it's name

If there is a file inside the iwlwifi folder called modifiers delete it.

Retry tazlito gen-distro

Offline

#9 2011-11-11 00:46:48

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

Re: frustration with tazlito writeiso

tx -will do and let you know

Offline

#10 2011-11-12 00:35:56

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

Re: frustration with tazlito writeiso

ok, geniso almost worked, after i tweaked 2 other packages and added manually thunderbird, and used the lowram option

I say "almost" because when i reboot, then mount my home directory, my menus and panel are the same EXCEPT OO entries which have disappeared from the menu, and the shortcuts to OOwriter and OOcalc of the application launch bar also have disappeared (well, there are empty icons with a red cross in the middle of it); but OO is still there, i can lauch soffice.

When i reboot from my hd though everything works fine.

Also, i noticed that there is a long wait time when it recognises the USB disk and flash memory (during boot time only)

Any comment on these ?

Tx

Offline

#11 2012-03-05 14:11:10

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

Re: frustration with tazlito writeiso

The menu shortcut were just 2 links for OO which had disappeared somewhere in usr/share/bin, i think; I recreated them manually and it worked.

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.56 MiB (Peak: 1.77 MiB) ]