On Tue, 08 May 2001, Marco Calistri wrote:
> Hello,I'am using new kernel 2.4.x and beside several other new features
> I'am still looking to understand the proper usage/configuration of 
> /dev/shm.
> 
> Actually I simply updated my /etc/fstab to list such device
> but I'm not seeing any differences respect previous time.
> 
> /dev/hdb1       /               ext2     exec,dev,suid,rw               1 1
> /dev/hdc        /mnt/cdrom      iso9660  user,noexec,nodev,nosuid,ro,noauto 0 0
> /dev/fd0        /mnt/floppy     auto     user,noexec,nodev,nosuid,rw,noauto 0 0
> /dev/hda1       /mnt/win        vfat     user,noexec,nodev,nosuid,rw    0 0
> none                    /proc                   proc    defaults        0 0
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> none                    /dev/shm        shm     defaults                0 0
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /dev/hdb2               swap                    swap    defaults        0 0
> /dev/hdb3       /mnt/work       ext2            exec,dev,suid,rw        1 1
> 
> I see now no more "shared memory"...

If you read /usr/src/linux-{2.4}/Documemtation/devices.txt you will see a
differance between your fstab entry and the example given.

tmpfs /dev/shm  tmpfs  defaults 0 0

That should automount it at bootime, to avoid a reboot do;
mount /dev/shm

You use 'df' to see its usage not 'free'

> 
> [ik5bcu@linux ik5bcu]$ free
>              total       used       free     shared    buffers     cached
> Mem:         62284      56216       6068          0       2584      33496
> -/+ buffers/cache:      20136      42148
> Swap:       133048      25564     107484
> 
> Another "strange" fact is that,looking with tail -f /var/log/messages,
> I see my CD-ROM is loaded/unloaded automatically any 10 minutes by kernel:
> 
> May  8 21:00:00 linux kernel: Uniform CD-ROM driver unloaded
> May  8 21:00:01 linux kernel: hdc: ATAPI 50X CD-ROM drive, 128kB Cache, (U)DMA
> May  8 21:00:01 linux kernel: Uniform CD-ROM driver Revision: 3.12
> 
> Is this normal or is it a configurable (/etc/something) feature?

Its the "driver" getting unloaded not the device getting mounted/unmounted.
You possably have a cronjob running which could be doing this.
Or you have both kmod and kerneld working on your system, read
/usr/src/linux-{2.4}/Documemtation/kmod.txt

> 
> The last "strange" fact is that my /etc/dmesg reports an IRQ allocation error
> for my sound card,although it is working ok:
> 
> ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
> MAD16 audio driver Copyright (C) by Hannu Savolainen 1993-1996
> CDROM Disabled.
> Joystick port enabled.
> uart401: Failed to allocate IRQ5
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I really have no idea as i do not use this driver, however if your cdrom is
attached via the soundcard then judging by "CDROM Disabled" that could indiate
a relationship between your cdrom "driver" getting unloaded automaticly and the
failure message.

Another thing to check would be IRQ allocation in the BIOS, having said that if
the cdrom worked on a 2.2.xx kernel then one could disregard my BIOS comment.

As to the whole 2.4 kernel i have only just started using it myself on one
machine, so i know little of it as yet.

> 
> TIA
> 
> -- 
> Regards,: Marco Calistri <[EMAIL PROTECTED]>
> gpg key available on http://www.qsl.net/ik5bcu
> Xfmail 1.4.7p2 on linux RedHat 7.1 kernel-2.4.2

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to