Hi there, I'm running a web server/email server over a xen VPS (called xen1, dom0 is xen0). Had some oddities after the last upgrade and suspected filesystem corruption. So I shut it down, backed up the image, and tried to fix the problematic partition. When I try to fsck (which I was able to do successfully from dom0), I get "cannot execute binary file". This whole thing is on a RAID5 so I doubt fsck is corrupt. Don't know what else to try though. Greatful for any advice. Filesystem is reiserfs. Console output is as follows: xen0:~# xm console xen1 Bootdata ok (command line is root=/dev/sda1 ro) Linux version 2.6.18-6-xen-amd64 (Debian 2.6.18.dfsg.1-17etch1) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed Jan 23 08:01:39 UTC 2008 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000020800000 (usable) No mptable found. Built 1 zonelists. Total pages: 133120 Kernel command line: root=/dev/sda1 ro Initializing CPU#0 PID hash table entries: 4096 (order: 12, 32768 bytes) Xen reported: 2204.996 MHz processor. Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) Software IO TLB disabled Memory: 493056k/532480k available (1949k kernel code, 30724k reserved, 878k data, 148k init) Calibrating delay using timer specific routine.. 5514.29 BogoMIPS (lpj=11028588) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 256 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 1024K (64 bytes/line) (SMP-)alternatives turned off Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 6, 262144 bytes) TCP established hash table entries: 131072 (order: 9, 2097152 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered audit: initializing netlink socket (disabled) audit(1201823012.506:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize Xen virtual console successfully installed as tty1 Event-channel device installed. netfront: Initialising virtual ethernet driver. PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 8 NET: Registered protocol family 20 Registering block device major 8 netfront: device eth0 has flipping receive path. Loading, please wait... Begin: Loading essential drivers... ... Done. Begin: Running /scripts/init-premount ... FATAL: Error inserting fan (/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/fan.ko): No such device processor: Unknown symbol pm_idle WARNING: Error inserting processor (/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/processor.ko): Unknown symbol in module, or unknown parameter (see dmesg) thermal: Unknown symbol acpi_processor_set_thermal_limit FATAL: Error inserting thermal (/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/acpi/thermal.ko): Unknown symbol in module, or unknown parameter (see dmesg) Done. Begin: Mounting root file system... ... Begin: Running /scripts/local-top ... Begin: Loading MD modules ... md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 md: raid1 personality registered for level 1 Success: loaded module raid1. Done. Begin: Assembling MD array /dev/md0 ... md: md0 stopped. mdadm: no devices found for /dev/md0 Failure: failed to start /dev/md0 Done. Begin: Assembling MD array /dev/md0 ... md: md0 stopped. mdadm: no devices found for /dev/md0 Failure: failed to start /dev/md0 Done. device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com Done. Begin: Running /scripts/local-premount ... Done. ReiserFS: sda1: found reiserfs format "3.6" with standard journal ReiserFS: sda1: using ordered data mode ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: sda1: checking transaction log (sda1) ReiserFS: sda1: Using r5 hash to sort names Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. modprobe: FATAL: Could not load /lib/modules/2.6.18-6-xen-amd64/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.18-6-xen-amd64/modules.dep: No such file or directory INIT: version 2.86 booting * Mount point '/dev/shm' does not exist. Skipping mount. Activating swap...Adding 1048568k swap on /dev/sda2. Priority:-1 extents:1 across:1048568k done. Checking root file system...modprobe: FATAL: Could not load /lib/modules/2.6.18-6-xen-amd64/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.18-6-xen-amd64/modules.dep: No such file or directory /etc/rcS.d/S10checkroot.sh: line 266: /sbin/logsave: cannot execute binary file failed (code 126). * An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. * The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. Press enter for maintenance (or type Control-D to continue): xen1:~# fsck /dev/sda1 modprobe: FATAL: Could not load /lib/modules/2.6.18-6-xen-amd64/modules.dep: No such file or directory modprobe: FATAL: Could not load /lib/modules/2.6.18-6-xen-amd64/modules.dep: No such file or directory bash: /sbin/fsck: cannot execute binary file --------------------------------- Ari Epstein Assistant Director Office of Assemblies 109 Day Hall Cornell University Ithaca, NY 14853 tel. 607 254 5161 mob. 607 222 5116 fax. 607 255 2182 |