From: <ata...@cs...> - 2004-07-28 16:00:10
|
Hi! I downloaded some root file sytems and got the following errors on a Debian 2.6.3-1-386 when I tired to run UML 1)with Debian-3.0r0.ext2 rootfs ashwin@Debian:/usr/bin$ ./linux ubd0=3D/uml/Debian-3.0r0.ext2 Checking for the skas3 patch in the host...not found Checking for /proc/mm...not found tracing thread pid =3D 1974 Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Linux version 2.4.26-1um (root@mizar) (gcc version 3.3.3 (Debian 20040422)) #2 Sat Jun 5 12:15:21 PDT 2004 On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: ubd0=3D/uml/Debian-3.0r0.ext2 root=3D/dev/ubd0 Calibrating delay loop... 4023.91 BogoMIPS Memory: 28148k available Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch (rg...@at...) devfs: boot_options: 0x0 SGI XFS with ACLs, no debug enabled SGI XFS Quota Management subsystem Disabling 2.6 AIO in tt mode pty: 256 Unix98 ptys configured RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Initializing Cryptographic API Initializing software serial port version 1 mconsole (version 2) initialized on /home/ashwin/.uml/I4vNmf/mconsole Partition check: ubda: unknown partition table Initializing stdio console driver NET4: Linux TCP/IP 1.0 for NET4.0 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 4096) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem) readonly. INIT: version 2.84 booting Activating swap. Checking root file system... fsck 1.27 (8-Mar-2002) fsck.ext2: No such file or directory while trying to open /dev/ubd/0 /dev/ubd/0: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock= : e2fsck -b 8193 <device> fsck failed. Please repair manually and reboot. Please note that the root file system is currently mounted read-only. To remount it read-write: # mount -n -o remount,rw / CONTROL-D will exit from this shell and REBOOT the system. (none):~# 2)with root_fs_toms1.7.205 ashwin@Debian:/usr/bin$ ./linux ubd0=3D/uml/root_fs_toms1.7.205 Checking for the skas3 patch in the host...not found Checking for /proc/mm...not found tracing thread pid =3D 2085 Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Checking for /dev/anon on the host...Not available (open failed with errn= o 2) Linux version 2.4.26-1um (root@mizar) (gcc version 3.3.3 (Debian 20040422)) #2 Sat Jun 5 12:15:21 PDT 2004On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: ubd0=3D/uml/root_fs_toms1.7.205 root=3D/dev/ubd0 Calibrating delay loop... 4010.80 BogoMIPS Memory: 28148k available Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) Checking for host processor cmov support...Yes Checking for host processor xmm support...No Checking that ptrace can change system call numbers...OK Checking that host ptys support output SIGIO...Yes Checking that host ptys support SIGIO on close...No, enabling workaround POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 Journalled Block Device driver loaded devfs: v1.12c (20020818) Richard Gooch (rg...@at...) devfs: boot_options: 0x0 SGI XFS with ACLs, no debug enabled SGI XFS Quota Management subsystem Disabling 2.6 AIO in tt mode pty: 256 Unix98 ptys configured RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Initializing Cryptographic API Initializing software serial port version 1 mconsole (version 2) initialized on /home/ashwin/.uml/brsNYL/mconsole Partition check: ubda: unknown partition table Initializing stdio console driver NET4: Linux TCP/IP 1.0 for NET4.0 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 4096) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem) readonly. INIT: version 2.84 booting EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended INIT: Entering runlevel: 5 Can anyone tell me what i can do? Thanks, Ashwin. > Hello :-) > >> Please append a correct "root=3D" boot option >> Kernel panic: VFS: Unable to mount root fs on 62:00 >> <6>SysRq : Show Regs > > have u create root disk image? You can use UMLBuilder of mkrootfs to do > that.... > > regards > > Mulyadi |
From: BlaisorBlade <bla...@ya...> - 2004-08-29 21:09:47
|
Alle 17:59, mercoled=EC 28 luglio 2004, ata...@cs... ha scritto: > Hi! > I downloaded some root file sytems and got the following errors on a > Debian 2.6.3-1-386 when I tired to run UML > 1)with Debian-3.0r0.ext2 rootfs > Checking root file system... > fsck 1.27 (8-Mar-2002) > fsck.ext2: No such file or directory while trying to open /dev/ubd/0 > /dev/ubd/0: > The superblock could not be read or does not describe a correct ext2 > filesystem. If the device is valid and it really contains an ext2 > filesystem (and not swap or ufs or something else), then the superblock > is corrupt, and you might try running e2fsck with an alternate superblock: > e2fsck -b 8193 <device> > > > fsck failed. Please repair manually and reboot. Please note > that the root file system is currently mounted read-only. To > remount it read-write: > > # mount -n -o remount,rw / > > CONTROL-D will exit from this shell and REBOOT the system. > > (none):~# The /etc/fstab inside this rootFs tries to access /dev/ubd/0, which exists= =20 only if you use DevFS: you can enable it, in the kernel config and/or by=20 adding devfs=3Dmount to the command line. Or you can loop-mount the rootfs,= =20 create /dev/ubd? with this for i in 0 1 2 3 4 5 6 7; do mknod ubd$i b 98 $[ $i * 16 ]; done and edit /etc/fstab to refer to it. I.e. replace /dev/ubd/0 with /dev/ubd0,= =20 and repeat for other /dev/ubd/# to /dev/ubd#. Bye =2D-=20 Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 |