Operating System - Linux
1832570 Members
5709 Online
110043 Solutions
New Discussion

Re: [drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528

 
SOLVED
Go to solution
Fedon Kadifeli
Super Advisor

[drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528

Recently I changed my boot disk on a Linux box. I created new partitions (with different sizes and minor number order) and copied all the root partition's files to the new root partition using the commands:

# cd /oldroot
# find . -xdev | cpio -pduvlm /newroot

I had some problems with booting, but finally doing grub_install, etc, I managed to boot from the new disk and remove the old disk from the system completely.

Now, when I boot I get several errors:

(1) named doesn't start (not important!):
named[2412]: none:0: open: /etc/named.conf: permission denied
named[2412]: loading configuration: permission denied

I checked the file '/etc/named.conf'. There is nothing wrong with the file. It is same as the original on the old boot disk.

(2) lpd doesn't start (not important either):

lpd: 2003-09-30-14:21:24.995 tstws2 Read_file_list: cannot stat required or included file '/etc/printcap' - Permission denied

I checked '/etc/printcap'. Nothing wrong with this file.

(3) X doesn't start (important). It gives the following error messages on the console:

[drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528
[drm:i810_wait_ring] *ERROR* lockup

I tried to reconfigure X (using redhat-config-xfree86) and specifying standard VGA 640x480 mode, but I still get the same errors.

Some help (especially for the 3rd case) will be highly appreciated...
4 REPLIES 4
Mark Grant
Honored Contributor
Solution

Re: [drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528

You might want to check the permissions on the /etc directory itself, it should be 755 root:root

Hope it helps
Never preceed any demonstration with anything more predictive than "watch this"
Fedon Kadifeli
Super Advisor

Re: [drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528

Yes! It really seems a like directory permission problem. I ran the following commands:

# mount ... /oldroot
# cd /oldroot
# find . -type d -exec chmod --reference='{}' /'{}' \;
# find . -type d -exec chown --reference='{}' /'{}' \;

and all the problems are solved.

Now, another question: Since the command sequence:

# cd /oldroot
# find . -xdev | cpio -pduvlm /newroot

failed to replicate permission information on directories, what is the best command sequence to move (actually copy) files from one filesystem to another?
Mark Grant
Honored Contributor

Re: [drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528

The only way I have done this is as follows.

cd /
tar cvf - * | (cd /newplace; tar xpf -)

But, this won't copy device files as far as I know.

Did you aready have an "etc" directory in the filesystem you were copying to because then the permsiions could well end up wrong.
Never preceed any demonstration with anything more predictive than "watch this"
Fedon Kadifeli
Super Advisor

Re: [drm:i810_wait_ring] *ERROR* space: 65520 wanted 65528

cpio did copied the device files. The only problem was in the permission (and maybe the ownership) of *some* directories. The destination disk was a newly formatted (vie mkfs) filesystem, there was no /etc directory; I think the combination of find | cpio resulted in *some* directories created by cpio (due to the -d option of cpio) with default permissions.