Question about /proc/acpi (Debian 7.2 w/ 3.2.0-4-686-pae kernel)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Question about /proc/acpi (Debian 7.2 w/ 3.2.0-4-686-pae kernel)
# 1  
Old 12-26-2013
Hammer & Screwdriver Question about /proc/acpi (Debian 7.2 w/ 3.2.0-4-686-pae kernel)

Hi everyone,
I am running Debian Wheezy 7.2 with a 3.2.0-4-686-pae kernel. There are a couple of virtual files and directories in /proc I can't seem to find much information about. I am aware that some of them might be legacy, though. Anyway, here they are:
  1. acpi: according to this link, this has been deprecated (if so, what has it been replaced with?), but it's still showing up in a pretty new system with a relatively new kernel.
  2. buddyinfo: this link offers a pretty good explanation, whereas this other link states that this file is used primarily for diagnosing memory fragmentation issues but does not explain how to detect an issue and / or correct it.

Actually there is a bunch of other files / directories, of which I presume the most important ones are:
  • cpuinfo
  • filesystems
  • interrupts
  • iomem
  • ioports
  • modules
  • pagetypeinfo
  • uptime
  • tty

In your opinion, am I missing anything?
As a final note, this is in preparation for Exam 101 in LPIC-1.
Any hints or suggestions will be more than welcome.
Thanks in advance.
# 2  
Old 12-27-2013
Quote:
Originally Posted by gacanepa
In your opinion, am I missing anything?
Maybe...

Sit down, young one, while i tell you a story from the times of yore...

At first, there was UNIX ("UNICS", actually), and one absolutely new paradigma to this OS (and a prominent reason for its success) was the idea that everything is a file. UNIX does most of its workings in files: devices? There is a device file. Inter-process communication? There are named pipes and semaphores and FIFOs. Drivers? Interact with a pseudo device (file)! And so on, and so on.

Now, this was a very simple yet efficient and flexible design, but humans always seek to improve on even the best ideas and so a successor for UNIX was conceived by some of the people who built UNIX: it was called "Plan 9" and it took whatever was good in UNIX and tried to improve on it. One of these improvements was to take the idea of "everything is a file" one step further and do even process accounting in the filesystem: this was the invention of the /proc filesystem.

Well, sometimes even the best laid plans fall short and, sadly enough, this was the case with Plan 9 (from outer space) too - it never gained momentum and it never took off, let alone replaced UNIX. Still, many ideas from Plan 9 were good and have been built (Plan-9-developers would probably say "backported") into various UNIX flavours. The /proc filesystem was such an idea. It was built into the Linux kernel and since then most UNIX-derivates have - under the impression of the Linux success - also incorporated a /proc filesystem. My "home" OS, IBMs AIX, has it since version 5 (~2000). Also SunOS has it, but i don't know since when. I do not know enough about HP-Ux to know if there is a /proc filesystem or not.

I hope this story has enriched your understanding. I know, it will not answer any concrete questions of "how to ..." but i think knowing some historical dimensions of the things we deal with helps us doing better work in the long run.

bakunin
# 3  
Old 12-27-2013
bakunin,
Thank you so very much for taking the time to write this.
Yes, it did not answer my question, but I actually love to learn about the background of things I tend to take for granted.
Thanks again.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Debian install - kernel panic

Hello all, I would like to install Debian Jessie on my i386 When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output: I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Discussion started by: drum159
13 Replies

2. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

3. Red Hat

PAE kernel memory limit

What is the limit of LowMem and HighMem in PAE enable kernel. (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

4. Debian

Headers for kernel 2.6.26-2-xen-686

Hello, I am having hard time finding 2.6.26-2-xen-686 headers. Anyone know where i can find them ? Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

5. Red Hat

Question on /proc/cpuinfo

Hi, I wanted to understand what exactly /proc/cpuinfo shows? We have a machine with following specification... (2x) Intel Xeon 6-core processors So, ideally it shouls have 12processors, but the output on /proc/cpuinfo shows 24 processors. Can someone please explain how this is... (3 Replies)
Discussion started by: shrshah64
3 Replies

6. Debian

how to find out the kernel version of a particular debian release ?

Is there any metrics table available somewhere listing out, which kernel version is there in particular debian release ? Also, can somebody tell which debian release is having the kernel version 2.6.26 ? (1 Reply)
Discussion started by: thegeek
1 Replies

7. Debian

Debian - kernel dircolors daily error 6

I'm using Debian 5.0.4 Lenny. Daily my logs kern.log, messages, and syslog are filled with errors regarding dircolors: I've googled this to death and still haven't found a solution to fix or stop this. I read on man dircolors to: dircolors --version The output I receive on this cmd is... (0 Replies)
Discussion started by: juliej
0 Replies

8. UNIX for Dummies Questions & Answers

Dummy question about /proc/cpuinfo

Perhaps this is a very dummy question but sorry I don't know other place to do it. We just buy a new cluster of Xeon machines but there is something I don't understand and perhaps someone can help me. The more /proc/cpuinfo produces the following output (just part of it). processor : 0... (1 Reply)
Discussion started by: jhc
1 Replies

9. Linux

kernel: ACPI:

I've noted the following within /var/log/messages, any idea how to check whether they are related to hardware/driver problems, pls? :confused: Sep 9 11:56:08 triton smartd: Device: /dev/sda, opened Sep 9 11:56:08 triton kernel: ACPI: LAPIC (acpi_id lapic_id enabled) Sep 9 11:56:08... (1 Reply)
Discussion started by: jon80
1 Replies

10. Linux

Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU

ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before? I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system. Please Help... (2 Replies)
Discussion started by: dave043
2 Replies
Login or Register to Ask a Question