Page 2 of 8

Re: Porteus-v1_beta-i486 ready for testing

Posted: 21 Mar 2011, 13:09
by beny
please brokenman it is possible to share the kernel .config , with the cripple-source of yours kernel isn't possible to make video driver,i have also installed it but i have used the vmlinuz of rebuilded kernel lib too, but i can't tweak initrd xz corrupted data,and the md5sum isn't right,but you have made some change before releasing.thanks

Re: Porteus-v1_beta-i486 ready for testing

Posted: 21 Mar 2011, 14:56
by wread
I tried to shutdown from the kdm-manager by right-clicking the icon at bottom right of the input panel and the computer froze! :shock:

Check to see if it is an issue (I will try to solve it).

Re: Porteus-v1_beta-i486 ready for testing

Posted: 21 Mar 2011, 15:14
by Hamza
Try halt in the console.

Regards,

Re: Porteus-v1_beta-i486 ready for testing

Posted: 21 Mar 2011, 23:25
by brokenman
Beny:
please brokenman it is possible to share the kernel .config
modprobe configs && zcat /proc/config.gz > porteus.config
[SOLVED] Kernel config

with the cripple-source of yours kernel isn't possible to make video driver
Will probably need full source headers for video driver.

I tried to shutdown from the kdm-manager by right-clicking the icon at bottom right of the input panel and the computer froze!
Yes, this is buggy. It needs attention but i havn't had time. Help would be appreciated.

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 11:29
by beny
i can answer with 64 bit is enough cripple-source to build nvidia driver,but i have the notice that don't match kernel module or header or so

Posted after 6 minutes 47 seconds:
ok i will try to pullout the config not now but tomorrow,i need config because with 64bit config there isn't some entry i think, i have problems with initrd when i load xz corrupt but can be all; the nvidia driver i have installed but recompiling the kernel,i don't know why but run,

Posted after 11 hours 14 minutes 28 seconds:
cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.38
cp: cannot create regular file `/boot/vmlinuz-2.6.38': No such file or directory
shoud be interesting why of this message,

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 11:38
by Hamza
Try that

If /boot is mounted on /mnt/live/mnt/sdXX/boot

Code: Select all

cp ./arch/x86/boot/bzImage /boot/vmlinuz-2.6.38
Regards,

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 13:31
by beny
i think you can't do this because the bzimage file is into the kernel folder and not in /mnt/live

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 15:11
by Hamza
I know , but the boot device is normally mounted on /mnt/live/mnt/sdXX/boot/

Regards,

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 18:59
by wread
I tried to shutdown from the kdm-manager by right-clicking the icon at bottom right of the input panel and the computer froze!
Yes, this is buggy. It needs attention but i havn't had time. Help would be appreciated.
@Brokenman
Solution: add line after line 58 of /etc/kde/kdm/kdmrc "TerminateServer=true", and save it as
rootcopy/etc/kde/kdm/kdmrc and reboot. Now you can logout by right-clicking Shutdown at the mentioned icon -I need to press Enter, don't know why-. Anyway, it does not freeze any more.[SOLVED] :D

BTW, I tried extracting 004-kde.xzm and editing that file; but when I tried to create it again, I got a corrupted file. A new issue?

Cheers!

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 19:21
by beny
hi wread you can do this job on console cd in the folder and mksquashfs file that you have file with the name .xzm if you want package in the folder you have put the path before

Posted after 1 minute 49 seconds:
apologize me brokenman i have made an error in the boot line the initrd work well,no issue thanks

Re: Porteus-v1_beta-i486 ready for testing

Posted: 22 Mar 2011, 20:49
by brokenman
cp: cannot create regular file `/boot/vmlinuz-2.6.38': No such file or directory
shoud be interesting why of this message,
Looks like /boot is not a folder in the live file system. You can see if you try: ls /
The vmlinuz belongs in the boot folder as in /porteus and /boot which is on the device you are booting from (/mnt/sda5/boot)

The config from 64 bit should be available in same way ... you will need to modprobe configs first though
Solution: add line after line 58 of /etc/kde/kdm/kdmrc "TerminateServer=true", and save it as
rootcopy/etc/kde/kdm/kdmrc and reboot.
Well done and thanks very much! Things are a little busy here ... moving to Brazil in 2 weeks.
BTW, I tried extracting 004-kde.xzm and editing that file; but when I tried to create it again, I got a corrupted file. A new issue?
At what stage did you get corrupt file? While repacking 004, installing Porteus to device or booting Porteus?
If while repacking then i am not sure why. If while installing it will be because md5sums.txt needs updating with new 004-kde.xzm file. If while booting it could be a bad permission on kdmrc. Perhaps try just uncommenting the line around 485 in kdmrc #TerminateServer=true

Re: Porteus-v1_beta-i486 ready for testing

Posted: 23 Mar 2011, 02:06
by wread
@brokenman
1.-I made a fresh copy of all the base modules from the iso-disk to the porteus folder of the usb. File system is xfs.
2.- Module size of 004-kde.xzm is 52.2 MB; extracting module by right-clicking on it gives dir 004-kde of size 128.7 MB.
3.-Even without modifying it, I copied the directory to a tmp folder and right clicked on Create module....
4.-After some time -about three minutes, I would say- a pop window appears (same directory). I inquire file size of newly created module and it reads 28.8MB.

I also tried by opening a console, cd to tmp folder and do a dir2xzm: also bad. :bad:
Uncommenting the file kdmrc at the indicated line and deleting the backup didn't help either.
I would say the bug is in dir2xzm, wouldn't you?

Are you really moving from the top list of civilized countries to a third-world one? I suppose you are fluent in br....
For a salary 3x at least I would understand it. :crazy:

Cheers!

Re: Porteus-v1_beta-i486 ready for testing

Posted: 23 Mar 2011, 09:07
by brokenman
OK i see the problem with the right click. The konqueror service menu points to a script in /opt/porteus-scripts called 'create module'.

Code: Select all

path=${1}
name=${2}

if [ -f $path/$name.xzm ]; then
   targ=$path/$name-1.xzm
      else
   targ=$path/$name.xzm
fi

( dir2xzm $path/$name $targ ) |
kdialog --passivepopup "Creating $path/$name now. Please wait ..... "
konqueror $path
The pipe is what is causing the problem. This last section should be changed to:

Code: Select all

kdialog --passivepopup "Creating $path/$name now. Please wait ..... " 6 &
dir2xzm $path/$name $targ >/dev/null
konqueror $path &
I'll edit this for xdialog in next release.

As for the failure building a module from console using dir2xzm .... i do it multiple times everyday (on ext3) and have never had a problem. I'll do some tests on different file systems to see if i can reproduce. Do you have same problem using: mksquashfs dir module.xzm?

Re: Porteus-v1_beta-i486 ready for testing

Posted: 23 Mar 2011, 14:23
by wread
I am having other weird issues (different folder sizes by extracting 004-kde.zxm repeatedly; mksquashfs crashes by about 30% of the process of compressing -the test you suggested-); I'm afraid my pendrive is broken; I'll get a new one and then report back to you, brokenman, thank you for the tips, now I have a wider view inside porteus and can be more of help to the community.........

Have a nice day!

Re: Porteus-v1_beta-i486 ready for testing

Posted: 24 Mar 2011, 05:56
by brokenman
Unfortunately uncommenting the line #TerminateServer=True doesn't solve the KDM login screen shutdown freeze problem for me.