Hi, 
    I build my UML linux from source and build my filesystem using mkrootfs 
tools, and run with ./linux ubda=../../rfs-1/root_fs mem=512m.
    I changed my mkrootfs one line from 
            addline etc/fstab               "/dev/ubd/0      /               
ext2    defaults 1 1"
    to
            addline etc/fstab               "/dev/ubda      /               
ext2    defaults 0 0"
    to solve the other problem "[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a 
/dev/ubd/0".
    Now a new problem troubles me. The boot log is with "
RQ 10/winch: IRQF_DISABLED is not guaranteed on shared IRQs
Welcome to Red Hat Enterprise Linux Server
Starting udev: modprobe: FATAL: Could not load 
/lib/modules/2.6.32.8/modules.dep: No such file or directory


line_ioctl: tty0: unknown ioctl: 0x541e
[  OK  ]
Setting hostname localhost:  [  OK  ]
Checking filesystems
Checking all file systems.
[  OK  ]
Remounting root filesystem in read-write mode:  mount: cannot remount block 
device /dev/ubda read-write, is write-protected
[FAILED]
can't create lock file /etc/mtab~408: Read-only file system (use -n flag to 
override)
Mounting local filesystems:  [FAILED]
touch: cannot touch `/.autorelabel': Read-only file system
touch: cannot touch `/var/lib/random-seed': Read-only file system
chmod: cannot access `/var/lib/random-seed': No such file or directory
rm: cannot remove `/var/run/utmp': Read-only file system
/etc/rc.d/rc.sysinit: line 597: /var/run/utmp: Read-only file system
touch: cannot touch `/var/log/wtmp': Read-only file system
/etc/rc.d/rc.sysinit: line 594: plymouth: command not found
chgrp: changing group of `/var/run/utmp': Read-only file system
chgrp: changing group of `/var/log/wtmp': Read-only file system
chmod: changing permissions of `/var/run/utmp': Read-only file system
chmod: changing permissions of `/var/log/wtmp': Read-only file system
chown: cannot access `/tmp/.ICE-unix': No such file or directory
Enabling /etc/fstab swaps:  [  OK  ]
modprobe: FATAL: Could not load /lib/modules/2.6.32.8/modules.dep: No such file 
or directory


/etc/rc.d/rc.sysinit: line 654: /var/log/dmesg: Read-only file system
/etc/rc.d/rc.sysinit: line 659: plymouth: command not found
IRQ 10/winch: IRQF_DISABLED is not guaranteed on shared IRQs
modprobe: FATAL: Could not load /lib/modules/2.6.32.8/modules.dep: No such file 
or directory


IRQ 10/winch: IRQF_DISABLED is not guaranteed on shared IRQs
Entering non-interactive startup
FATAL: Could not load /lib/modules/2.6.32.8/modules.dep: No such file or 
directory
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  Device eth0 does not seem to be present, delaying 
initialization.
[FAILED]
FATAL: Could not load /lib/modules/2.6.32.8/modules.dep: No such file or 
directory
touch: cannot touch `/var/lock/subsys/network': Read-only file system
awk: cmd. line:1: fatal: cannot open file `/etc/mtab' for reading (No such file 
or directory)
xterm_open : run_helper failed, errno = 2
Failed to open console 2, err = -2
xterm_open : run_helper failed, errno = 2
Failed to open console 3, err = -2
xterm_open : run_helper failed, errno = 2
Failed to open console 5, err = -2
xterm_open : run_helper failed, errno = 2
Failed to open console 1, err = -2
xterm_open : run_helper failed, errno = 2
Failed to open console 6, err = -2
xterm_open : run_helper failed, errno = 2
Failed to open console 4, err = -2
IRQ 10/winch: IRQF_DISABLED is not guaranteed on shared IRQs
init: tty (/dev/tty2) main process (571) terminated with status 1
IRQ 10/winch: IRQF_DISABLED is not guaranteed on shared IRQs
init: tty (/dev/tty2) main process ended, respawning
xterm_open : run_helper failed, errno = 2
"
    Any suggestion or hints is much appreciated.


    @Toralf Forster, I find you had met the same problem and how did you solve 
it finally?


Jotus.


|
>From: Toralf Förster <toralf.foerster@gm...> - 2012-10-25 19:41:18
|
|
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1

>I cloned a 1.2 GB UML file w/ ext3 fs (Gentoo Linux) into a 2.0 GB bigger file 
>with ext4. Trying to boot the >image however I always get :

>...
> [ ok ]
> * Checking local filesystems  ...
>stable: clean, 81157/122160 files, 265527/488281 blocks
> [ ok ]
> * Remounting root filesystem read/write ...
>mount: cannot remount block device /dev/ubda read-write, is write-protected
> * Root filesystem could not be mounted read/write
 



>probably PEBKAC - but what I missed ????
|




 
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to