All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] help needed for running uml on a sarge
@ 2004-07-27 16:39 atanugul
  2004-07-27 16:57 ` Mulyadi Santosa
  0 siblings, 1 reply; 6+ messages in thread
From: atanugul @ 2004-07-27 16:39 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi!
I am a newbie to the user mode linux.I tried to run user mode linux on a
sarge installation. I installed uml by using 'apt-get install
user-mode-linux'. Then I did the following


ashwin@Debian:~$ cd /usr/bin
ashwin@Debian:/usr/bin$ ./linux
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 2772
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 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: root=/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 (rgooch@atnf.csiro.au)
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/VoZ3kS/mconsole
unable to open root_fs for validation
Initializing stdio console driver
ashwin@Debian:/usr/bin$ cd /usr/bin
ashwin@Debian:/usr/bin$ ./linux
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 2824
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 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: root=/dev/ubd0
Calibrating delay loop... 4037.01 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 (rgooch@atnf.csiro.au)
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/TTQaVd/mconsole
unable to open root_fs for validation
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: Cannot open root device "ubd0" or 62:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 62:00
 <6>SysRq : Show Regs

EIP: 0073:[<a0201bb2>] CPU: 0 Not tainted ESP: 007b:a03f76a4 EFLAGS: 00200282
    Not tainted
EAX: 00000000 EBX: 00000001 ECX: a03f7744 EDX: a03f76c4
ESI: 00000008 EDI: 0000000a EBP: a03f76ac DS: 007b ES: 007b
Call Trace: [<a016ecd0>] [<a015589f>] [<a0023b2d>] [<a0014c08>] [<a0002ac0>]
   [<a02697a0>] [<a000f680>] [<a0003c0c>] [<a025f57f>] [<a000f680>]
   [<a000fc25>]   [<a025f57f>] [<a000f693>] [<a0201900>] [<a014f7b9>]
   [<a0201c44>]   [<a000f680>]   [<a014f79e>] [<a000f680>] [<a0156e35>] [<a000f680>]
   [<a0201b58>]   [<a0201bb2>]


can someone tell me what shd i do?

thanks
Ashwin








-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] help needed for running uml on a sarge
  2004-07-27 16:39 [uml-devel] help needed for running uml on a sarge atanugul
@ 2004-07-27 16:57 ` Mulyadi Santosa
  2004-07-28 15:59   ` atanugul
  0 siblings, 1 reply; 6+ messages in thread
From: Mulyadi Santosa @ 2004-07-27 16:57 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: atanugul

Hello :-)

> Please append a correct "root=" 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



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] help needed for running uml on a sarge
  2004-07-27 16:57 ` Mulyadi Santosa
@ 2004-07-28 15:59   ` atanugul
  2004-07-29 13:17     ` Mulyadi Santosa
  2004-08-24 15:43     ` BlaisorBlade
  0 siblings, 2 replies; 6+ messages in thread
From: atanugul @ 2004-07-28 15:59 UTC (permalink / raw)
  To: a_mulyadi; +Cc: user-mode-linux-devel, atanugul, user-mode-linux-user

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=/uml/Debian-3.0r0.ext2
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 1974
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 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=/uml/Debian-3.0r0.ext2 root=/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 (rgooch@atnf.csiro.au)
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=/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 = 2085
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Checking for /dev/anon on the host...Not available (open failed with errno 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=/uml/root_fs_toms1.7.205 root=/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 (rgooch@atnf.csiro.au)
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=" 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





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] help needed for running uml on a sarge
  2004-07-28 15:59   ` atanugul
@ 2004-07-29 13:17     ` Mulyadi Santosa
  2004-07-29 17:23       ` Brian McGroarty
  2004-08-24 15:43     ` BlaisorBlade
  1 sibling, 1 reply; 6+ messages in thread
From: Mulyadi Santosa @ 2004-07-29 13:17 UTC (permalink / raw)
  To: atanugul; +Cc: user-mode-linux-devel

Hello :-)

your first ext2 image seems to have errors. Not sure why ...but you can force 
to do efsck

about your 2nd ext2 image...looks like it's fine.....the only problem , the 
image boots into runlevel 5 (X Window mode). Maybe you can do loopback 
mounting and manually edit the file /etc/inittab inside the image to boot 
into runlevel 2 or 3

Otherwise, you can try UMLBuilder to build your own disk image

regards

Mulyadi



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] help needed for running uml on a sarge
  2004-07-29 13:17     ` Mulyadi Santosa
@ 2004-07-29 17:23       ` Brian McGroarty
  0 siblings, 0 replies; 6+ messages in thread
From: Brian McGroarty @ 2004-07-29 17:23 UTC (permalink / raw)
  To: Mulyadi Santosa; +Cc: atanugul, user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

On Thu, Jul 29, 2004 at 08:17:42PM +0700, Mulyadi Santosa wrote:
> 
> about your 2nd ext2 image...looks like it's fine.....the only problem , the 
> image boots into runlevel 5 (X Window mode). Maybe you can do loopback 
> mounting and manually edit the file /etc/inittab inside the image to boot 
> into runlevel 2 or 3

Don't forget also - you can pass "-s" on the command line to go
single-user, just as you can with a normal kernel.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] help needed for running uml on a sarge
  2004-07-28 15:59   ` atanugul
  2004-07-29 13:17     ` Mulyadi Santosa
@ 2004-08-24 15:43     ` BlaisorBlade
  1 sibling, 0 replies; 6+ messages in thread
From: BlaisorBlade @ 2004-08-24 15:43 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: atanugul, a_mulyadi, user-mode-linux-user

Alle 17:59, mercoledì 28 luglio 2004, atanugul@csee.wvu.edu 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 
only if you use DevFS: you can enable it, in the kernel config and/or by 
adding devfs=mount to the command line. Or you can loop-mount the rootfs, 
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, 
and repeat for other /dev/ubd/# to /dev/ubd#.

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-29 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 16:39 [uml-devel] help needed for running uml on a sarge atanugul
2004-07-27 16:57 ` Mulyadi Santosa
2004-07-28 15:59   ` atanugul
2004-07-29 13:17     ` Mulyadi Santosa
2004-07-29 17:23       ` Brian McGroarty
2004-08-24 15:43     ` BlaisorBlade

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.