Forum: Release Candidates
Topic: DSL v4.0rc2
started by: roberts
Posted by roberts on Aug. 28 2007,04:05The second release candidate of DSL v4.0 is now available for testing.
* New xtar.lua. A new GUI to view,extract or process as a MyDSL extension various tar files.
* New netcardconf.lua. A new GUI to configure netcards, relaces dialog version.
* New printing.lua, called from the printer icon, provides "intelligent icon" to handle all printing needs, from setup, start, stop, or print, double-click or drag-n-drop.
* New add2filetool.lua, add2Xfiletool.lua, add2bootlocal.lua provides smooth interface for these tasks, double-click or drag-n-drop
* New switcher.lua GUI to switch WM, jwm, fluxbox, or swm
* Added sudo to myprism2, myndis, myiwconfig so they can be run from home by double clicking.
* Updated minirt24.gz waitusb function.
* Fixed cloop error on traditional hard drive installations.
* Fixed background on several icons.
* Updated "Getting Started" with more dfm information.
* Fixed missing ext3 support.
* Updated pendrive_usbhdd.sh with more warnings of its use of "sda"
* New rootMenu.lua sets root menu based on selected WM.
* Removed -zoom from .dfmext mplayer associations to better support older hardware.
Posted by roberts on Aug. 28 2007,04:14I made many changes to the system which affect certain files that will likely exist in your 4.0rc1 backup. It is always best to test from a new pristine boot, but for those who want to try to 'upgrade' the following files and entire directories likely in your backup have changed:
Posted by sankarv on Aug. 28 2007,05:25good to see another build so soon. jus want to know is there any specific reason in choosing swm for DSL?
Posted by ke4nt1 on Aug. 28 2007,05:45time 2 play...
Posted by roberts on Aug. 28 2007,05:48swm at 26k is tiny. Compare that to the others, jwm and fluxbox.
Adding swm provides DSL with the full spectrum of UI personalities.
From menu (application centric) icons or no icons to
A menuless, icon only, (document centric) system.
Currently I am using swm to walk-the-talk of drag-n-drop, double-click document centic computing. That's about 100% oposite of the typical application centric menu based system, where icons are more of an after thought or at most shortcut application start buttons.
My development goal was to achive this full spectrum UI in an under 50MB system maintaining the existing base DSL applications.
Posted by jaapz on Aug. 28 2007,09:51Nice, i'll download it as quickly as i can
Posted by kerry on Aug. 28 2007,17:07Pretty nice robert, love the new setup, you might just bring me back.
add launchers to the task bar, took me a couple of seconds to do it, i use the same thing in my debian setup.
<!-- Additional TrayButton attribute: label -->
<TrayButton icon="aterm.xpm">exec:aterm -T "Bash" -e /bin/bash</TrayButton>
the menu is huge and that's just the first thing that struck me, traversing three menus just to get to the browser. well let me play around some more and see what other ideas pop up.
< pic of icons >
< Here's what mine looks like, which i owe to dsl, learned a lot from you robert, thank you >
Posted by meo on Aug. 28 2007,17:29Hi Robert!
Very nice work on the new 4.0 rc2! There is just one thing that I'm missing and that is emelfm. I think it fits better with DSL considering it's graphical interface. Furthermore I personally prefer it as a file viewer. So I would like to get it back instead of mc. I've tried the emelfm-extension on the 4.0 rc1 but it doesn't come with the mime-types to make it easy to view a document and so on. So my hope is that emelfm reappears in the final version of 4.0 or I'll probably stick with the 3.4.x version. Thank you for the hard work you put in to this, according to me, the very best of Linux distros! So, keep up the good work.
Have lot's of fun working with DSL,
Posted by kerry on Aug. 28 2007,18:28i think there's a problem with usb, i unplugged my usb mouse to move it to a different usb, so i could stick my usb key in, now the mouse no longer works. i ctrl+alt+backspace out to console an ran xsetup.sh several times, but no joy. tried different usb mice and still it doesn't pick it up.
Posted by meo on Aug. 28 2007,19:19Hi again Robert!
I apologize for my comments that the emelfm extension didn't work properly in DSL 4.0 rc. In fact it does and I think that I used the gtk2 version the last time. But I have another problem with DSL 4.0 rc2. The boot-floppy doesn't seem to work with the cheatcode "frompcmcia" and since that is what I use I would really appreciate if that could be fixed (or added). I made a remaster adding emelfm and it worked just nice. But of course it would be easier if emelfm was added to the final DSL 4.0. Thanks for all you are doing for this wonderful distro.
Posted by Makurosu on Aug. 28 2007,19:38The rdesktop link in /Apps/Net seems to be broken. It goes to /usr/bin/rdesktop and I think it's supposed to go to /usr/local/bin/rdesktop.lua I haven't checked any of the other links.
Looks great so far.
Posted by roberts on Aug. 28 2007,20:40
I was wondering when someone would suggest this.
Very nice and nice to see you back in the forums, kerry!
I will add your suggestion.
Posted by roberts on Aug. 28 2007,20:44meo wrote:
I am OK with this suggestion. We already have an mc.uci in the repository.
Also, I have seen posts concerning difficulty with mc and resizing to full screen.
Posted by roberts on Aug. 28 2007,20:50@ kerry,
Unpluging a usb drive then re-pluging it in will change its device name. 2.6 kernel and udev solves this. But we are on 2.4 and original hotpug scripts. Anyway, a known limitation.
I know the boot floppy needs more work and I will address it. I have been concentrating on base isolinux version. Before, final release I will support, syslinux, qemu, vmx, and initrd editions as well as a fully functional boot floppy.
Posted by roberts on Aug. 28 2007,20:54
Thanks for reporting.
Please post them as you find them!
I will fix this one.
Posted by florian on Aug. 28 2007,21:46Although I like mc very much, If I had to choose between mc or emelfm, I'd go with emelfm, because I think it integrates better in DSL (this is only my personal opinion). Besides mc takes up 432k while emelfm is only 160k.
By the way, the mc.uci extension is great. It solves the resize problem. Personally, I also like the user-friendly mcedit editor bundled with mc. One small thing though: the extension should add some entries in the mydsl menu.
Posted by roberts on Aug. 28 2007,22:33@florian
I agree with this very much. The mc.uci that mikshaw made is very well done and much more complete than the currently included version.
Posted by kerry on Aug. 29 2007,05:40
Guess i been away to long, should have known/remembered that one. no biggy, i needed to move to my laptop anyway, my desktop is still having problems, that sucker died about 3 months ago, i only got around to working on it now, first thing i did was grab DSL while i could still use the burner.
Hey robert, i forget, on the frugal install, is there the option to not install the bootloader? the reason i ask is because i already have grub for my debian system & would really just like to add DSL to that. it's going to take a couple of days, for me to remember the DSL way of doing things. thanks
Posted by roberts on Aug. 29 2007,05:55No, as there would be little for the script to do other than copy the base DSL files onto a partition. Since you would be editing the existing grub, you might as well as do the copy too.
Posted by kerry on Aug. 29 2007,06:50thanks robert, i'll try that later. right now im just using "dsl toram xsetup".
i agree with you guys on emelfm, i used the mydsl to install it. it's just so much faster easier to work with. i'm still feeling my way around.
Posted by stupid_idiot on Aug. 29 2007,13:22Hi Robert:
I just tried DSL 4.0rc2 in kqemu. It is more beautiful than anything I could have expected. I wish you good luck with the 4.0 release!
Posted by marvinudy on Aug. 29 2007,20:07Robert,
Tried to boot DSL-4.0 rc2 with the 'sata' option and got a 'loading hang' at sata_vsc.0.....
Without the 'sata' option, boots fine but shows my 1st sata drive as hda and of course does not see sdb. What did I miss?
Intel 6420, GA-965-ds3 r-3, sata Wd 250 & 160 hd, 2Gb pc-6400 memory.
Posted by bokaroseani on Aug. 30 2007,07:55Looks very good so far...
Posted by jpeters on Aug. 30 2007,09:52
I haven't noticed this problem, as long as I umount the drive before pulling out the device. For my USB mouse, I can plug and unplug it all day, and it works.
Posted by curaga on Aug. 30 2007,09:59I haven't noticed that either. If I replug my usb stick, it's still sda..
Posted by Juanito on Aug. 30 2007,10:27I think the problems start when you plug and unplug more than one usb stick.
If I use only one usb stick - other than the one I boot from - and take care to mount/unmount it each time I plug/unplug it will stay as sdb1 and everything works fine.
If I use more than one usb stick in sequence using the same port - other than the one I boot from - they will be added as sdb1, sdc1, sdd1, etc (as long as I mount/unmount each one after/before plugging/unplugging). If I then go back to the first one (sdb1), a device /mnt/sdb gets created which does not contain the files on sdb1, sdb1 will not mount using the mount device (but will mount using mount /dev/sdb1 /mnt/sdb1) and things go gradually south.
As I think has been said a few times before, there's not much that can be done about this in 2.4.26 - it seems to work much better in dsl-n
Posted by roberts on Aug. 30 2007,14:09
Sorry, cannot say, as I don't own any SATA gear.
Perhaps someone with SATA gear can respond.
Otherwise I would suggest to check irq assignments, maybe try expert mode and load the sata module that corresponds to your hardware.
Without owning any SATA hardware to test, I can only direct you to try a few things...
DSL v4.0 has the kernel supplied SATA modules available during boot as shown in the boot time available modules:
[/tmp]# ls mroot/modules/scsi/
BusLogic.o aic7xxx.o gdth.o modules.lst sata_nv.o sata_via.o ultrastor.o
NCR53c406a.o ata_piix.o hptraid.o ncr53c8xx.o sata_promise.o sata_vsc.o usb-ohci.o
a100u2w.o ataraid.o ide-cd.o ohci1394.o sata_qstor.o sbp2.o usb-storage.o
advansys.o atp870u.o ide-scsi.o pas16.o sata_sil.o seagate.o usb-uhci.o
aha152x.o dtc.o ieee1394.o pci2000.o sata_sis.o silraid.o usbcore.o
aha1542.o eata.o initio.o pci2220i.o sata_svw.o t128.o wd7000.o
aha1740.o ehci-hcd.o libata.o pdcraid.o sata_sx4.o tmscsim.o
ahci.o fdomain.o megaraid.o psi240i.o sata_uli.o u14-34f.o
When you are dumped to a limited shell try:
See if you get a hit.
Posted by lucky13 on Aug. 30 2007,15:21Kerry:
Try unplugging and re-plugging in the console and see if you get any messages. That will also allow you to do a quick dmesg and see what's going on when you remove and re-plug the mouse.
As far as tray buttons go, why not assign those for what are, for most people anyway, the most frequently used menus? One for an internet menu, one for office menu, one for system menu...? (edited for clarity)
For others re: what Robert wrote about device names, there's a difference between device name and mount point. A device's name isn't sda1, that's it's mount point. The two aren't mapped together in 2.4, but they are in udev in 2.6.
< http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs >
Posted by roberts on Aug. 30 2007,19:51meo wrote:
I have updated the bootfloppy.img to include the fromusb & frompcmcia boot options.
I also created a new pcmciafloppy.img that is required when using the frompcmcia option.
Both now posted in the release_candidate area.
Posted by marvinudy on Aug. 30 2007,22:11
I tried the 'expert' mode with the same result. Manully, I entered all the mods with no effect. I'm way over my head technically. None of the insmod's made a difference.
I 'caught' the following error message on boot= kmod: failed to exec /sbin/modprobe -s -k scsi_hostadaptor, error=2.
Also, during 'autoconfiguring devices the following showed up: modprobe cant locate module block-error-2
Thanks for your input.
Posted by jls legalize on Sep. 02 2007,00:53I tryied the usb-hdd pendrive install, but then when I try to boot it doesn't work.
Another thing, are u sure the mixer setting are saved and restored?
Last: some mydsl appears twice in the dsl menu
P.S. Add a : between the year and the month in the calendar program
legalize cannabis, coke, opium.
Posted by wavetel on Sep. 02 2007,12:16Well done on the RC2 release. I did not check out the earlier ver 4 but since Ive been messing about with USB DSL3.41 and making some of my own DSL exts I thought I would check this new v4 out.
Some real differences.
First off I would support the move back to emelfm. I dont use mc at all if I have root access with emelfm. I also learned quickly that mc does not support long file names properly.
Secondly. after bootup into Jwm a right click on the desktop gives a menu to alllow mount and some desktop config options amongst other things. Thats fine but if I change to Fluxbox and then back to Jwm the right click on the desktop seems to produce the same menu as the DSL button.
Ive made a bootfloppy up and use fromusb frugal at boot.
Made a USB install on 128meg USB flash stick. The boot image is on sda2
Thirdly. I am really confused about the myDsl exts. Ive tried a few things. Created a modules directory under the mydsl menu
on the USB sda1. Put all the modules in there. It sees the modules on boot ok. Nothing appears in the MyDSL menu unless I force them to load . When they are loaded some of the apps appear twice in the Menu. Examples of this are Xscreensaver and LinPsk31 Both of these are public MyDsl apps.
So once I have these apps loaded in the Menu they are not loaded next time I boot and not saved to I guess.. I read that we are no longer to put the exts into the MyDsl directory and if I do, I end up with a real mess in the menu of doubled up .app and .dsl files.
Forth. Some MyDsl Exts actually create a Desktop Icon. Ive made some up myself using PNG files. Apps like LinPsk31 and Oppen Office Org make up their own Icons as a part of the package. The .xtdesktop directory no longer exists as Ive seen mentioned in texts. How do we now make these old apps give us desktop icons? Do we need to rework the old apps to make this work again? For that matter how do we make a Desktop icon?
I found something in a menu off the desktop that talks about creating a new icon but it does not work.
Some of these issues may be works in progress. In all I see some definite advantages in v4 DSL so far but its just understanding and getting a grip on it after using v2 and v3 DSL.
Posted by wavetel on Sep. 02 2007,13:22After bootup from CD and setting of the iwconfig card the IP address on the desktop does not update even after a Desktop update via the right click menu. It just says "Box" with no IP
Running a Terminal console up on the desktop requires that you keep the mouse over the window to keep the focus so you can actually type on the prompt. This seems a bit painful shifting the mouse after you run up a window. No idea what other have found but its not consistant with other situations Ive experienced.
Posted by kerry on Sep. 02 2007,13:37
the focus is in the jwmrc settings, you want to change it to click.
<!-- The focus model (sloppy or click) -->
Posted by Juanito on Sep. 02 2007,13:52
I believe the ip address is only shown for wired connections. If you would like to see the ip address for wireless, you would need to edit .torsmorc and change eth0 to wlan0 or similar.
Posted by roberts on Sep. 02 2007,18:46
Booting USB pendrives is still a moving target. Here are the reasons for the change:
1. Because of complaints that usb-zip installations windows could not see the 2nd remainaing partiton. Some users even thought their 2GB pendrive was ruined and somehow became a 50MB drive.
2. The syslinux and mtools were old versions and could not handle larger pendrives.
3. Newer versions of syslinux and mtoolsjust add bloat and still seem to fail at > 512MB
4. Some users prefer ext2 single partiton and then get the Windows ext2 support files.
Therefore the syslinux and mtools were removed. However, still wanting a pendrive installation option and wanting to overcome all of the above and use only that which remained in base DSL, led me to write a USB HDD Grub installation script. It has been tested on pendrives from 64MB to 2GB and booting on four different machines via the USB HDD BIOS settings.
Now the first partition is the remaining larger partition that Windows can use and the second smaller partition (~50MB) is for DSL and Grub files.
Is it a panacea? Likely not! What to do? See the newest extension that provides the latest syslinux and mtools. Read the Wiki on the syslinux approach, and finally Google approaches others use and have had success with.
There has been no change in this area. Saved in /usr/local/bin/exitcheck.sh and restored/loaded in .xinitrc/
Some? I could see all or none, but some? Can you provide a sequence that I can reproduce?
Posted by roberts on Sep. 02 2007,19:07
Emelfm is back and will be in RC3
I have been unable to reproduce. If you select "restart window manager" will it be corrected? Perhaps a timming issue.
Modules are only "insmod'ed" they don't have menu or icon elements.
Perhaps the confusion is that the .dsl is the "package" closed box icon, the .app is the "open box icon" indicating the application's shortcut to run this app. What is new is icons for mydsl extensions (packages) the closed box icon. All things relating to mydsl extensions are grouped together in the mydsl/ directory. It will likely be that the generic open box icon will be replaced with the actual icon of the application. This requires a batch processs to run on all mydsl extensions.
Sounds like a mix of 3.x with 4.0. Which would explain double menu items as well. You should test by using "base norestore". The menu element for both fluxbox and jwm are now includes.
Posted by jls legalize on Sep. 03 2007,01:00It would be good to include the filetool and xfiletool list of files/folders in the backup/restore window, giving the ability to the user to edit those lists.
The optionals that appears twice in the jwm menu are the .uci ones.
mplayer.uci does not work.
legalize cannabis, coke, opium
Posted by wavetel on Sep. 03 2007,08:27
Ok.. Ive had closer look at this.. I can repeat it on 3 different machines.. I boot from CD with no backups and no MyDsl exts either and it still has this issue.. Using the Restart window manager option does not help. I cant figure out how to get JWM back to normal operation after this little misfit it as.. Just recapping with some detail.
Run it up from CD with no backups and no boot options.
Opens as JWM. Right click on the desktop and you get a big Oval shaped ring with a menu that has DFM for X11 and Mount and Options amongst other menu options.
Try a Left click on the desktop and you get nothing.
Thats all fine.
Now switch to Fluxbox. To access the Fluxbox menu you have to Right click on the destop. Use this to switch back to JWM..
Back in JWM now do a Right click or Left click on the desktop and you get the Apps,MyDSL,System etc menu which looks and works the same as clicking the DSL button (bottom left) except its up on the desktop (right where you clicked) like the Fluxbox menu. No sign of the original Big Oval ring with the DFM for X11 Options etc menu.
I can repeat this time and time again. Using the restart window manager does not make it fix. Also Ive run it up from USB and have a backup.tar.gz on there. If I Backup and reboot the problem is not present. It goes away unless I run with Fluxbox again.
Hope this is of some use. frankly its a minor issue to me but it might be symptomatic of other WM issues that are worth knowing about.
Posted by wavetel on Sep. 03 2007,09:17
Ok I think Ive found something about the doubling up of the Icons in the MyDSL menu. Its not a mix of v3 and v4 DSL but some MyDSL apps actually create their own Icons on the desktop as previously noted. I noticed somebody else posted a note on this.
I created a new folder hda1/mydsl . I dont and have never done it like this before. Put in that folder 1 App. linpsk31.dsl . This app creates a Desktop icon if you load it under DSL v3 as well as a menu item in the MyDsl menu. I booted off CD with no other backups on the system to be found using the mydsl=hda1 option
On bootup click on the DSL button
What I got was 2 identical Open Box icons under v4RC2 in the MyDSL menu. Both of these Icons actually run the app fine.
Theory here is that because there is no longer a .xtdesktop folder as per DSL v3 then we get both Icons landing in the MyDsl Menu.
Checking in the MyDsl folder on the desktop and there is 1 only .dsl file in there with a Open box Icon that has bits of coloured stuff comming out of it. A bit different to the other Open Box Icon.
Posted by jls legalize on Sep. 03 2007,12:57Issuing the crecord -scanbus command as root I got this error:
cdrecord.mmap: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord.mmap: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord.mmap: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord.mmap: Also make sure that you have loaded the sg driver and the driver for
cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run IDE/ATAPI drives over
cdrecord.mmap: ide-scsi emulation. For more information, install the cdrtools-doc
cdrecord.mmap: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
legalize cannbais, coke, opium.
Posted by infinitycircuit on Sep. 03 2007,15:53Regarding the duplication of MyDSL menu icons: i believe this is a common problem if you use a persistent /home. Backing up regularly to a backup.tar.gz excludes the mydsl.menu in ~/.fluxbox, but using a persistent home will cause it to be loaded at every boot. Since MyDSL adds to the mydsl.menu by adding additional lines instead of by rewriting the file, this can cause the DSL entries to repeat themselves.
Regarding the USB scripts: I think the ability to change boot-time options needs to return. In particular, since it doesn't start up out of grub emulating a frugal install, the second partition of the flash drive is write-only, making it a pain to edit Grub and fix this problem. Similarly, the addition of 'noapm' seems sort of arbitrary - is there any special reason this checking is skipped?
As far as I know, the only way to actually see the second partition of the flash drive in Windows is by editing the registry to make it seem like a mass storage device instead of a removable disk. However, don't get me wrong - the two partition set up is invaluable.
Regarding torsmo and IP addresses: If you look in .torsmo_ip you will see that it is by default set to eth0. To make it more modular, you could pump the output of /proc/net/dev through an awk command, since the devices are listed in /proc/net/dev as eth. and wlan. with their addresses as well.
Posted by roberts on Sep. 03 2007,17:31@ jls legalize, cdrecord is fixed in rc3 to be available RSN.
Posted by meo on Sep. 03 2007,17:34Hello again Robert!
Thank's a lot for making a new bootfloppy.img and a pcmciafloppy.img. Now everything works nice with my remastered version of DSL 4.0 rc2 on a CF card in a pcmcia-adaptor. That's the way I like to use DSL. I have plenty of space on my Sandisk Extreme IV 8 GB CF-card with makes it possible to save projects and other interesting stuff on the same card as the OS I prefer. So, thank you again for your effort.
Have fun Y'all with DSL,
Posted by roberts on Sep. 03 2007,17:39
Good point. I should ask that the result of showbootcodes be posted as that would tell me what options, i.e. persistent, are being used.
Agreed! It is done and ready in rc3 to be available real soon.
Good suggestion, thanks. I have added it to rc3.
Posted by roberts on Sep. 03 2007,17:42Hi meo!
Thanks for the feedback. Always appreciated.
Posted by andrewb on Sep. 03 2007,23:17
Once you have returned to JWM right click on one of the icons on the desktop & the DFM menu wil appear. Under the DFM for X11 item you will see the item 'Desktop Context Menu' with a checkbox next to it. Click the checkbox to toggle it & the DFM menu should be back for the desktop right-click.
I have tried to emulate what happened with DSL running in the Innotek VirtualBox emulator on WinXp that I have available at the present & I don't get what you see (the DSl menu appearing for right-click in JWM after switching to & from Fluxbox). I need to use the DFM menu to turn on the applications menu in JWM.
Posted by jls legalize on Sep. 04 2007,01:49When I do a frugal install and I choose upgrade are u Robert sure that the linux24 and minirt24.gz are eventually upgraded?
Since I'm upgrading from previous 4.0 releases I had to remove the APPS dir in the desktop, cause the new one is called Apps.
Could it be possible to visualize the icon instead of the red X of the windows that are reduced to icons (only some use icons)?
legalize cannabis, coke, opium
Posted by roberts on Sep. 04 2007,03:08The second post in this thread explains upgrade procedure from RC1 and the files and directories that were changed. Which covers the APPPS to Apps change as the entire .dfmdesk/ directory was changed.
As I explained at the beginning of that post, I had made many changed throughout the system.
While in alpha and RC modes, many changes and default choices are likely to happen. Once 4.0 is released then things should settle down.
Frugal upgrade copies KNOPPIX, linux24 and minirt24.gz.
The bootloader and boot options are not changed.
Posted by roberts on Sep. 04 2007,04:10Moving on to RC3.
Thanks to all for very good feedback and suggestions.