LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot read proc file system (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-read-proc-file-system-925740/)

cmccullo 01-25-2012 11:42 PM

Cannot read proc file system
 
I am trying to get an instance of User Mode Linux to work. The host is Ubuntu 10.04.3, uname -r 2.6.32-38-generic-pae. UML is built from Linux-2.6.32.54.

I have entries in the UML /var/log/kern.log that state:
imklog: Cannot read proc file system, 1.

I’ve found entries from other forums that address this problem, but I cannot decipher the answers. Can someone explain in Newbie language how to fix this?

Thanks.

mindchasers 01-26-2012 05:52 AM

It could be as simple as not having a /proc directory created for mounting. Can you "ls /proc"?

I haven't used UML. Does it rely on /etc/fstab for mounting? Do you have an entry for proc?

cmccullo 01-27-2012 02:39 PM

Here output showing ls /proc and cat /etc/fstab

uml$ ls /proc
1 435 552 bus iomem modules sysemu
2 48 556 cmdline ioports mounts sysrq-trigger
208 49 567 config.gz irq net sysvipc
209 490 575 cpuinfo kallsyms pagetypeinfo timer_list
244 494 581 devices kcore partitions tty
249 497 582 diskstats kmsg sched_debug uptime
26 5 583 driver kpagecount self version
28 50 6 execdomains kpageflags slabinfo vmallocinfo
3 538 601 exitcode loadavg softirqs vmstat
30 541 612 filesystems locks stat zoneinfo
364 547 9 fs meminfo swaps
4 550 buddyinfo interrupts misc sys


uml$ cat /etc/fstab
LABEL=ROOT / auto defaults 1 1
#none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults,size=768M 0 0
/dev/ubdb none swap defaults 0 0
#/dev/ubdc /mnt/hd/ auto defaults 0 0

none /mnt/hostshare hostfs /mnt/umlshare,sync 0 0


All times are GMT -5. The time now is 06:10 AM.