From: Agus <ag...@do...> - 2003-11-15 00:38:38
|
Thanks for the help. I have been able to move forward. I am only = building on RedHat 8.0 now. My latest errors are as follows: During XFree86 build, at the time the patches (4.2.0-4.2.1.diff.gz, = 4.2.1-mit-shm-security.patch, and 4.2.1-rogerb-fonterror.patch) are = applied, there are 2 files that the script thinks are missing. For each = of those 2 files, I hit the Enter key twice to skip it. Here are the = traces from the two files: ************************************************************************ + tar xfz = /home/agus/wrk/dws/prj/uml_fs_scripts/make_uml_rpm/rpm/SOURCES/X420src-1.= tgz + cd xc + gzip -d + patch -p1 patching file config/cf/FreeBSD.cf patching file config/cf/Imake.tmpl patching file config/cf/Imakefile patching file config/cf/NetBSD.cf patching file config/cf/OpenBSD.cf patching file config/cf/X11.tmpl patching file config/cf/cygwin.cf patching file config/cf/darwin.cf patching file config/cf/darwinLib.rules patching file config/cf/darwinLib.tmpl patching file config/cf/linux.cf patching file config/cf/sun.cf can't find file to patch at input line 403 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: xc/doc/specs/Xaw/TextSource |diff -u xc/doc/specs/Xaw/TextSource:1.1.1.3 = xc/doc/specs/Xaw/TextSource:1.1.1.3.6.1 |--- xc/doc/specs/Xaw/TextSource:1.1.1.3 Tue Jan 16 17:02:55 2001 |+++ xc/doc/specs/Xaw/TextSource Thu Jul 4 13:07:09 2002 -------------------------- File to patch:=20 Skip this patch? [y]=20 Skipping patch. 1 out of 1 hunk ignored :::::: :::::: :::::: + patch -p1 patching file config/cf/FreeBSD.cf patching file config/cf/Imake.tmpl patching file config/cf/OpenBSD.cf can't find file to patch at input line 62 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: xc/doc/specs/Xext/mit-shm.ms |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |RCS file: /home/x-cvs/xc/doc/specs/Xext/mit-shm.ms,v |retrieving revision 1.1.1.1 |diff -u -r1.1.1.1 mit-shm.ms |--- xc/doc/specs/Xext/mit-shm.ms 1994/04/27 07:25:28 1.1.1.1 |+++ xc/doc/specs/Xext/mit-shm.ms 2002/09/12 20:51:18 -------------------------- File to patch:=20 Skip this patch? [y]=20 Skipping patch. 1 out of 1 hunk ignored ************************************************************************ The build then continue until it hits the following error: ************************************************************************ Wrote: = /home/agus/wrk/dws/prj/uml_fs_scripts/make_uml_rpm/rpm/SRPMS/Xnest-static= -4.2.1pl1-4umlbuilder.src.rpm Wrote: = /home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/umlb= uilder/i386/Xnest-static-4.2.1pl1-4umlbuilder.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.53917 + umask 022 + cd /home/agus/wrk/dws/prj/uml_fs_scripts/make_uml_rpm/rpm/BUILD + rm -rf /var/tmp/Xnest-static-buildroot + exit 0 cd miniroot ; make make[1]: Entering directory = `/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/miniroot' rm -f miniroot mr mr-stage python makeminiroot.py rh90-mr.p /space/distros/RPMS-rh90 busybox.rpm Populating installfs Traceback (most recent call last): File "makeminiroot.py", line 45, in ? File = "/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/pkg_collection.py", line 377, in getalldeps for i in packages: p.append(self.getrpmname(i)) File = "/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/pkg_collection.py", line 290, in getrpmname raise ValueError, "No rpm matching "+package ValueError: No rpm matching glibc make[1]: *** [miniroot] Error 1 make[1]: Leaving directory = `/home/agus/wrk/dws/prj/uml_fs_scripts/umlbuilder/src_UMLBUILDER_1_40/uml= builder/miniroot' make: *** [mrmake] Error 2 ************************************************************************ You mentioned about the rpms for Redhat 9 in your previous reply. I = don't quite understand. Can you please elaborate. Do I need to create = /space/distros/RPMS-rh90 and copy all Redhat 9 rpms into that directory? Thanks for all the help. Agus -----Original Message----- From: Roger Binns [mailto:ro...@ro...] Sent: Thu 11/13/2003 23:47 To: uml...@li... Cc:=09 Subject: Re: [umlbuilder-devel] RE: Building umlbuilder from source > Which source tag > (UMLBUILDER_1_40=20 That is a branch tag and includes all the 1.4 and 1.5 releases. I did = do some work on the head for what would become UML Builder 2.0 but have = abandoned it since I have had better ideas since then (although no time to = implement them yet). > error: Failed to rename /usr/src/redhat/SPECS/rpm-spec.KK1VEF to = /usr/src/redhat/SPECS/rpm-spec.KK1VEF: No such file or > directory: No such file or directory=20 You need to setup directories you have permissions to write to. Follow in the instructions on the site for building your own UML rpms. There is a fair bit of other software and sources you will need. These include XFree86 (for the Xnest server), busybox (for the miniroot = filesystem image) and rpms for Redhat 9 (for the miniroot, eg mkfs commands for the various filesystem types). Let us know where you next fall over. Roger ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ umlbuilder-devel mailing list uml...@li... https://lists.sourceforge.net/lists/listinfo/umlbuilder-devel |
From: Agus <ag...@do...> - 2003-11-15 05:03:30
|
Thanks for all the help. I got it to build and produced the = umlbuilder-1.50.3.rpm. I uninstalled the pre-built version, installed the one from my build, = and used it to generate a RH8 distribution. Everything went fine until I = tried to use the resulting filesystems with UML. UML refused to come up = with the following errors: *************************************************************************= * $ /home/agus/wrk/dws/prj/uml_fs_scripts/filesystems/redhat0800c/control = start 172.16.7.3 being added to access control list xhost: must be on local machine to add or remove hosts. Checking for the skas3 patch in the host...not found Checking for /proc/mm...not found tracing thread pid =3D 23917 Linux version 2.4.22-custom-5um (agus@redhat0800a) (gcc version 3.2 = 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Fri Nov 14 13:19:54 PST 2003 On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: umid=3Dredhat0800c ubd0=3Drootfs root=3D/dev/ubd0 = ubd7=3Dswapfs mem=3D64m eth0=3Dtuntap,,,192.168.199.3 = UML_XDISPLAY=3D192.168.199.6:0.0 Calibrating delay loop... 2590.13 BogoMIPS Memory: 60948k available Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 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: 16384 (order: 4, 65536 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 devfs: v1.12c (20020818) Richard Gooch (rg...@at...) devfs: boot_options: 0x1 JFFS version 1.0, (C) 1999, 2000 Axis Communications AB JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis = Communications AB. pty: 256 Unix98 ptys configured SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=3D256). RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) PPP generic driver version 2.4.2 Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky SCSI subsystem driver Revision: 1.00 scsi0 : scsi_debug, Version: 0.61 (20020815), num_devs=3D1, = dev_size_mb=3D8, opts=3D0x0 Vendor: Linux Model: scsi_debug Rev: 0004 Type: Direct-Access ANSI SCSI revision: 03 blkmtd: error: missing `device' name Initializing software serial port version 1 mconsole (version 2) initialized on /home/agus/.uml/redhat0800c/mconsole Partition check: ubda: unknown partition table ubdh: unknown partition table UML Audio Relay (host dsp =3D /dev/sound/dsp, host mixer =3D = /dev/sound/mixer) Initializing stdio console driver Netdevice 0 : TUN/TAP backend - IP =3D 192.168.199.3 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. EXT2-fs warning (device ubd(98,0)): ext2_read_super: mounting ext3 = filesystem as ext2 VFS: Mounted root (ext2 filesystem) readonly. mount_devfs_fs(): unable to mount devfs, err: -2 Warning: unable to open an initial console. Kernel panic: No init found. Try passing init=3D option to kernel. *************************************************************************= * Thanks for all the help. Agus -----Original Message----- From: Roger Binns [mailto:ro...@ro...] Sent: Fri 11/14/2003 17:05 To: uml...@li... Cc:=09 Subject: Re: [umlbuilder-devel] RE: Building umlbuilder from source > there are 2 files that the script thinks are missing. For each of = those 2 files, I hit > the Enter key twice to skip it. Here are the traces from the two = files: =20 They are both documentation files which aren't in the the src-1 file. I just skip those two patches as you did since it is pointless adding = the doc source file just to let them pass. > You mentioned about the rpms for Redhat 9 in your previous reply. > I don't quite understand. Can you please elaborate. Do I need > to create /space/distros/RPMS-rh90 and copy all Redhat 9 rpms into = that directory?=20 Yes. The miniroot builds initial ramdisks, installs modules and can resize filesystems (it creates a new one and copies content across). You won't need the rpms for Gnome, KDE, X, admin tools etc but it will need the filesystem ones, the initrd shells etc. Roger ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dmm/g22lp.tmp= l _______________________________________________ umlbuilder-devel mailing list uml...@li... https://lists.sourceforge.net/lists/listinfo/umlbuilder-devel |
From: Roger B. <ro...@ro...> - 2003-11-15 05:18:50
|
> UML refused to come up with the following errors: > > mount_devfs_fs(): unable to mount devfs, err: -2 err -2 is no such file or directory. Somehow you don't have a /dev. You can do 'control mount' to have a look inside. > Kernel panic: No init found. Try passing init= option to kernel. This is even more bizarre. It seems like your guest has empty filesystems. Roger |
From: Agus <ag...@do...> - 2003-11-15 20:08:16
|
SSBub3RpY2VkIHRoZXJlIHdlcmUgcXVpdGUgYSBmZXcgbWVzc2FnZXMgc2F5aW5nICJubyBwZXJt aXNzaW9uIiBkdXJpbmcgdGhlIGZpbGVzeXN0ZW0gY3JlYXRpb24gcHJvY2Vzcy4NCiANCldoZW4g SSBjaGFuZ2VkIHRoZSAtLWZzdHlwZSBmcm9tIGV4dDMgdG8gZXh0MiBhbmQgcmVjcmVhdGVkIHRo ZSBmaWxlc3lzdGVtcywgSSBkb24ncyBzZWUgYW55ICJubyBwZXJtaXNzaW9uIiBtZXNzYWdlIGF0 IGFsbC4gQW5kIEkgY2FuIGxhdW5jaCBVTUwgc3VjY2Vzc2Z1bGx5IHdpdGggdGhlIHJlc3VsdGlu ZyBmaWxlc3lzdGVtcy4NCiANCkRvZXMgdGhlIGhvc3QgZnN0eXBlIGhhdmUgdG8gYmUgZXh0MyBp biBvcmRlciB0byBnZW5lcmF0ZSBleHQzIGZpbGVzeXN0ZW0/IEkgYW0gbm90IHN1cmUgd2hhdCBt eSBob3N0IGZzdHlwZSBpcy4gSSB3aWxsIGZpbmQgb3V0Lg0KIA0KQWd1cw0KDQoJLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0gDQoJRnJvbTogUm9nZXIgQmlubnMgW21haWx0bzpyb2dlcmJAcm9n ZXJiaW5ucy5jb21dIA0KCVNlbnQ6IEZyaSAxMS8xNC8yMDAzIDIxOjE5IA0KCVRvOiB1bWxidWls ZGVyLWRldmVsQGxpc3RzLnNvdXJjZWZvcmdlLm5ldCANCglDYzogDQoJU3ViamVjdDogUmU6IFt1 bWxidWlsZGVyLWRldmVsXSBSRTogQnVpbGRpbmcgd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GJ1aWxkZXItZGV2 ZWwgbWFpbGluZyBsaXN0DQoJdW1sYnVpbGRlci1kZXZlbEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQN CglodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5mby91bWxidWlsZGVy LWRldmVsDQoJDQoNCg== |
From: Roger B. <ro...@ro...> - 2003-11-15 20:14:54
|
> I noticed there were quite a few messages saying "no permission" during the filesystem creation process. Your UML probably had no ext3 support. Consequently the filesystem being built would fail to mount, and instead be running against your hostfs which won't work. The code is supposed to spot this kind of thing, but it is develishly hard to figure out. Roger |
From: Roger B. <ro...@ro...> - 2003-11-15 01:05:27
|
> there are 2 files that the script thinks are missing. For each of those 2 files, I hit > the Enter key twice to skip it. Here are the traces from the two files: They are both documentation files which aren't in the the src-1 file. I just skip those two patches as you did since it is pointless adding the doc source file just to let them pass. > You mentioned about the rpms for Redhat 9 in your previous reply. > I don't quite understand. Can you please elaborate. Do I need > to create /space/distros/RPMS-rh90 and copy all Redhat 9 rpms into that directory? Yes. The miniroot builds initial ramdisks, installs modules and can resize filesystems (it creates a new one and copies content across). You won't need the rpms for Gnome, KDE, X, admin tools etc but it will need the filesystem ones, the initrd shells etc. Roger |