Lucid Puppy Revitalized as 5.2.8.7 - Nov., 2017 - Final

A home for all kinds of Puppy related projects
Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

acpi_backlight=vendor causes freeze

#801 Post by sindi »

I had also added acpi_backlight=vendor, which caused the aforementioned problem. It is clearly not the fix for suspend-to-ram not unsuspending.

I discovered while trying to diagnose net-setup.sh that I had deleted /usr/share/locale/en (while deleting all the non-English directories) and left
en_US.

Network Wizard GUI now appears as expected. It asks if a wifi switch is off, I hit the wifi switch a few times, it scans and finds a few networks.
I choose my local network and it
'Failed to raise interface eth3'. ifconfig; SIOCSIFFLAGS: Unknown error 132.

I was the problem with Network Wizard not appearing. But Network Wizard did not work with this setup.

Frisbee (Restart Networks) found four networks and eventually connected to mine.

I then ran Network Wizard again and no longer have a connection. DHCP server timed out.

Frisbee worked properly again.

I ran Network Wizard again and it told me everything was successful but again I have no connection. ping 8.8.8.8 - nothing
Frisbee, Restart Networks, Refresh. Connected.

I ran pdiag after the Wizard failed most recently.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Dougal's Network Wizard not working in Precise 5.7.1

#802 Post by sindi »

In both Lucid and Precise puppy, Dougal's Network Wizard finds my card, I fill in the WEP password (10 numbers) and DHCP times out.
Frisbee works in both. The same happens on all our laptops.

I wonder if WEP is the problem.

HTML5 Youtube works quite badly in Precise. 127% of memory used and way out of sync and jerky.

Precise and Slacko use jwm by default. I would like it as a choice in Setup. My netbook mouse went dead this week. i\

Precise Puppy never manages to shut down (from the Shutdown menu). It needs work. Hurray for Lucid 2016!

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Lucid no USB flash drive boot in DELL B130

#803 Post by sindi »

A Lucid 2016 bootable USB flash drive that boots in my 2008 ACER netbook and in the 2004 ACER laptop gives me a 'no operating system' in a circa 2005 DELL
B130 laptop. Tahr boots from flashdrive in all of these. Why not Lucid and can I fix it? I had to boot to Tahr from flash drive to install Lucid from a
second flash drive, because the optical drive gives strange error messages (tells me to push it in further etc.) with a known good CD.
The DELL was working with another hard drive (clunky) but also no longer sees this one so it may be a goner but why can't it boot Lucid?

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Correction to previous posting

#804 Post by sindi »

Tahr only starts to boot from USB flash drive in the ACER netbook and gets stuck at syslinux. Lucid boots.
Obviously they are using different methods of booting.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

DELL B130 problems with lucid 2016

#805 Post by sindi »

Circa 2005 DELL B130 1.5GHz with 915GM video - I want to test xorg and suspend on here with lupu (from hard drive since usb flash boot fails).
Lucid (sda1) will not boot. Opposite problem on Acer netbook.

Came to us with no hard drive caddy and the one I improvised may have been hitting something it should not. Laptop now recognizes CD and IDE drives.

I booted with Tahr (sda) and ignored all the setup/welcome menus.

Copied lucid files to ext2 partition, made sda1 (FAT32, lba) bootable. I shrank it to 1GB and made a 3GB ext2 sda2.

grub4dos got stuck on "Installing Grub4DOS Please wait". Menu.lst was there. It will not boot lucid - no operating system.

I booted again to Tahr and this time hit Close or Quit to exit the Welcome and Setup menus in Tahr and grub4dos worked this time.

Lucid booted from hard drive without save file, and went directly to X without stopping to ask questions.

Ctrl-Alt-Backspace. xorgwizard. Probe, choose the only offered resolution, 1280x800, which works.

Rebooted with save files from ACER. Asks to Probe video, and again X works.


The Xorg problem is specific to the ACER laptop not the i915 video.

acpitool -s works. Hitting power button restores X.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Video mode default change to "1"

