Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: DanielH on March 20, 2013, 08:25:02 PM
-
Hello!!
I've installed TCL on a Pentium MMX 200 MHz, 64 MB RAM, 4 GB HDD (sda1: 3.34 GB, TCL; sda2: 792 MB, swap).
I've installed kmaps.tcz, cups.tcz and OSS.tcz as onboot items, together with X base apps (not WBar).
I've all the fltk based apps, plus a long list of .scm and .tcz apps as ondemand items.
But Sound does not work...
The first sound card I've tried to use was a SoundBlaster AWE64, ISA socket.
The second card was an ASOUND GOLD 3D-PNP ALS100 Plus, ISA socket too.
Neither soundcards works under OSS...
Can you help me?
BTW: I apologize for my bad english, I'm argentinian and speak spanish...
System Stats > Modules
acpi_cpufreq 12288 0 - Live 0xc48e8000
mperf 12288 1 acpi_cpufreq, Live 0xc48e4000
cpufreq_userspace 12288 0 - Live 0xc4834000
cpufreq_powersave 12288 0 - Live 0xc482d000
cpufreq_stats 12288 0 - Live 0xc48dc000
cpufreq_conservative 12288 0 - Live 0xc48d8000
osscore 503808 1 - Loading 0xc4961000
squashfs 24576 12 - Live 0xc4841000
3c59x 28672 0 - Live 0xc4839000
pcspkr 12288 0 - Live 0xc4827000
scsi_wait_scan 12288 0 - Live 0xc481a000
loop 16384 24 - Live 0xc481e000
What osscore 503808 1 - Loading 0xc4961000 means? Loading is still in process and not completed?
Triyng to use OSS apps:
tc@box:~$ ossinfo
No /dev/mixer device available in your system.
Perhaps Open Sound System is not installed or running.
tc@box:~$ osstest
/dev/mixer: No such file or directory
tc@box:~$ sudo soundon
Previous start of OSS crashed the system
Please resolve the situation and remove file
"/usr/lib/oss/starting". Then start OSS by
running soundon again.
tc@box:~$ sudo soundoff
OSS not loaded.
tc@box:~$ sudo rm /usr/lib/oss/starting
tc@box:~$ tce-run OSS.tcz
tc@box:~$ ossinfo
No /dev/mixer device available in your system.
Perhaps Open Sound System is not installed or running.
tc@box:~$ sudo tce-run OSS.tcz
tc@box:~$ ossinfo
No /dev/mixer device available in your system.
Perhaps Open Sound System is not installed or running.
tc@box:~$ sudo soundon
...nothing happens...
Please, see * below dmesg's end.
.............................
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
invalid opcode: 0000 [#1] SMP
Modules linked in: osscore(+) squashfs 3c59x pcspkr scsi_wait_scan loop
Pid: 1574, comm: modprobe Not tainted 3.0.21-tinycore #3021
EIP: 0060:[<c4962de0>] EFLAGS: 00010246 CPU: 0
EAX: 00000000 EBX: c4818008 ECX: c4818083 EDX: c49ce4c5
ESI: 00000000 EDI: 00000000 EBP: c1daff04 ESP: c1dafebc
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modprobe (pid: 1574, ti=c1dae000 task=c26a1c20 task.ti=c1dae000)
Stack:
c4818024 c49ce7d3 c49ce4be 00000000 c1daff24 00000000 00000000 00000000
00000001 0000268b 00000000 00000000 00000000 c3406740 00000000 c49d3808
00000000 00000000 c4961b84 c4961b96 c49ce4be 00000000 c010115c 00000000
Call Trace:
[<c4961b84>] ? 0xc4961b84
[<c4961b96>] ? 0xc4961b96
[<c010115c>] ? 0xc010115c
[<c0150105>] ? 0xc0150105
[<c0416aa5>] ? 0xc0416aa5
Code: 8f fb 8b 45 d0 8b 55 08 89 73 0c c7 43 08 01 00 00 00 89 43 10 8d 43 74 c7 43 68 ff ff ff ff e8 d2 e2 ff ff a1 00 9b 9d c4 85 ff <0f> 44 7d 08 83 f8 1f 0f 8f b3 00 00 00 89 03 89 1c 85 20 9b 9d
EIP: [<c4962de0>] SS:ESP 0068:c1dafebc
---[ end trace 721fa214b4aac359 ]---
eth0: setting full-duplex.
End of dmesg at boot
.............................................
*This is the new end of dmesg when I try to run OSS manually:
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_register_device (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_mutex_cleanup (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_hz (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_mutex_init (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_global_memblk (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_unregister_device (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_spin_unlock_irqrestore (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_memset (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_ext_set_enum (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_strlen (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_find_ext (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_disable_device (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol detect_trace (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol midi_devs (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_contig_free (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol osdev_create_201202181035 (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol __umoddi3 (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_spin_lock_irqsave (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_request_major (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_install_mixer (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_memcpy (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_ext_set_strings (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_kmem_free (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol audio_engines (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol load_mixer_volumes (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol touch_mixer (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol midiparser_input (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_strcmp (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_ext_set_init_fn (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_audio_inc_byte_counter (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_ext_create_group (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol midiparser_create (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_audio_delayed_attach (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_contig_malloc (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol midiparser_unalloc (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_devs (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_install_mididev (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_memblk_malloc (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol osdev_set_owner (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_install_audiodev (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol mixer_ext_create_control (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_unregister_module (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol osdev_delete (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_pmalloc (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol num_audio_engines (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol osdev_set_major (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_register_module (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_strncpy (err -16)
oss_usb: gave up waiting for init of module osscore.
oss_usb: Unknown symbol oss_kmem_alloc (err -16)
......................
Uninstalling OSS.tcz and then installing alsa.tcz as onboot item: ALSA isn't a good choice...
During boot, system run out of ram...
End of my dmesg installing alsa.tcz as onboot item:
.............................................
depmod invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0, oom_score_adj=0
depmod cpuset=/ mems_allowed=0
Pid: 1767, comm: depmod Not tainted 3.0.21-tinycore #3021
Call Trace:
[<c016cb15>] ? 0xc016cb15
[<c016f476>] ? 0xc016f476
[<c016cd82>] ? 0xc016cd82
[<c016cfcd>] ? 0xc016cfcd
[<c016d2ae>] ? 0xc016d2ae
[<c016fd01>] ? 0xc016fd01
[<c018d266>] ? 0xc018d266
[<c018cfe8>] ? 0xc018cfe8
[<c4842011>] ? 0xc4842011
[<c484253c>] ? 0xc484253c
[<c0171062>] ? 0xc0171062
[<c0171254>] ? 0xc0171254
[<c016c2f3>] ? 0xc016c2f3
[<c017c0c5>] ? 0xc017c0c5
[<c017e4bb>] ? 0xc017e4bb
[<c017ea65>] ? 0xc017ea65
[<c011bb90>] ? 0xc011bb90
[<c01966ee>] ? 0xc01966ee
[<c0196d32>] ? 0xc0196d32
[<c0160544>] ? 0xc0160544
[<c013097f>] ? 0xc013097f
[<c0103dba>] ? 0xc0103dba
[<c011b8c8>] ? 0xc011b8c8
[<c041715a>] ? 0xc041715a
[<c011b8c8>] ? 0xc011b8c8
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
Normal per-cpu:
CPU 0: hi: 6, btch: 1 usd: 5
active_anon:10514 inactive_anon:1780 isolated_anon:0
active_file:0 inactive_file:8 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:307 slab_reclaimable:408 slab_unreclaimable:1280
mapped:236 shmem:3236 pagetables:46 bounce:0
DMA free:436kB min:248kB low:308kB high:372kB active_anon:10568kB inactive_anon:32kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:40kB slab_reclaimable:20kB slab_unreclaimable:68kB kernel_stack:8kB pagetables:36kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 47 47 47
Normal free:792kB min:764kB low:952kB high:1144kB active_anon:31488kB inactive_anon:7088kB active_file:0kB inactive_file:32kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:48768kB mlocked:0kB dirty:0kB writeback:0kB mapped:944kB shmem:12904kB slab_reclaimable:1612kB slab_unreclaimable:5052kB kernel_stack:496kB pagetables:148kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:52 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA: 1*4kB 0*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 436kB
Normal: 8*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 792kB
3244 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap = 0kB
Total swap = 0kB
16368 pages RAM
0 pages HighMem
1504 pages reserved
1107 pages shared
14188 pages non-shared
[ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
[ 52] 0 52 570 133 0 0 0 rcS
[ 56] 0 56 570 162 0 0 0 tc-config
[ 72] 0 72 456 211 0 -17 -1000 udevd
[ 255] 0 255 570 163 0 0 0 tce-setup
[ 1739] 0 1739 455 140 0 -17 -1000 udevd
[ 1741] 0 1741 455 125 0 -17 -1000 udevd
[ 1764] 0 1764 570 131 0 0 0 exe
[ 1767] 0 1767 11320 8862 0 0 0 depmod
Out of memory: Kill process 1767 (depmod) score 567 or sacrifice child
Killed process 1767 (depmod) total-vm:45280kB, anon-rss:35120kB, file-rss:328kB
depmod invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0, oom_score_adj=0
depmod cpuset=/ mems_allowed=0
Pid: 1787, comm: depmod Not tainted 3.0.21-tinycore #3021
Call Trace:
[<c016cb15>] ? 0xc016cb15
[<c016f476>] ? 0xc016f476
[<c016cd82>] ? 0xc016cd82
[<c016cfcd>] ? 0xc016cfcd
[<c016d2ae>] ? 0xc016d2ae
[<c016fd01>] ? 0xc016fd01
[<c017e37b>] ? 0xc017e37b
[<c017ea65>] ? 0xc017ea65
[<c011bb90>] ? 0xc011bb90
[<c01966ee>] ? 0xc01966ee
[<c0196d32>] ? 0xc0196d32
[<c0160544>] ? 0xc0160544
[<c013097f>] ? 0xc013097f
[<c0103dba>] ? 0xc0103dba
[<c011b8c8>] ? 0xc011b8c8
[<c041715a>] ? 0xc041715a
[<c011b8c8>] ? 0xc011b8c8
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
Normal per-cpu:
CPU 0: hi: 6, btch: 1 usd: 0
active_anon:10515 inactive_anon:1816 isolated_anon:0
active_file:3 inactive_file:3 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:302 slab_reclaimable:394 slab_unreclaimable:1271
mapped:236 shmem:3284 pagetables:46 bounce:0
DMA free:440kB min:248kB low:308kB high:372kB active_anon:10608kB inactive_anon:28kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:36kB slab_reclaimable:64kB slab_unreclaimable:24kB kernel_stack:0kB pagetables:12kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 47 47 47
Normal free:768kB min:764kB low:952kB high:1144kB active_anon:31452kB inactive_anon:7236kB active_file:12kB inactive_file:12kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:48768kB mlocked:0kB dirty:0kB writeback:0kB mapped:944kB shmem:13100kB slab_reclaimable:1512kB slab_unreclaimable:5060kB kernel_stack:504kB pagetables:172kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:79 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
DMA: 82*4kB 10*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 440kB
Normal: 2*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 768kB
3292 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap = 0kB
Total swap = 0kB
16368 pages RAM
0 pages HighMem
1504 pages reserved
1132 pages shared
14198 pages non-shared
[ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
[ 52] 0 52 570 133 0 0 0 rcS
[ 56] 0 56 570 162 0 0 0 tc-config
[ 72] 0 72 456 212 0 -17 -1000 udevd
[ 255] 0 255 570 163 0 0 0 tce-setup
[ 1770] 0 1770 570 131 0 0 0 alsa
[ 1787] 0 1787 11320 8887 0 0 0 depmod
[ 1788] 0 1788 455 142 0 -17 -1000 udevd
[ 1789] 0 1789 455 152 0 -17 -1000 udevd
Out of memory: Kill process 1787 (depmod) score 568 or sacrifice child
Killed process 1787 (depmod) total-vm:45280kB, anon-rss:35136kB, file-rss:412kB
eth0: setting full-duplex.
-
Hi
During boot, system run out of ram
Pentium MMX 200 MHz, 64 MB RAM
good enough reason not to use alsa.
ok according to http://www.opensound.com/osshw.html my eyesight could not spot your ASOUND GOLD 3D-PNP ALS100 Plus, ISA socket
but SoundBlaster AWE64, ISA socket is there
good
1) now what are your bios settings for IRQ for that SB card slot ?
2) try the following manually, we will give tips on persistence later, if we get sound
sudo modprobe snd-sbawe
(check sound module is loaded with)
### warning my results below will differ from OP
lsmod | grep sbawe
snd_sbawe 24576 0
snd_opl3_lib 12288 1 snd_sbawe
snd_sb16_dsp 12288 1 snd_sbawe
snd_sb16_csp 16384 1 snd_sbawe
snd_sb_common 12288 3 snd_sbawe,snd_sb16_dsp,snd_sb16_csp
snd_mpu401_uart 12288 1 snd_sbawe
snd_seq_device 12288 3 snd_sbawe,snd_opl3_lib,snd_rawmidi
snd_pcm 45056 4 snd_sbawe,snd_sb16_dsp,snd_hda_intel,snd_hda_codec
snd 32768 14 snd_sbawe,snd_opl3_lib,snd_sb16_dsp,snd_sb16_csp,snd_sb_common,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
now try ossinfo again pls
3) if that fails it may be because your sound card uses plug n play and we may need to have isapnptools package created, my eyesight can't spot it in the repository
http://www.linuxjournal.com/article/3269
4) I am now thinking from google that the module sbawe may be related to ALSA but I won't mod my reply as it doesn't hurt to see what you get as we have no persistence
-
You are running out of memory.
Best to avoid loading any extension onboot (boot code "base"), then once booted, you can try loading extensions one by one, while permanently monitoring free memory.
Searching this forum might lead to some hints from posts of users with extremely small amount of RAM.
-
Hi DanielH
64MB is mot much to work with, and having a 792 MB swap file won't fix that. I think you might want to add the
nozswap boot code, otherwise Tinycore takes 25% of your RAM to use for compressed swap in RAM.
What kind of apps were you planning to run?
-
DanielH
I am glad both tinypoodle and Rich are here to advise on your low spec machine as mine is only 4 yrs old
2) There may be better solutions, but if you can confirm that you can set your bios to enable PnP
and /or confirm you can disable one or more sound cards, then I have built (untested) some tcz called isapnptools
So you can make an informed choice here are some links for you to peek at
http://www.roestock.demon.co.uk/isapnptools/pnpdump.8.html
http://www.roestock.demon.co.uk/isapnptools/isapnp.8.html
http://www.roestock.demon.co.uk/isapnptools/isapnp.conf.5.html
my tcz has stripped the man pages out of the main package and the list is only
usr/local/sbin/isapnp
usr/local/sbin/pnpdump
If interested then you use the pnpdump command like this....sudo pnpdump
http://linux-sxs.org/upgrading/pnpdump.html
then edit the config file, maybe /etc/isapnp.conf or /usr/local/etc/isapnp.conf
then execute sudo isapnp /etc/isapnp.conf
I don't have an isa card so can't tell you where the config goes
but for me
sudo pnpdump -d -o /tmp/isapnp.conf
gives text file contents
# $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
# Release isapnptools-1.27
#
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of the output file format, see isapnp.conf(5)
#
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DHAVE_PROC -DENABLE_PCI -DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE -DDUMPADDR
#
# No boards found
If you are interested in this untested tcz then pls reply and say I can send you a pm link, or send me a pm and say the same pls
no problems if you are not interested, as I am a simple coder
-
With only 64M of RAM, you could use the opt= and home= boot options to relocate opt and home to your hard drive.
This will free up more RAM.
You will then need to remove home and opt from /opt/.filetool.lst.
-
OSS doesn't support your cpu, and it hasn't supported ISA sound cards for several versions now. I'm afraid alsa is the only choice for ISA sound.
-
curaga writes
OSS doesn't support your cpu, and it hasn't supported ISA sound cards for several versions now. I'm afraid alsa is the only choice for ISA sound
Does that mean our TC OSS.tcz is not the same as http://www.opensound.com/oss.html which claims that
compatible sound cards which can be plugged into any UNIX workstation supporting the ISA or PCI bus architecture
curaga,
I realise OP has low spec machine, but does that mean OP could re-compile the TC kernel to get support for OSS and his CPU,
or does it mean that the upstream source no longer supports his CPU.
Being the local village idiot, I have yet to spot such specs at the upstream site or wiki.
thanks for reading
-
The doc on that page appears to be out of date.
I realise OP has low spec machine, but does that mean OP could re-compile the TC kernel to get support for OSS and his CPU,
or does it mean that the upstream source no longer supports his CPU.
The TC kernel is fine, it's the OSS modules that require newer instructions. Whether it's due to a gcc switch or asm I don't know.
-
Hi
well I wondered about that. Offtopic, our tcz says it was built in 2005 and I just downloaded their x86 product and it claims
/home/tc/Downloads/oss-linux-v4.2-2007-i686
So we have the same build number 4.2 but it appears in 2007 they upped it to x686
I am sure there is a better ref but a quick google http://www.linuxquestions.org/questions/linux-newbie-8/please-explain-386-vs-686-versions-310099/
x86_64 Processors
* AMD's Athlon 64, Athlon 64-FX, and Opteron
* Intel EMT64 processors - Nocona Xeon, Pentium 4's using the E0 revision of the Prescott core (AKA Pentium 4, model F)
i686 Processors
* All Intel 32-bit Pentiums (excluding Pentium 1 and Pentium MMX)
* All AMD 32-bit Athlons
i586 Processors
* All 32-bit AMD Ks
* Pentium 1
* Pentium MMX
i386 Processors
* A generic "lowest common denominator" designation for Intel 80386 compatible CPUs (includes all of the above, but does not take advantage of extended instructions on those later CPUs).
so our OP may like to try ALSA and the sound module will be snd-sbawe. I have never used scms but having alsa ondemand may help with the low ram specs?
It should be safe for OP to have a .filetool.lst entry (if needed) for mixer levels asound.state and other files mentioned in info or wiki
Alternative to ondemand is a script that the OP calls to load alsa, dbus etc, start any services and restore mixer levels
-
Thanks to all people!
@aus9:
I will draw back Asound ALS100 and will reinstall SoundBlaster AWE64, then I will try your suggested methods. I will inform to you the results of these tests.
At last, I will try with a SoundBlaster Live! 24-bit (SB0410), PCI socket, snd-ca0106 module needed.
ALSA is not an option, due the lack of RAM..
@Rich, @gerald_clark and @tinnypoodle:
My bootcode:
initrd=/tce/boot/core.gz nozswap xsetup kmap=/qwerty/es norestore noicons showapps
tce=sda1 opt=sda1 home=sda1 swapfile=sda2 waitusb=5:UUID="ebf86d9e-bbde-46ac-9c59-4ba91891b05d"
tce=UUID="ebf86d9e-bbde-46ac-9c59-4ba91891b05d" BOOT_IMAGE=/tce/boot/vmlinuz
My onboot.lst:
Xlibs.tcz Xprogs.tcz Xvesa.tcz fltk-1.1.10.tcz flwm_topside.tcz kmaps.tcz cups.tcz OSS.tcz
Used RAM:
Running simultaneously onboots apps, links2.scm (two windows), TC System Stats and Editor:
MemTotal: 59456 kB
MemFree: 9708 kB
Buffers: 4820 kB
Cached: 22828 kB
SwapCached: 0 kB
Active: 23532 kB
Inactive: 17084 kB
Active(anon): 20004 kB
Inactive(anon): 3352 kB
Active(file): 3528 kB
Inactive(file): 13732 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 59456 kB
LowFree: 9708 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 12964 kB
Mapped: 4704 kB
Shmem: 10388 kB
Slab: 6356 kB
SReclaimable: 1796 kB
SUnreclaim: 4560 kB
KernelStack: 496 kB
PageTables: 324 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 29728 kB
Committed_AS: 31080 kB
VmallocTotal: 966648 kB
VmallocUsed: 1632 kB
VmallocChunk: 964740 kB
AnonHugePages: 0 kB
DirectMap4k: 20480 kB
DirectMap4M: 45056 kB
My Ondemand apps test:
.scm:
abiword-2.8: OK
asunder: OK
cdplay: not tested yet (no sound)
flburn: not tested yet (having only Read CDROM, not W)
galculator: OK
geany: OK
gqview1: ok
links2: OK
osmo: OK
spider: OK
wget: OK
xchat: run, no completely tested
xpdf: OK
.tcz:
ace-of-penguins: OK
axel: not tested yet
bwmon: not tested yet
dillo3: OK
dirwin: OK
flit: OK
flnotify: not tested yet
flpicsee: OK
flrec: not tested yet (no sound)
flume: OK (AWESOME! What an app!)
gfpt: OK
gnumeric: OK
inkscapelite: OK
itetris: OK
mbasecalc: OK
mgp: not tested yet
mpaint-gtk1: OK +/-
siag: OK (AWESOME!)
watcher: OK
xboard: OK
xine-vesa: not tested yet
xmahjongg: OK ?? I never play mahjongg before...
xmms: run, but no sound
xsane: run, but I have not an paralell scanner
cups (on boot): ? I have not a paralell printer, not tested yet
-
Hi DanielH
I would not have guessed that abiword-2.8 would run with your setup.
-
Rather interesting :)
Some remarks:
"SwapTotal: 0 kB" - Better make sure your swap is on, have you named the file "tc.swp"?
Script found here: http://forum.tinycorelinux.net/index.php/topic,9028.0.html could strip unused modules of your initramfs and might have quite an impact.
A suggestion would be that if you got a framebuffer, then you run apps which do not strictly require X on a console, possibly exiting X first which will free a considerable amount of memory.
Be aware that mem usage of Links2 could under certain circumstances raise significantly, as reported here: http://forum.tinycorelinux.net/index.php/topic,7110.msg37554.html#msg37554
You could call xine as "fbxine" on framebuffer console, you might have to specify "-A none" when not having a sound system.
-
DanielH
Are you using google translate to post your messages?
I wonder if for printer or scanner you have either a serial lead, parallel lead or usb lead? lead = cable = connector
2) If you like testing some light apps, seeing you had a look at xchat you may like to consider weechat which has ES locale?
and test epdfview instead of xpdf?
3) I try to avoid UUID as its too long and hard to trouble-shoot,
I prefer to load e2fsprogs and create labels for your partitions so for the grub bootloader mine looks like
kernel /boot/vmlinuz tce=LABEL=string home=LABEL=string opt=LABEL=string waitusb=8:LABEL=string
where you have used e2label like this
sudo e2label /dev/sda1 yourstringname
e2label /dev/sda1
last command should return your new string name eg partitionone or part1 or myfirst etc.
Choose what ever string name you like but try not to use something that the find command might return for exist things like "home" or "sbin"
If you have multiple usb drives or internal and USB drives ensure none have the same string name please
-
Hi tinypoodle
"SwapTotal: 0 kB" - Better make sure your swap is on, have you named the file "tc.swp"?
I used the term swap file in reply#3 which was incorrect. In DanielHs first post he lists sda2 as swap so if he just
removes the swapfile=sda2 boot code the system will mount the swap partition automatically when it boots.
-
Ah, yes, I was focused on the boot code, and your statement in reply #3 is equally valid regardless of swap file or partition.
However, in first post oom-killer already reports "Total swap = 0kB", so there was definitely no swap on there either.
EDIT:
Therefore it has not beyond a doubt been excluded that alsa could actually be loaded, if sufficient swap would be available.
I think it might be a good strategy to boot with as little as possible loaded onboot, and then trying to load alsa after first verifying free memory (including swap!).
-
@aus9
The 2005 stands for the OSS build number (svn/hg revision or similar), not the year.
-
aaah
-
Dear "tinycorers":
I have the pleasure to say THANK YOU!!! SOLVED!!!!
Following your indications and suggested procedures:
First: Cleaning my bootcodes.
a)
Deleted swapfile=sda2 (thanks, Rich!), my mistake; I did not know that swapfile is a "quasi-normal" file in a working partition (type 83), not a pointer to swap partition (type 82).
BTW, deleting this code was not enough, TCL doesn't autodetect my swap partition on reboot. WTF?
Well, doing sudo mkswap /dev/sda2 and then reboot, all is OK.
Mi first swap partition was made by Gparted Live CD... Gparted'd swap is not equal to mkswap'd swap????
b)
Deleted unnecesary bootcodes (thanks aus9): waitusb=5:UUID="ebf86d9e-bbde-46ac-9c59-4ba91891b05d" tce=UUID="ebf86d9e-bbde-46ac-9c59-4ba91891b05d"
My present bootcodes:
initrd=/tce/boot/core.gz nozswap xsetup kmap=/qwerty/es norestore noicons showapps tce=sda1 opt=sda1 home=sda1 BOOT_IMAGE=/tce/boot/vmlinuz
Booting in 62 seconds(!!!), including xsetup: Xvesa resolution setup and Mouse setup (I have a 2 button serial mouse).
Second: Deleting cups.tcz and OSS.tcz as onboot items (thanks, tinypoodle!).
Third: Uninstalling OSS.tcz and downloading alsa.tcz to fit with my old spec machine (thanks, curaga).
aus9: Thanks, but I have not enough knowledge to try your ISA apps. May be in the future...
Fourth: running alsa ...with some troubles, see below:
tc@box:~$ tce-load -i alsa.tcz
depmod.tcz: OK
alsa-config.tcz: OK
ncurses-common.tcz: OK
ncurses.tcz: OK
libpci.tcz: OK
pci-utils.tcz: OK
libasound.tcz: OK
i2c-3.0.21-tinycore.tcz: OK
v4l-dvb-3.0.21-tinycore.tcz: OK
input-joystick-3.0.21-tinycore.tcz: OK
alsa-modules-3.0.21-tinycore.tcz: OK
alsa.tcz: OK
tc@box:~$ lsmod
Module Size Used by Not tainted
i2c_sis5595 12288 0
i2c_sis630 12288 0
acpi_cpufreq 12288 0
mperf 12288 1 acpi_cpufreq
cpufreq_userspace 12288 0
cpufreq_conservative 12288 0
cpufreq_powersave 12288 0
cpufreq_stats 12288 0
squashfs 24576 18
3c59x 28672 0
pcspkr 12288 0
scsi_wait_scan 12288 0
loop 16384 36
Loaded in 185 seconds... too slow... :( Ooops, I have a Pentium MMX 64 MB RAM, I must not forget that!
tc@box:~$ alsamixer
Nothing happens...
Now what???
tc@box:~$ sudo modprobe kernel.tclocal/sound/pci/ca0106/snd-sbawe.ko.gz
tc@box:~$ lsmod
Module Size Used by Not tainted
snd_sbawe 24576 0
snd_opl3_lib 12288 1 snd_sbawe
snd_sb16_dsp 12288 1 snd_sbawe
snd_sb16_csp 16384 1 snd_sbawe
snd_sb_common 12288 3 snd_sbawe,snd_sb16_dsp,snd_sb16_csp
snd_hwdep 12288 2 snd_opl3_lib,snd_sb16_csp
snd_mpu401_uart 12288 1 snd_sbawe
snd_rawmidi 16384 1 snd_mpu401_uart
snd_seq_device 12288 3 snd_sbawe,snd_opl3_lib,snd_rawmidi
snd_pcm 45056 2 snd_sbawe,snd_sb16_dsp
snd_timer 20480 2 snd_opl3_lib,snd_pcm
snd 32768 11 snd_sbawe,snd_opl3_lib,snd_sb16_dsp,snd_sb16_csp,snd_sb_common,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer
soundcore 12288 1 snd
snd_page_alloc 12288 1 snd_pcm
i2c_sis5595 12288 0
i2c_sis630 12288 0
acpi_cpufreq 12288 0
mperf 12288 1 acpi_cpufreq
cpufreq_userspace 12288 0
cpufreq_conservative 12288 0
cpufreq_powersave 12288 0
cpufreq_stats 12288 0
squashfs 24576 20
3c59x 28672 0
pcspkr 12288 0
scsi_wait_scan 12288 0
loop 16384 40
tc@box:~$ alsamixer
OK; setting values (a lot of them!) ---->
tc@box:~$ speaker-test -c2 -t sine -f 440 -l 2
speaker-test 1.0.24.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 17 to 8916
Period size range from 17 to 8917
Using max buffer size 8916
Periods = 4
was set period_size = 1783
was set buffer_size = 8916
0 - Front Left
1 - Front Right
Time per period = 5.822118
0 - Front Left
1 - Front Right
Time per period = 5.945717
OOOMMMMMMM!!! I hear! I hear!
Running XMMS, playing an audio CD: OK!!!!
My questions:
1. How to load alsa and ALL needed modules for my sound card with one and only one command? I'm not experienced in script programming.
2. Is possible to run alsa.tcz as an ondemand item? I've tried, but without results.
Pending:
a) To test all sound apps (flrec, cdplay (CLI), xine or another video player...
b) To configure cups and xsane, with a little help from my friends: I haven't parallel (lead/cable/connector) printer nor parallel (lead/cable/connector) scanner to test these apps..
And yes, Mr. aus9, I use google translate to help me in my posts (not all, but...). I apologize for my bad english... twice.
Last but not least:
I will show this low spec machine running TCL, next april 27 in FLISoL "Festival Latinoamericano de Instalacion de Software Libre" (Latin American Free Software Installation Festival) www.flisol.info
FLISoL will be organized in my city Mar del Plata, Argentina, by a local LUG gulBAC "grupo de usuarios de linux Buenos Aires Central" www.gulbac.org.ar .
In gulBAC there are "debianists", "ubunters", "fedorians", "archers", but at this moment there is one and only one "tinycorer" (me, bah, but for production I use Debian or LMDE and graphical apps like Qelectrotech, LibreCAD, FreeCAD, etc.).
I will post more information... Seeing soon...
-
hi
we have eliminated isapnptools as that is for OSS and you are now on ALSA
I suggest you run apps and remove alsa from onboot or ondemand and we start it with a script, as an attachement, I am a simple coder so show the code as well
#!/bin/sh
tce-load -i alsa
sudo modprobe snd-sbawe
/usr/local/sbin/alsactl -f /opt/asound.state restore
Now copy the attachement into /home/tc/.local/bin and make it executable with
chmod 755 .local/bin/sound.sh
(next is results of running it, the command called sound.sh)
sound.sh
alsa-config.tcz: OK
v4l-dvb-3.0.21-tinycore.tcz: OK
input-joystick-3.0.21-tinycore.tcz: OK
alsa-modules-3.0.21-tinycore.tcz: OK
alsa.tcz: OK
2) I assume you need to save mixer levels. Now you can run the script as is, but if mixer levels are wrong we will save your CHANGED settings somewhere persistent, I like /opt as its a system file, that you are saving
so
alsamixer
(make changes, then save changes with)
sudo alsactl -f /opt/asound.state store
You only need to do this saving once. Now I suggest you reboot and try out sound.sh to see if its what you thought. Naturally you can add command line player to load etc as its your script and as its under your name, you can easily edit. Thanks Rich for alerting me to this function.
so if you need to add tczs the line will look like
tce-load -i alsa app1 app2 app3 (etc)
good luck
3) If you can't resolve your printer or scanner issues please start a new post ok?
-
I did not know that swapfile is a "quasi-normal" file in a working partition (type 83)
Partition type is irrelevant for swapfiles.
initrd=/tce/boot/core.gz nozswap xsetup kmap=/qwerty/es norestore noicons showapps tce=sda1 opt=sda1 home=sda1 BOOT_IMAGE=/tce/boot/vmlinuz
"xsetup" should not be permanently needed.
tc@box:~$ tce-load -i alsa.tcz
depmod.tcz: OK
alsa-config.tcz: OK
ncurses-common.tcz: OK
ncurses.tcz: OK
libpci.tcz: OK
pci-utils.tcz: OK
libasound.tcz: OK
i2c-3.0.21-tinycore.tcz: OK
v4l-dvb-3.0.21-tinycore.tcz: OK
input-joystick-3.0.21-tinycore.tcz: OK
alsa-modules-3.0.21-tinycore.tcz: OK
alsa.tcz: OK
tc@box:~$ lsmod
Module Size Used by Not tainted
i2c_sis5595 12288 0
i2c_sis630 12288 0
acpi_cpufreq 12288 0
mperf 12288 1 acpi_cpufreq
cpufreq_userspace 12288 0
cpufreq_conservative 12288 0
cpufreq_powersave 12288 0
cpufreq_stats 12288 0
squashfs 24576 18
3c59x 28672 0
pcspkr 12288 0
scsi_wait_scan 12288 0
loop 16384 36
Loaded in 185 seconds... too slow... :( Ooops, I have a Pentium MMX 64 MB RAM, I must not forget that!
Using script already mentioned in Reply #12 might possibly improve that.
Pending:
a) To test all sound apps (flrec, cdplay (CLI), xine or another video player...
If memory serves me right, memory usage of xine might be overkill for your specs, mplayer would possibly use a friction of the memory that xine does.
-
Thank you, again!
All is iluminated.
aus9:
Following your suggests: sound.sh
#!/bin/sh
tce-load -i alsa
sudo modprobe snd-sbawe
alsamixer -c 0 -V all
Why alsamixer? Because each sound app needs its own mixer levels, plus mic/line-in setup (e.g. flrec).
Think about: this machine will be used to show TCL running on "low tech", I will call sound.sh eventually (about 3 minutes to load alsa and
snd-sbawe modules, alsamixer only adds 2 seconds to load and run!!).
tinypoodle:
You're right:
1)
xsetup bootcode isn't permanently needed. It saves resolution, mouse type and port in .xsession. Deleted...
2)
Replaced: xine out (uninstalled), MPlayer-svn-gtk1 in (installed an running).
-----------------------------------------------------------------------------
My next post is on multi-user setup (users, groups, passords), I've found a mistake in wiki page (Tiny Core passwords).
See you later...
-
If you have 2 mixer settings then
first time you run alsamixer
alsamixer -c0 -V all
(make settings)
alsactl -f /opt/nomic.state store
(make alsamixer settings different from above)
alsactl -f /opt/mic.state store
if that second sound device is appearing then have a bootcode to blacklist its sound module
Now you will need 2 sound scripts
if you want mic off....call it nomic.sh....it does not matter if both have mic on, call each script something you can remember
#!/bin/sh
tce-load -i alsa
sudo modprobe snd-sbawe
alsactl -f /opt/nomic.state restore
and mic
#!/bin/sh
tce-load -i alsa
sudo modprobe snd-sbawe
alsactl -f /opt/mic.state restore
and remember to
cd /home/tc/.local/bin
chmod 755 *
good luck
-
#!/bin/sh
tce-load -i alsa
sudo modprobe snd-sbawe
alsamixer -c 0 -V all
Better change last line to:
aterm -e alsamixer -c 0 -V all &
for cases of invoking it in non-interactive mode.
about 3 minutes to load alsa and
snd-sbawe modules, alsamixer only adds 2 seconds to load and run!!
You are stressing that time again, but seem to ignore suggestion of how to potentially improve significantly...
-
Dear "tinycoresrs":
I'm affraid that my bad english makes me harder to express my point of view. I'm sorry...
aus9:
1)
I think I don't need two sound scripts, since I wish to run alsamixer in interactive mode when I load alsa.tcz by script.
2)
I don't have a second mixer, -c 0 option in alsamixer call is to secure pointing to my sound card (SoundBlaster AWE64), it seems that "default" sometime is not pointing it.
tinypoodle:
I'm not ignoring your help, perhaps I don't understand completely your suggestions (I'm newbie and have a lot to learn).
1)
About http://forum.tinycorelinux.net/index.php/topic,9028.0.html: Local initramfs generation script (stripping unneeded modules)
I've read that page, but seems not to be applicable to my system: this script rebuilds initramfs and the optimized initramfs only includes the modules that are loaded at this moment.
Quote: "that means you cannot easily change the modules you generated with this type of local initramfs, be aware of that!"
I'm installing TCL in this low spech machine to learn (about TC, GNU/Linux and related stuff, I'm so newbie), and to show it in FLISoL next March 27.
I wish to keep my system as open and flexible as originally installed in PPR mode, with minimum changes needed to run apps.
The "optimized" initramfs will make difficult to easily upload other modules needed to run new applications in the future...
Freeing RAM:
I prefer to load .scm apps: to memory freeing is more easy to unload one mounted loop when a .scm app is closed (.tcz apps mounts one loop per each dep, isn't it?).
BTW: Is there a script to automatically unmount unneeded loops when a .tcz or a .scm app is closed, running TCL in PPR mode?
2)
About Links2: thanks you, I've used the Flush all caches menu. It improves the memory usage, but not so much (I haven't too many pages opened simultaneously).
BTW: now I'm using dillo3, reserving Links2 to https pages. dillo3 hasn't https and SSL support, but shows images and page styles much better than Links2...
3)
About alsa: I'm running alsa from a script sound.sh, it takes 3' 10" to run (including alsamixer showing all levers, always in interactive mode for my purposes).
Next steps: 1) make a context menu to run sound.sh; 2) ENJOY SOUND!!!!
Thank you again, and forgive me for my bad english...
Best regards,
DanielH
-
WRT this remaster script:
If I understand right, it discards unused modules in base and in extensions from which certain modules are inserted at time of running it.
This should only restrict loading any of those discarded modules, but not modules from extensions of which no modules were inserted at time of remastering.
alsa takes time to load even on faster machines than yours, and a big part of that is due to module extensions being pulled in as deps; therefore my estimation would be that you could save a lot of time plus some resources.
If just before remastering you manually modprobe all modules from base and loaded extensions which are possibly compatible with your hardware - this is actually what I do myself - then there shouldn't be any restrictions when running same initramfs with same hardware.
An advantage of links2 is that when memory is tight, one could run it in graphics mode on a framebuffer console and thus freeing resources from being used by an X server.
-
Also:
acpi_cpufreq 12288 0
mperf 12288 1 acpi_cpufreq
cpufreq_userspace 12288 0
cpufreq_conservative 12288 0
cpufreq_powersave 12288 0
cpufreq_stats 12288 0
I would be rather surprised if a Pentium MMX could ever do cpu frequency scaling and even more so if it could ever use the acpi_cpufreq module, so you might save some resources by running "modprobe -r" on those ;)
-
(SoundBlaster AWE64), it seems that "default" sometime is not pointing it
then add a sleep after loading the module and before you set your mixer levels. As you have a low spec machine, I should have spotted this before.
I know you have only one sound card, I am trying to help you.
If you start up alsamixer in interactive mode you are wasting your time. sorry if that sounds rude. Its smarter to start up your only sound device with mixer settings ONE or mixer settings TWO, got it? Your choice.
so one script might be
#!/bin/sh
tce-load -i alsa
sudo modprobe snd-sbawe
/bin/sleep 3
alsactl -f /opt/mic.state restore
good luck
(2) If you chose interactive mode because you need more than 2 mixer level settings, there is no limit how many scripts you create to handle that ok