Bug#436943: grub-pc: xfs.mod reads some directories incorrectly
Niels Boehm
bitbucket at arcor.de
Sat Jun 28 06:15:33 UTC 2008
Package: grub-pc
Version: 1.96+20080512-1
Followup-For: Bug #436943
Hi,
grub2 fails for me in the aforementioned manner. It is unable to read
anything from /boot or /boot/grub which are both on my root partition with
an xfs file system.
Trying to ls some directories, I find that some read without problem
(apparently ones containing only a few entries, like / /mnt /media /lib64
for example) and others produce garbled output and the "out of partition"
error (ones with many entries, like /boot /boot/grub /etc /bin for example).
I checked the root fs with /usr/sbin/xfs_check, but it looks alright.
And if I remember correctly, I created the root fs not long ago, so it
should have quite recent data structures. The log being version 2 confirms
that:
# xfs_info /
meta-data=/dev/root isize=256 agcount=4, agsize=64510 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=258040, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=1200, version=2
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
Regards,
Niels Böhm
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/root / xfs rw,noatime,ikeep,noquota 0 0
/dev/root /dev/.static/dev xfs rw,ikeep,noquota 0 0
/dev/mapper/vg_sys-var /var xfs rw,noatime,ikeep,noquota 0 0
/dev/mapper/vg_sys-home /home xfs rw,ikeep,noquota 0 0
/dev/mapper/vg_sys-usr /usr xfs rw,noatime,ikeep,noquota 0 0
/dev/hda1 /mnt/c vfat rw,uid=1000,gid=4,fmask=0022,dmask=0022,codepage=cp850,iocharset=iso8859-1,utf8 0 0
/dev/hda2 /mnt/d fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
/dev/hda3 /mnt/e fuseblk rw,user_id=0,group_id=0,default_permissions,allow_other 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/sda
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod lvm
set default=0
set timeout=5
set root=(hd1,1)
if font (vg_sys-usr)/share/grub/unicode.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod png
if background_image (vg_sys-usr)/share/images/desktop-base/debian-blueish-wallpaper-640x480.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.25-doremi-0" {
linux (hd1,1)/boot/vmlinuz-2.6.25-doremi-0 root=/dev/sda1 ro
}
menuentry "Debian GNU/Linux, linux 2.6.25-doremi-0 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.25-doremi-0 root=/dev/sda1 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" {
linux (hd1,1)/boot/vmlinuz-2.6.25-2-amd64 root=/dev/sda1 ro
initrd (hd1,1)/boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.25-2-amd64 root=/dev/sda1 ro single
initrd (hd1,1)/boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686" {
linux (hd1,1)/boot/vmlinuz-2.6.25-2-686 root=/dev/sda1 ro
initrd (hd1,1)/boot/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.25-2-686 root=/dev/sda1 ro single
initrd (hd1,1)/boot/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-4" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-4 root=/dev/sda1 ro
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-4 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-4 root=/dev/sda1 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-3" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-3 root=/dev/sda1 ro
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-3 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-3 root=/dev/sda1 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-2" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-2 root=/dev/sda1 ro
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-2 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-2 root=/dev/sda1 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-1" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-1 root=/dev/sda1 ro
}
menuentry "Debian GNU/Linux, linux 2.6.24-doremi-1 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.24-doremi-1 root=/dev/sda1 ro single
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64" {
linux (hd1,1)/boot/vmlinuz-2.6.24-1-amd64 root=/dev/sda1 ro
initrd (hd1,1)/boot/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.24-1-amd64 root=/dev/sda1 ro single
initrd (hd1,1)/boot/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686" {
linux (hd1,1)/boot/vmlinuz-2.6.24-1-686 root=/dev/sda1 ro
initrd (hd1,1)/boot/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
linux (hd1,1)/boot/vmlinuz-2.6.24-1-686 root=/dev/sda1 ro single
initrd (hd1,1)/boot/initrd.img-2.6.24-1-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
linux (hd1,1)/boot/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux (hd1,1)/boot/memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/22_invaders ###
menuentry "GRUB Invaders" {
multiboot (hd1,1)/boot/invaders
}
### END /etc/grub.d/22_invaders ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers testing-proposed-updates
APT policy: (925, 'testing-proposed-updates'), (925, 'testing'), (825, 'proposed-updates'), (825, 'stable'), (400, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-doremi-4 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii grub-common 1.96+20080512-1 GRand Unified Bootloader, version
ii libc6 2.7-10 GNU C Library: Shared libraries
ii liblzo2-2 2.03-1 data compression library
ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand
grub-pc recommends no packages.
-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
More information about the Pkg-grub-devel
mailing list