WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCL on Pentium MMX 64 MB RAM: Sound doesn't work  (Read 6429 times)

Offline DanielH

  • Newbie
  • *
  • Posts: 36
TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« on: March 20, 2013, 05: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.


aus9

  • Guest
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #1 on: March 20, 2013, 06:12:40 PM »
Hi

Quote
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

Code: [Select]
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
« Last Edit: March 20, 2013, 06:45:01 PM by aus9 »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #2 on: March 20, 2013, 07:22:35 PM »
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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #3 on: March 20, 2013, 07:23:40 PM »
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?

aus9

  • Guest
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #4 on: March 20, 2013, 10:13:55 PM »
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
Quote
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
Code: [Select]
sudo pnpdump -d -o /tmp/isapnp.conf

gives text file contents
Quote
# $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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #5 on: March 20, 2013, 10:37:52 PM »
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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #6 on: March 21, 2013, 01:56:51 AM »
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.
The only barriers that can stop you are the ones you create yourself.

aus9

  • Guest
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #7 on: March 21, 2013, 06:06:19 AM »
curaga writes
Quote
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
Quote
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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #8 on: March 21, 2013, 11:01:45 AM »
The doc on that page appears to be out of date.

Quote
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.
The only barriers that can stop you are the ones you create yourself.

aus9

  • Guest
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #9 on: March 21, 2013, 04:42:05 PM »
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

Quote
/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/

Quote
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
« Last Edit: March 21, 2013, 04:53:58 PM by aus9 »

Offline DanielH

  • Newbie
  • *
  • Posts: 36
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #10 on: March 21, 2013, 05:51:21 PM »
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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #11 on: March 21, 2013, 07:24:35 PM »
Hi DanielH
I would not have guessed that abiword-2.8 would run with your setup.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #12 on: March 21, 2013, 10:46:39 PM »
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.

 
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

aus9

  • Guest
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #13 on: March 21, 2013, 11:02:02 PM »
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
Code: [Select]
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
« Last Edit: March 21, 2013, 11:08:36 PM by aus9 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCL on Pentium MMX 64 MB RAM: Sound doesn't work
« Reply #14 on: March 21, 2013, 11:07:24 PM »
Hi tinypoodle
Quote
"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.