Page 2 of 40

System commands not found & wrong modprobe version used

Posted: Mon 27 Aug 2012, 00:04
by rerwin
pemasu,
Peebee asked me for ideas on why the Broadcom wifi drivers are not working. I booted up wheezy myself to see what is happening.

1. I see some error messages implying that a default path is not set during some part of initialization and shutdown. I have no ideas about that.

2. The puppy module loader is not working. It uses 'modprobe' extensively. Puppies use the full version of modprobe, but also have a link named modprobe-BB-NOTUSED. Wheezy's 'modprobe' is a link to busybox, the same as modprobe-BB-NOTUSED in other puppies! There is no "modprobe-FULL", meaning that the modprobe being used is different from other puppies. Did the real modprobe get overlaid by the modprobe softlink during the merge of woof into wheezy? Or does something need to be built/configured differently? Anyway, the busybox modprobe is not sufficient for operation.

I hope this provides a clue for you.
Richard

Posted: Mon 27 Aug 2012, 01:55
by 01micko
@rerwin and pemasu

I bet this is due to the new multicall binary "kmod', which replaces modules-init-tools. I had nightmares with that stuff in both a wheezy raspberry pi build and the latest slacko alpha. In the armel-wheezy repos modules-init-tools is a dummy package, it is actually empty. They call it a "transitional" package ..[ :? ]

IIRC you have to hack the template for modules-init-tools a bit and pry in kmod. Worked ok for me. Alternatively, I think just using kmod will be fine without a template, as long as you check what deps it requires.

HTH

Posted: Mon 27 Aug 2012, 05:07
by pemasu
01micko and rerwin. Great ! Now I have a road to go. Thanks !!!

icons missing ...under nouveau video driver running

Posted: Mon 27 Aug 2012, 06:04
by charlie6
Hi,
here on compaq evo510 + nvidia NV11DDR (GeForce2 MX200) + nouveau driver (xorgwizard default choice upon bootup),
icons are missing, or uncomplete displayed, excepted if mouse curso positionned on it;
same thing here on firefox/murga-linux forum:the icon «Post reply» is not visible as long as the mouse cursor is not positioned on it.
Is this an issue particular to nouveau.ko driver?
See attachment

I could not select another video driver:
nv driver not present
vesa: have selected it in xorgwizad; but cannot get it to work that way.

Posted: Mon 27 Aug 2012, 13:39
by pemasu
Charlie6. I do not have that problem with intel driver.
http://packages.qa.debian.org/x/xserver ... eo-nv.html
http://bugs.debian.org/cgi-bin/pkgrepor ... g-video-nv

It seems that xserver-xorg-video-nv is not yet in packages database. I hope it will be added, but...i386 version is not even in sid ie testing platform...so I dont know what is the status of that nv_drv.so.
I will follow the development though.

You could try getnvidia pet and compile nvidia driver if you are adventurous. Or...was that the one which needed the older nvidia version...which is not supported with these newer kernels ?

You could try in console: nouveau_unload which blacklists the nouveau kernel module. Then reboot and try xorgwizard again. It might be good idea to install this attached zzkmod pet first. It will be needed.

EDIT: found this post today from precise puppy thread:
After much experimentation, I found a simple solution. In
Code:
/etc/modprobe.d/nouveau.conf
change options nouveau modeset=1 to options nouveau modeset=0.
Beta 3 will now boot into with vesa and the menus are just fine


nouveau_unload script do this and blacklists the nouveau kernel module also.

I have created now the zzkmod-0.0.1 pet which I thought to use. I suppose this one is the missing step for getting module probing and loading to work.

Posted: Mon 27 Aug 2012, 15:39
by Jim1911
Looking good. Booted fine and basic applications all appear to work (including HP printer installation) as well as all of radky's fine applications.

Problems discovered.
1. getnvidia.pet appears to work fine, however, choosing the driver and typing xwin does not get a desktop, same with probe. Had to go back and create a new save file using the nouveau driver. I was also unable to install the new NVIDIA driver manually.:(
2. Your Bibletime works, however only when executing from a terminal. For some reason clicking on /usr/bin/bibletime does nothing. There were no error messages when executing from a terminal. I had this identical problem with your Bibletime installed on Precise b3.

I'm sure that you will have this at the quality of Dpup Exprimo 5.X.15 soon, which IMO is the best pup ever.

Cheers,
Jim :D

nouveau.ko driver

Posted: Mon 27 Aug 2012, 17:44
by charlie6
Hi Pemasu,
thanks for replying !
pemasu wrote:Charlie6...You could try getnvidia pet and compile nvidia driver if you are adventurous. Or...was that the one which needed the older nvidia version...which is not supported with these newer kernels ?
..yes, it is! :oops: :)
pemasu wrote:...It might be good idea to install this attached zzkmod pet first. It will be needed...
i got zzkmod pet installed and rebooted ...nope ...==> « no (longer) video signal ! » reported on the LCD display... :shock:
So i prefer to stay whit what's working for now...
Cheers, Charlie