#806 Post by rerwin »

I am planning to change the default settings for kernel mode switching (KMS) for the i915, nouveau and radeon video drivers to conform to the defaults used in other puppies -- "1". Currently, the defaults are 0 for nouveau/nVidia and whatever the i915 (Intel) and radeon (AMD/ATI) devices default to ("-1"/vga console preference, whatever that means).

If you have any concerns about your video cards of those types, please try the package at:
http://www.murga-linux.com/puppy/viewto ... 428#939428

to see whether it makes things better or worse. I am uncomfortable just adding this change to the next release without some prior feedback on its effects.

If you find that your VGA device fails to get to the desktop, please try entering "modeset0" (then "xwin") outside of the X environment or after using pfix=nox at bootup. If you find any cases that require mode 0, please post the information and file produced by modeset0.

Details of the modeset0 script are here:
http://www.murga-linux.com/puppy/viewto ... 531#940531
Richard
Last edited by rerwin on Sun 19 Feb 2017, 23:20, edited 1 time in total.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Managing KMS mode with modeset0

#807 Post by rerwin »

Deleted, because it duplicated my posting on page 50, here:
http://www.murga-linux.com/puppy/viewto ... 531#940531

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Lucid 2016 on Thinkpad T23 late 2001

#808 Post by sindi »

Slacko57 did not work correctly but Pulp (4.1.2), Wary 5.5, Lucid 5.2.5 and now Lucid 2016 work well on this PIII from late 2001.
Probe video - I was asked to choose resolution (1024x768x16 works).

