Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 03:24:32 +0100
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc:        questions@freebsd.org
Subject:   Re: buildworld inside a jail
Message-ID:  <200402060324.38196@harrymail>
In-Reply-To: <6.0.1.1.1.20040206020419.032b7910@imap.sfu.ca>
References:  <200402060259.07248@harrymail> <6.0.1.1.1.20040206020419.032b7910@imap.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-03=_mrvIANZTw2kYD1G
Content-Type: multipart/mixed;
  boundary="Boundary-01=_grvIAjmNurVOJ20"
Content-Transfer-Encoding: 7bit
Content-Description: signed data
Content-Disposition: inline

--Boundary-01=_grvIAjmNurVOJ20
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: body text
Content-Disposition: inline

On Friday 06 February 2004 03:05, Colin Percival wrote:
> At 01:59 06/02/2004, Harald Schmalzbauer wrote:
> >with identical (5.2-p2) sources I can buildworld on the host machine but
> > if I try to buildowrld inside a jail it fails with the following error:
>
>    "Works for me".  Can you describe
> * The kernel you're running,

Custom UP, APIC, SCHED_4BSD and acpi. Please find the config attached

> * The world you've got inside the jail, and

It's the world of "make installworld DESTDIR=3D/jail"

> * The contents of /dev inside the jail?

It's the result of [devfsrules_jail=3D4] from devfs.rules (/etc/defaults)=20
reading:
dr-xr-xr-x  2 root  wheel  -      512  5 Feb 23:21:07 2004 fd
dr-xr-xr-x  2 root  wheel  -      512  5 Feb 23:21:07 2004 net
crw-rw-rw-  1 root  wheel  -   2,   2  6 Feb 03:13:50 2004 null
crw-rw-rw-  1 root  wheel  -   6,   0  6 Feb 02:35:01 2004 ptyp0
crw-rw-rw-  1 root  wheel  -   6,   1  6 Feb 03:18:17 2004 ptyp1
crw-rw-rw-  1 root  wheel  -   6,   2  6 Feb 02:31:13 2004 ptyp2
crw-rw-rw-  1 root  wheel  -   6,   3  6 Feb 01:13:39 2004 ptyp3
crw-rw-rw-  1 root  wheel  - 249,   0  5 Feb 23:21:08 2004 random
lrwxr-xr-x  1 root  wheel  -        6  5 Feb 23:21:07 2004 stderr -> fd/2
lrwxr-xr-x  1 root  wheel  -        5  5 Feb 23:21:07 2004 stdin -> fd/0
lrwxr-xr-x  1 root  wheel  -        6  5 Feb 23:21:07 2004 stdout -> fd/1
crw-rw-rw-  1 root  wheel  -   5,   0  6 Feb 03:18:17 2004 ttyp0
crw--w----  1 root  tty    -   5,   1  6 Feb 03:18:17 2004 ttyp1
crw-rw-rw-  1 root  wheel  -   5,   2  6 Feb 02:31:13 2004 ttyp2
crw-rw-rw-  1 root  wheel  -   5,   3  6 Feb 01:13:39 2004 ttyp3
lrwxr-xr-x  1 root  wheel  -        7  5 Feb 23:21:07 2004 urandom -> random
crw-rw-rw-  1 root  wheel  -   2,  12  5 Feb 23:20:19 2004 zero

Thank you,

=2DHarry

P.S. Its past 3 in the mornig here so I'll be back tomorrow. Thanks a lot!
>
> Colin Percival
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--Boundary-01=_grvIAjmNurVOJ20
Content-Type: text/plain;
  charset="iso-8859-15";
  name="DFI"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="DFI"

machine		i386
cpu		I686_CPU
ident		DFI

options 	SCHED_4BSD		#4BSD scheduler
#options		SCHED_ULE
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options		QUOTA
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
#options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options         CLK_USE_I8254_CALIBRATION
options         CLK_USE_TSC_CALIBRATION
options         HZ=2000
options         PERFMON
options         RANDOM_IP_ID

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options         MPTABLE_FORCE_HTT
device		apic			# I/O APIC

device		isa
device		pci
device		agp		# support several AGP chipsets
device		npx
device		acpi

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		ch		# SCSI media changers
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# RAID controllers
device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
makeoptions     ATKBD_DFLT_KEYMAP=german.iso
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

# syscons is the default console driver, resembling an SCO console
device		sc
options         MAXCONS=12
options         SC_DISABLE_REBOOT
options         SC_DFLT_FONT            # compile font in
makeoptions     SC_DFLT_FONT=iso15

# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

device		miibus		# MII bus support
device		rl		# RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		bpf		# Berkeley packet filter

device		smb
device		smbus
device		ichsmb

--Boundary-01=_grvIAjmNurVOJ20--

--Boundary-03=_mrvIANZTw2kYD1G
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQBAIvrmBylq0S4AzzwRAgVtAJ0cB76pjzHMqlCQz+mcc7wIBTKi9gCfU+68
WkdPjKeLUT/zrEpLP8VBeTo=
=4KBr
-----END PGP SIGNATURE-----

--Boundary-03=_mrvIANZTw2kYD1G--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402060324.38196>