Posted: Mon 27 Aug 2012, 18:11
by pemasu
Charlie6. Yep. zzkmod-0.0.1 pet is not enough. It will need some system script modification, I am afraid. I am tracking them atm.

Got to Desktop, but that's about it

Posted: Mon 27 Aug 2012, 18:43
by mikeslr
Hi pemasu & all,

My specs:
Processor: 4x AMD Phenom(tm) II X4 945 Processor
Memory: 3375MB
ATI Radeon 3100 Graphics supporting 1600x900 pixels
RaLink RT2561/RT61 802.11g PCI
SB [HDA ATI SB], device 0: VT1708B Analog
SB {HDA ATI SB], device 1: VT1708B Digital

Booted to desktop @ 1054 x something using "Ati Vesa." Initiating xorgwizard and selecting either probe or choose apparently did not accomplish anything as later typing xwin did not bring up a desktop of any sort. Additionally, xorgwizard ran very slow.
Rebooted, left desktop with its default and tried to set up wireless. Neither Douglas or SNS recognized an interface. Oddly, checking Auto DHCP reported "success" but scanning for a network again reported absence of an interface.
Installed Frisbee from Exprimo but didn't run.

Didn't test sound.

Will await further developments.

mikesLr

Posted: Mon 27 Aug 2012, 19:24
by pemasu
I have created now build which seems to probe modules right for me. It can be that there is still need for system script modifications.
/etc/rc.d/sysinit script needed change. Call for busybox modprobe change to depmod. It can be that there is still somewhere samekind script modification needs.
All this is because this new kmod multicall binary which handles now modprobe, rmmod, lsmod etc..kernel module driver handling.

Posted: Mon 27 Aug 2012, 19:46
by peebee
pemasu wrote:I have created now build which seems to probe modules right for me. ..... All this is because this new kmod multicall binary which handles now modprobe, rmmod, lsmod etc..kernel module driver handling.
Hi pemasu

Success reports:

Loaded your zzmod pet - after reboot the b43 driver was loaded and the firmware found and installed.

Loaded the attached backend_modprobe_fix pet pm'd to me by rerwin, blacklisted b43 - rebooted - wl was loaded.
rerwin wrote:But one thing we ran into with 01micko's (I think) effort with newer kernels -- or udev -- was that blacklisting no longer worked for puppy. I provided a fixed backend_modprobe which solved that problem. Please try the attached package to see if blacklisting is causing the problem.
Cheers
peebee

Posted: Mon 27 Aug 2012, 19:57
by pemasu
Peebee....and rerwin. Thanks for the script. I will test it also.

Posted: Mon 27 Aug 2012, 20:04
by peebee
pemasu wrote:Peebee....and rerwin. Thanks for the script. I will test it also.
Started again with a clean savefile, loaded both pets, rebooted and wl driver loaded and working as it should be.

Has also got rid of the usb 1 to 10 count on bootup.

Still getting inode errors on shutdown.

Cheers
peebee

Posted: Mon 27 Aug 2012, 21:28
by radky
1 - Zfind demonstrates high CPU usage and becomes unresponsive when searching in root ("/") -- must be killed.

2 - Geany 0.12 is very old (from 2007).

3 - /usr/local/jwmconfig2/panel-buttons is the old 'buggy' version, rather the updated version in Exprimo.

4 - /usr/local/jwmconfig2/theme_switcher is the old 'restricted' version, rather than the updated 'scrolling' version in Exprimo.

Got internet, still no support to Ati-Radeo 3100 Graphics

Posted: Tue 28 Aug 2012, 00:13
by mikeslr
Hi pemasu & all,

My specs:
Processor: 4x AMD Phenom(tm) II X4 945 Processor
Memory: 3375MB (268MB used)
ATI Radeon 3100 Graphics supporting 1600x900 pixels
RaLink RT2561/RT61 802.11g PCI
SB [HDA ATI SB], device 0: VT1708B Analog
SB {HDA ATI SB], device 1: VT1708B Digital