On this PIII laptop and on a P4 (ACER 4000 and/or DELL B130) Alsa Wizard does not play the Test Sound, but aplay /usr/share/audio/*wav does.
Alsa Wizard plays the test sound on DELL Inspiron 8100.

No built-in wifi. Added the Linksys b43 pcmcia card that worked before with Lupu.
Dougal's Network Wizard connects to my WEP network!
It did NOT in the two previous laptops - ACER and DELL B130 with intel video and sound.

acpitool -s suspends, power button wakes it back up.

I would be happy to help diagnose why Alsa Wizard and Dougal's Network Wizard only work on certain hardware.
(Along with suspend and the screwy ACER video - should I try that modeset package on it?).

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Sound problems with i810 sound

#809 Post by sindi »

The TP23 has the same intel sound as the ACER and DELL. Alsa Wizard test sound did not play, aplay worked, but smtube/mplayer no sound after which aplay
also no sound. I ran the full wizard and rebooted, still no sound. Similar problems on the DELL B130 - sound is frequently lost.

Sound has now stopped working in Wary Puppy too. Poweroff and on did not help Alsa Wizard to play a test sound, but aplay works again in Lucid 2016.
My notes say no sound in Slacko (and odd video).

With sound working, I tried smtube and discovered wifi no longer works - with Dougal's Wizard or Frisbee. Network is detected but DHCP fails.

wireless log says I need b43 firmware for the Linksys pcmcia card. I did not need it a few minutes ago or on the last laptop.

Belkin card works with Dougal's Wizard, at 12.3MBps download. In the ACER it ran about 629Kbps, repeatedly, and the Linksys B43 worked fine.

Are these problems (sound, network wizard and wifi cards acting differently in different computers) hardware conflicts?

The T23 has dead CMOS battery - I bypass the errors with ESC and leave BIOS defaults. (Fan error, etc.)

Walter Dnes
Posts: 153
Joined: Fri 30 Dec 2016, 10:56

#810 Post by Walter Dnes »

Re: no sound. I'm assuming that "alsamixer" exists in Puppy. In a terminal (e.g. xterm or roxterm or whatever) execute the command "alsamixer" to check whether or not sound is muted. The default on my Gentoo desktop is to mute on the first startup.

See the screen capture below. Your setup may have different items, but will be similar looking. Note the "MM" (muting set) under the "master" item. In the "alsamixer" program, use the left and right arrow keys to get under the item you wish to adjust. The up and down arrows raise/lower levels. Try to avoid red. Tap the "m" key to toggle muting on/off. Once you have the desired setting, tap the {ESCAPE} key to exit (YES!). To retain the settings after the next bootup, in the terminal AS ROOT execute the command...

Code: Select all

alsactl store
Attachments
alsa.png
(11.7 KiB) Downloaded 144 times

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

alsa mixer

#811 Post by sindi »

Thanks for the suggestions on sound. Lucid Puppy's sound setup includes a mixer (not
alsamixer) and I had already checked that sound was not muted. On some hardware with i810 it
is muted on first boot. As an experiment I muted and then unmuted everything - no help.
Hardware IRQ conflict?

I don't know why the same sound and network software acts so differently on different
hardware. And why a wifi card will work in one laptop and not another with the same OS, or
work at a different speed. Also IRQ conflict? I have cards that work in Wary Puppy but not
Lucid Puppy and vice versa, but that is a driver problem.

Pale Moon works perfectly on the Thinkpad T23 Pentium III. Except for (sometimes) no sound in
Youtube (HTML5) after sound worked with mplayer after not working with sound setup. I did not
try flash, since sound had by then stopped working with mplayer. Could HTML5 be messing up
ALSA?

It would be nice to get the sound setup second button working (test sound after adjusting
mixer).

I have given people laptops with bad floppy or CD-drives (set up from flash drive), USB ports,
trackpads (plug in a PS/2 mouse - serial port was also bad), bad or no internal wifi slots
(use pcmcia wifi or ethernet), bad keys (xvkbd). I don't have spare USB headphones so sound
has to work consistently.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

smtube does not work with vesa on Acer 4000

#812 Post by sindi »

The sound was not muted at any time - I checked with the Sound Setup program. Today it works on Acer and Thinkpad. Maybe it takes Sundays off.

Thinkpad T23 PIII

HTML5 or Flash 11 (SSE) use 95% of cpu including Pale Moon, plug-in and X. Very jerky and out of sync even at 240p. (SSE slower than SSE2?)
Smtube uses 35% of CPU.


Acer 4000 1.5GHz P4

Lucid 2016, vesa, smtube displays solid blue. Sound works. Frisbee works (onboard iwp2200).
While experimenting I accidentally clicked twice on a video link. The first copy displays blue and the second displays properly as does the third.
?????

Lucid 528-005, Xorg (1024x768). Smtube works.
Network Wizard does not connect via DHCP. Static setup works.
I tried to test Lucid 528-005 with vesa, but xorgwizard does not offer vesa as a choice.
/usr/bin/X is symlinked to Xorg. No vesa in /usr/bin.

Pale Moon Youtube with HTML5 uses 95% of CPU (including X) but looks and sounds fine.


Precise 5.7.1 (missing desktop icons, does not shut down automatically, frisbee and sound work).
Smtube works properly in vesa mode.

So something is peculiar to Lucid 2016 (or maybe all Lucids but earlier versions do not have vesa).

There are workarounds for everything except suspend to ram.
Precise does not suspend to RAM (or Slacko, or Tahr).

Walter Dnes
Posts: 153
Joined: Fri 30 Dec 2016, 10:56

Re: smtube does not work with vesa on Acer 4000

#813 Post by Walter Dnes »

sindi wrote:(SSE slower than SSE2?)
That's probably it. The SSE2 instruction set normally takes over floating point math from the older "387" instructions of the cpu. Video rendering requires a lot of floating point math, so that's where you'll notice it. That's also probably why Adobe went with the SSE2 requirement for Flash. Warning: using the old, pre-SSE2, Flash is a major security risk. I do not recommend doing it.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

flash and b43 with lucid 2016

#814 Post by sindi »

SSE1 flash works but not usably on my 2001 Pentium III DELL Inspiron 8100. I use Smtube instead.
Ethernet PCMCIA - no onboard ethernet and the wifi slot is dead.

I dragged out of the closet my 2002 DELL Inspiron 8100 Mobile Pentium 4. Blowfish tests the cpu at 47 as opposed to the 8100's 31 (where lower is better -
my best laptops are as low as 10). Wifi slot works. B43 mini-PCI card is identified and works properly with Tahr Puppy.
It is not even seen by Lucid 2016. (I have four more of these cards - this one came in the laptop.).
I was going to try Palemoon but the ethernet cable does not reach that far. (Crowded desk).

Tahr: Smtube on the P4-M uses 40% of CPU with VLC. I did not try with mplayer yet. Or Flash 24.
Lucid: Smtube on the PIII uses 57% of CPU with mplayer.

SSE2 is clearly more efficient.

The 8200 is ideal for Lucid apart from b43. 1600x1200 screen, displays framebuffer text perfectly (full screen in Tahr, smaller in Lucid at 1200x1024)

Richard - any chance of fixing b43 in Lucid? I used Frisbee since Network Wizard is unreliable. Network Wizard (large) found it in Tahr.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

SSE2 vs SSE1 with smtube and lupu

#815 Post by sindi »

Moved ethernet cable to P4-M DELL 8200 (and back, to report).
Smtube, 360p, Lucid 2016.

CPU blowfish

SSE1 PIII-M 57% 31 occasionally out of sync or jerky
SSE2 P4-M 46% 47 (50% worse)

GPU drawing test on the SSE2 P4-M 1731. Ten minutes to run. Won't try on the PIII-M.

Forgot to mention we replaced the 1.5GHz with a 2.4GHz cpu on the 8200.
CPU Speed went from 74 (terrible) to 47 (slow but usable).

GPU I think is a different component.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#816 Post by rerwin »

sindi,
Richard - any chance of fixing b43 in Lucid? I used Frisbee since Network Wizard is unreliable. Network Wizard (large) found it in Tahr.
I appreciate very much your testing and reporting on lupu 2016 and various old PCs. I have been researching things related to your findings but have not come up with any breakthroughs.

I would like us to focus on a few issues to resolve, but will need your assistance with diagnosing things. Could you choose and prioritize the most important things to fix? Then I can see which ones I can handle.

The alsa sound issues are of interest to me because I made significant changes between lupu-528-005 and lupuplus-528-005-1. Lupuplus-528-005-1 was the basis for 5.2.8.6 (and then 5.2.8.7).

I also worked with peebee on the Broadcom wifi support. I helped him with his "wl" proprietary driver and fine-tuned the b43 support.

Of course, my other pet project is frisbee. But I have looked at network wizard as part of frisbee development (from Jemimah's original Frisbee).

In these areas, I am expecting we will need to get (set -x) traces and pdiag files to see what is going wrong. That could get tedious. But if you are up for that, I am willing to see what I can fix -- or at least understand why we cannot fit something.
Richard

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

fixing networking/b43/Xorg/acpi/sound in Lupu 2016

#817 Post by sindi »

I will gladly test anything you ask me to.
Is it worth testing 400MHz Thinkpads with 256MB and 288MB RAM?
I have two PIs and some PIIs (233 233 233 266 400 400MHz) and three working PIIIs.

A Toshiba 500MHz PIII with 320MB with S3 Savage works with XF86 video and OSS sound in an older linux but not Xorg (displays vertical green stripes) or
vesa (exits the wizard). Toshiba offers linux video and alsa sound driver source code for it.

I have another 30+ laptops with 512MB RAM to test on. I looked up original prices and they total about $50,000 (might fetch 1% of that now).

Most from 2000-2008. I gave away lots more with Puppy Linux on them. They keep coming.

P4 including dual and three quad-core:

Thinkpad 23 (PIII), T60 (two), Z61P (and W500 which needs a keyboard)
Dell Inspiron 8200 8500 (two) 5100 5150 (two) B130 E1505 E1405 1545 N5510
HP 4200? (two), zv5000, dv4000, dv9700; Compaq R3000, CQ50
Toshiba M35-S359, A505-XXXX, P845-S4200
Acer Travelmate 4100 (the acpi and Xorg problem)
SONY GRX-670
Gateway ARC-200
Asus U5F

ATOM: Samsung, HP, Acer, Toshiba

Would you like a list of cpus and video chips in these? I don't have the time for a few days.

I have lots of mini-PCI (mostly b43 and orinoco) and newer wifi cards (internal and pcmcia including 16-bit).

Please start with networking - Network Wizard, Frisbee, b43 and orinoco. They work in other Puppies.
Then sound - at least getting Alsa Wizard button to play a sound on all hardware.
The Acer has its own specific video and suspend problems and is not important.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#818 Post by rerwin »

sindi,
Wow! What an inventory! Thanks for being willing to work with me on them.

I have a 1999 ThinkPad 1720 (PII, 256M, 266 MHz, 4GB HD) that runs lupu and sulu2, but too slowly to be comfortable to use for real work. So, I would rule out anything below a PIII and 320MB -- and maybe (arbitrarily) 1 GHz. We probably should work on the newest and most desirable units (the P4s?) first, then go down from there.

For networking, let's aim to get at least one of the network managers to work for each unit, rather than trying to make all of them work. My preference is to make frisbee work for all. We might start with the problems regarding the most of your units, to get the most benefit from our efforts.

Let's limit the scope to, say, 3 cases at a time. What are the networking problems with the P4s? (Please include at least one single-core unit, in case there are problems with multiprocessor interactions.) For each unique case, please run them until you see the problem, then get a pdiag file and PM it to me (or post them if you want others to look at them). For the best hardware results, we should use sulu2 or sulu4 for the P4s, and maybe as the first choice for the others until we find an obstacle. (Sulu2 has the best mix of capabilities - dial-up modems, xz-compressed SFS file support and somewhat newer drivers.)

We probably should work the cases via PM to avoid "swamping" this thread with details. I am eager to get started, whenever you get the time.
Richard

EDIT:
Focusing on Network Wizard, Frisbee, b43 and orinoco -- to summarize:
Establish a test setup with the basic lupu 5287 for each item, using newest PC having a problem with that item or combination of items. Get a preliminary pdiag for each setup after the problem becomes apparent.

If you have time for only one case, let's work on the b43 where it doesn't work with frisbee or, if none, netwiz.
R

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#819 Post by rerwin »

With my test PC's b43 pcmcia interface I have been working on cleanup of the reboot process related to the network wizard and frisbee, when no default connection type is specified. Without the fix, rebooting would use the SNS initial action if an SNS connection had ever been created, even though netwiz or frisbee were the last network manager to be used. That might explain some of the reboot problems sindi and others have seen with network connections. The attached package corrects it.

sindi,
The package also contains a debug version of the wizard (named net-setup-debug.sh) for catching the reason for netwiz's failure to start in some of your cases. Run it in a console to see its trace up to the point where the line 13 syntax error appears. To capture the output in a file, enter:

net-setup-debug.sh 2> /tmp/debug.log

You can attach that file to a posting or PM, or it will be included in a pdiag file if you make one. Run this only for cases where the failure to start occurs, because it will log much more when netwiz runs normally.
Attachments
network_reboot_fix-lucid-20170228.pet
Fix for rebooting of network set up by network wizard or frisbee.
For Lucid pups only.
(29.38 KiB) Downloaded 132 times

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#820 Post by Sailor Enceladus »

I tried lupusuper4 (the one with kernel 3.9.9) on my 2005 Dell Latitude laptop. It did not boot to x, so I added "pfix=nox" to my menu.lst, then managed to type:

Code: Select all

cd /usr/sbin
./xorgwizard.sh
Both options 1024x768x16 and 1024x768x24 froze on a black screen, so I tried the "vesa" on the bottom right and that worked, and I'm writing this from inside Opera 11.61 now (tried Firefox 24 first but that link seems dead). Interesting oldschool remake. :)

Post Reply