syncing failed on shutdown: giving up on 1 buffer

Raphaël Marmier raphael at marmier.net
Fri Nov 19 15:53:15 PST 2004


I installed DFBSD 1.0 a few days ago and I immediatly upgraded to STABLE 
with cvsup and enabled SMP. I am having a few problems installing the 
XFree86 ports from dfports, but this is not the matter here.

In the process, I installed the dri port from the package at gobsd.com. It
spat the following warnings:

dragonfly# pkg_add -r dri
Fetching http://gobsd.com/packages//Latest/dri.tgz... Done.
mtree: lib/modules/dri/gamma_dri.so: No such file or directory
mtree: lib/modules/dri/i810_dri.so: No such file or directory
mtree: lib/modules/dri/i830_dri.so: No such file or directory
mtree: lib/modules/dri/mga_dri.so: No such file or directory
mtree: lib/modules/dri/r128_dri.so: No such file or directory
mtree: lib/modules/dri/r200_dri.so: No such file or directory
mtree: lib/modules/dri/radeon_dri.so: No such file or directory
mtree: lib/modules/dri/tdfx_dri.so: No such file or directory
pkg_add: warning: package 'dri-4.3.0,1' requires 'imake-4.3.0_2', but
 'imake-4.4.0' is installed
pkg_add: warning: package 'dri-4.3.0,1' requires 'expat-1.95.7', but 
'expat-1.95.8' is installed
pkg_add: warning: package 'dri-4.3.0,1' requires 'fontconfig-2.2.2,1', but 
'fontconfig-2.2.3,1' is installed
pkg_add: warning: package 'dri-4.3.0,1' requires 'XFree86-libraries-4.3.0_7'
, but 'XFree86-libraries-4.3.0_6' is installed

After which I decided against going on on my own and install the XFree86 
metapkg from the same site.

dragonfly# pkg_delete dri-4.3.0,1
. pkg_delete: file '/usr/X11R6/lib/modules/dri/gamma_dri.so' doesn't really 
exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/i810_dri.so' doesn't really exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/i830_dri.so' doesn't really exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/mga_dri.so' doesn't really exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/r128_dri.so' doesn't really exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/r200_dri.so' doesn't really exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/radeon_dri.so' doesn't really 
exist
pkg_delete: file '/usr/X11R6/lib/modules/dri/tdfx_dri.so' doesn't really exist
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

I went to /usr/X11R6/lib/modules/dri/ to see by myself and wipe any
remaining stuff:

dragonfly# ls
ls: gamma_dri.so: No such file or directory
ls: i810_dri.so: No such file or directory
ls: i830_dri.so: No such file or directory
ls: mga_dri.so: No such file or directory
ls: r128_dri.so: No such file or directory
ls: r200_dri.so: No such file or directory
ls: radeon_dri.so: No such file or directory
ls: tdfx_dri.so: No such file or directory
dragonfly# rm *
rm: No match.
dragonfly# rm gamma_dri.so 
rm: gamma_dri.so: No such file or directory

Please note that tab completion still works! It completed gamma_dri.so.

After this I get a bit suspicious and decide to go down to single user, unmount 
the /usr volume and fsck it. But everything is fine, which amazes me.

After which, I /sbin/reboot:

# /sbin/reboot
boot() called on cpu#1
Waiting (max 60 seconds) for system thread vnlru to stop...stopped
Waiting [...] bufdaemon to stop...stopped
Waiting [...] syncer to stop...stopped

syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
giving up on 1 buffers
Debugger("busy buffer problem")

CPU1 stopping CPUs: 0x00000001
 stopped
Stopped at	Debugger+0x34:  movb	$0,in_Debugger.363
db>

What the fsck?!? I guess this is not supposed to happen so I write this mail to
the kernel list. I apologize in advance if this turns out to be trivial.

regards

Raphael Marmier






More information about the Kernel mailing list