Installed zzkmod-0.0.1 and peebee_backend_modprobe_fix-1.pet, rebooted --was necessary-- and got web using SNS. Following your advice to Stu91, used ppm search on radeon. Installed one, but perhaps not the right one. Graphics are now @ 1024x768. Installed most of my "usual" apps. No version of xvidcap worked. Anyway, progress.

mikesLr

Posted: Tue 28 Aug 2012, 14:08
by pemasu
Thanks Radky. I know. Part of the apps are really old. I found the bug in the DISTRO_PET_REPOS file. Fixed now.
It should pick now newer and more recent versions.
But the core system functions is the main aim still. Of course I will fix the application bugs, version things when someone posts the findings.
So....thanks Radky.

I havent started to fix the missing icons yet.

Posted: Tue 28 Aug 2012, 14:32
by majorfoo
Booted from live cd

Sound - ok
Internet connection did not auto connect

Desktop has icon for Abiword and Gnumeric - When click on these - nothing happens

Hp Pent 4, 2.8 ghz cpu
Intel graphics
2gb memory

mesa on CompaqEvo510 + nvidiaNV11DDR MX200

Posted: Tue 28 Aug 2012, 15:46
by charlie6
Hi Pemasu,
now running wheezy 3.5.2.1:
bootup with pfix=nox and afterwards doing #xwin when prompted:
result 1 = default video driver is nouveau;
result 2 = jwmrc menu icons are displayed; but on murga-linux forum, «new topic» and «post reply» thumbnails get displayed only if the mouse cursor hovers over it.
result 3 = tested gCAD3D 1.82 + libgtkgl2.0-1_2.0.1-1_i386.deb (squeeze) + libglapi-mesa_8.0.4-1_i386.deb (wheezy) + libxcb-glx0_1.8.1-1_i386.deb (wheezy) + libjpeg-turbo-1.2.0-i686.pet: works OK + rendering of jpeg images is OK (see attached gcad3d_start_file.jpg image);
result 4 = watch on line to a video on you tube: images are «jerky» ( = discontinuous) but sound is OK; (after having installed adobe flash player from Menu/Internet/GetFlash)
result 5 = assuming the video performance needed to be improved, have found
http://distro.ibiblio.org/quirky/pet_pa ... 0.3-up.pet
and installed - it has /usr/lib/dri/nouveau_dri.so for k3.2.13 - as i cannot compile it for 3.5.2 ... :cry: I assumed k3.2.13 is close to k3.5.2 ... :oops: ; restarted X after installation;
==> you tube video performance is dramaticaly improved : image is far more continuous;
==> gCAD3D still works but has lost the jpeg rendering (see attchment); moreover no more axis labels displayed (shadowed rectangular flags instead ).
result
result 6 = glxgears does not display the red+green+blue animated gear wheels; it display a black square dialog box instead; in the urxvt console, glxgears reports about 1400 frames in 5 seconds (600 frames in 5 seconds without z_mesa-8.0.3-up.pet ).

So I believe an equivalent z_mesa-xxx.pet compiled against k3.5.2 would be nice to have... :roll:

hope this helps

Posted: Tue 28 Aug 2012, 15:49
by LateAdopter
Hello Pemasu

I'm no expert, but...

I think the confusion over Radeon KMS arises because it has to be enabled in two places, in the kernel.

It has to be enabled in the radeon kernel module and can be done with radeon.modeset=1 on the kernel line.

Radeon KMS also has to be enabled in the DRM kernel module when the kernel is compiled since there is no DRM command to do it later.

If KMS is enabled in DRM but disabled in radeon it is not fatal but the radeon r600g driver will not do DRI on recent cards and falls back to a VESA like mode.

If KMS is enabled in radeon but disabled in DRM it is fatal.
Radeon loads DRI2 and DRM loads DRI and you get a version mismatch error when they meet.
Xorg exits leaving you with no display or keyboard.

Posted: Tue 28 Aug 2012, 17:32
by pemasu
Charlie6. I am gonna upload next test build very soon.
And....why dont you install libgl1-mesa-dri using PPM ? It contains dri drivers.
It has dri for nouveau: nouveau_dri.so.
Libgl1-mesa-dri is huge package. Uncompressed 56 Mb. It is not my intent to include it at this stage.
I will create xorg-high.sfs for it when this build is at the stage I will create a repo for it. But not yet.