You are not logged in.
Can you help me to find the link to the package? You know, I cannot download the package in SliTaz. 
Is it this one? http://mirror.slitaz.org/packages/cooking/strace-4.5.20.tazpkg
Offline
Yes, this one.
Sorry. You can use pkgs.slitaz.org from your machine with internet connection to search and manually download packages.
As for example, I searching package "strace" in the "cooking" repository:
http://pkgs.slitaz.org/search.sh?package=strace
Now click on the "strace" link to download the package.
Offline
[c]execve("/sbin/modprobe", ["modprobe", "rt2800pci"], [/* 25 vars */]) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/tls/i686/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/tls/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/i686/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/lib/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/i686/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/liblzma.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xbff40cbc) = -1 ENOENT (No such file or directory)
open("/usr/lib/liblzma.so.5", O_RDONLY) = 3
open("/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/lib/librt.so.1", O_RDONLY) = 3
stat64("/etc/modprobe.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
stat64("/run/modprobe.d", 0xbff3eec4) = -1 ENOENT (No such file or directory)
stat64("/lib/modprobe.d", 0xbff3eec4) = -1 ENOENT (No such file or directory)
open("/etc/modprobe.d/blacklist.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/proc/cmdline", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/lib/modules/3.2.71-slitaz/modules.dep.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/lib/modules/3.2.71-slitaz/modules.alias.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/lib/modules/3.2.71-slitaz/modules.symbols.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/lib/modules/3.2.71-slitaz/modules.builtin.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/sys/module/rt2800pci/initstate", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/sys/module/rt2800pci", 0xbff3feb0) = -1 ENOENT (No such file or directory)[/c]
Looks not nice...
Offline
Eugen-b,
Sorry, your log looks incomplete. I can't see here that "FATAL" error.
Other small "infatal errors" I see in the my strace log while modprobe gives no errors.
I think you can try "insmod" command? I have no skills in Kernel, sorry
And "insmod" requires parameter - full path to the kernel module:
[c]insmod /lib/modules/ . . . ko.xz[/c]
http://linux.die.net/man/8/insmod
PS. If log is complete, can you re-try and to make other huge log with the same command but with "trace=all" instead of "trace=file", then paste log content on the http://paste.slitaz.org/ and publish link here.
Maybe Mojo have an ideas?
Offline
Stop!
Less mad idea :]
Do you have package "firmware-rt2x00" installed?
Seems it's the clue. Because "rt2800pci.ko.xz" module uses "rt2860.bin" firmware:
[c]modinfo rt2800pci[/c]
And this firmware file we can find only in the "firmware-rt2x00" package:
[c]tazpkg search-file rt2860.bin[/c]
Offline
Ok, first I give the longed output of strace. Here is the paste:
http://paste.slitaz.org/?2237144d6d631a6d#cVHUaGYf5RtjUVtZXQX+EOSu7TWWplVtTOurLd7qae0=
Mojo told me to force install firmware-rt2x00 and I did it, but the rt2860.bin was there before. I know this file well, because I always need to copy it to a Debian live version so I can get wireless.
tazpkg search-file rt2860.bin
creates no wonders, the file is there where I always can find it if it is there 
/lib/firmware/rt2860.bin
and it was there all the time...
adn it is from the package firmware-rt2x00 the output sais.
You can suggest other experiments, I can afford to break the install of SliTaz. Even if the CF card breaks it would be not a disaster. 
Try insmod command? I know where the module file is.
Offline
I just experimented. I removed the file /lib/firmware/rt2860.bin
Now:
[c]# modprobe rt2860pci
modprobe: FATAL: Module rt2860pci not found.[/c]
Really I not touching the module. The module is in it's place, and error message like yours! Something like incorrect error message 
Please wait me while I'm reading your log.
Offline
Ok, meanwhile I compare the rt2860.bin files on my systems.
md5sum of the file on a working system is equal to that on SliTaz.
Offline
By the way, I checked "depends:" line in the "modinfo rt2800pci" output (using "tazpkg search-file ...) and ended with only "linux" and "linux-wireless" packages that you already have.
Offline
And I have already checked the depends of the depends and I have them, too.
Offline
Ok. I've got "mine.strace" and saved your log as "yours.strace", then use "diff"...
Numbers are different (I not upgraded my packages to the latest builds, but I have latest versions).
I have no file /etc/modprobe.d/blacklist.conf
My file /lib/modules/3.2.71-slitaz/modules.builtin.bin is zero size, yours - 9794 bytes.
After reading this file my log continues, but your log ends.
Try to copy this file to the safe place, then clean the original and re-try modprobe:
[c]# cp -a /lib/modules/3.2.71-slitaz/modules.builtin.bin /
# echo -n > /lib/modules/3.2.71-slitaz/modules.builtin.bin[/c]
Later, to restore file:
[c]# cp -fa /modules.builtin.bin /lib/modules/3.2.71-slitaz/[/c]
Offline
blacklist.conf I did myself to avoid booting into black screen and beeping PC sounds.
modules.builtin.bin may be is not empty, because I have a different ISO, I have slitaz-rolling.iso and you have slitaz-rolling-core.iso, but I see what you are pointing at. I'll do it.
Offline
Here it is, same result. Sorry, that it took so long, having trouble with mounting USB so thath the file can be read.
http://paste.slitaz.org/?ebfe1bf974ab4b7e#CEjvGez0bJkDDuKlz7EnuInBxdGI/KoGAnZ3M/q7DGY=
But if you cannot help me now, no problem! Tomorrow is another day.
Na dobranich! Dyakuyu za dopomogu!
Offline
I'm here. Sad, but most of all I'll not help you tomorrow, I'll at work until night.
I diff'ed new strace log.
Now I take a look at the file sizes. I think you have extremely small:
/lib/modules/3.2.71-slitaz/modules.dep.bin
/lib/modules/3.2.71-slitaz/modules.alias.bin
/lib/modules/3.2.71-slitaz/modules.symbols.bin
Are they really 12 Bytes each?
Know what I think?
There [c]depmod[/c] command regenerates almost all files in the [c]/lib/modules/3.2.71-slitaz[/c] (all but [c]modules.builtin[/c] and [c]modules.order[/c]). And maybe this [c]depmod[/c] is broken. What is alternative?
[c]$ tazpkg -sp /sbin/depmod
Search result for package "/sbin/depmod"
===============================================================================
busybox
depmod
kmod
===============================================================================
3 packages[/c]
What is my [c]depmod[/c]?
[c]$ ls -l /sbin/depmod
lrwxrwxrwx 1 root root 4 Авг 26 16:45 /sbin/depmod -> kmod
$ tazpkg -sp /sbin/kmod
Search result for package "/sbin/kmod"
===============================================================================
kmod
===============================================================================
1 package[/c]
Try the alternatives. I not sure the [c]kmod[/c] package will work for you, but try!
Why I unsure? Now I checked for updates, I should upgrade 718 of 772 (or 738?) installed packages. OMG! Are they so much?
I may break my installation during upgrade, and it will not work like yours. I not using fresh Rolling ISO, my SliTaz is regularly upgraded 2 years old installation.
Try the alternative, then check file sizes:
[c]$ ls -l /lib/modules/3.2.71-slitaz/[/c]
Write and compare the results.
Good luck and have a nice day!
Offline
Hi,
the files
/lib/modules/3.2.71-slitaz/modules.dep.bin
/lib/modules/3.2.71-slitaz/modules.alias.bin
/lib/modules/3.2.71-slitaz/modules.symbols.bin
are 12 Bytes each.
I tried your commands
$ tazpkg -sp /sbin/depmod
same as yours
$ ls -l /sbin/depmod
same or similar, but no " -> kmod"
$ tazpkg -sp /sbin/kmod
same
"Try the alternative": I tried the commands with kmod which I tried with depmod, but syntax is not the same. When I try kmod depmod ... or kmod modprobe ... I get invalid command depmod or modprobe. A strange thing comes out when I issue
#kmod list
then I get an empty "table" with headers only.
Offline
The system that loads kernel modules on your install is broken.
How did you install frugal (tazusb writefs for persistence) or full?
Offline
Hi mojo!
I installed full on a separate partition on a CF card, formatted ext4.
Offline
Check the filesystem on the slitaz install partition.
You can either boot into another linux on the same machine or use a live cd or usb.
The slitaz partition un-mounted.
[c]e2fsck -f -C 0 /dev/XXXX[/c]
The 0 is a zero,replace the XXXX with the correct slitaz partition designation using [c]blkid[/c] or [c]fdisk -l[/c] to identify.
Offline
[c]eugen@mx14:~
$ sudo LC_ALL=C e2fsck -f -C 0 /dev/sdb2
e2fsck 1.42.5 (29-Jul-2012)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (142003, counted=141977).
Fix<y>? no
Free inodes count wrong (41658, counted=41659).
Fix<y>? no
SliTaz: 9638/51296 files (0.2% non-contiguous), 62797/204800 blocks[/c]
Schould I try to let the program fix my partition?
Offline
Try to fix the filesystem.
Offline
[c]$ sudo LC_ALL=C e2fsck -f -C 0 /dev/sdb2
[sudo] password for eugen:
e2fsck 1.42.5 (29-Jul-2012)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (142003, counted=141977).
Fix<y>? yes
Free inodes count wrong (41658, counted=41659).
Fix<y>? yes
SliTaz: ***** FILE SYSTEM WAS MODIFIED *****
SliTaz: 9637/51296 files (0.2% non-contiguous), 62823/204800 blocks[/c]
let's reboot
Offline
reboot was ok, but what to do now about wireless?
[c]modprobe rt2800pci[/c] still doesn't work
It would be ok for me to reinstall with a new ISO.
Offline
If the filesystem has to be modified then the flash card is failing.
Re-install or trying to fix slitaz when it's installed on failing flash or hard drive is a waste of time.
Offline
Then sorry for wasting your time, guys! And thanks for helping. I'll try to install SliTaz on a better medium.
Offline
Now that we know the medium is failing it would be a waste of time in the future to attempt to fix it or re-install slitaz on the failing flash.
The time spent has not been a complete waste
Someone may do a google search and find some info in this thread that will help them fix their problem.
Offline
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]