Eric,

On Mon, 09 Sep 2002 11:18:57 -0400 Eric Kiser wrote:

> Okay, I must be doing something wrong and just don't realize it. I have
> followed the direction listed in the online documentation multiple times and
> I am still not getting anywhere. I did quite a bit of searching over the
> weekend for the message "sh: can't access tty; job control turned off" but
> all that I turned up was dead ends and wonderfully irrelevant information
> like "upgrade your mail server". Given the fact that I did not find an
> answer that helped me that mail server link was definitely the most
> entertaining. To the ignorant mind (that would be me) it just so completely
> seemed to have nothing to do with my problem. Here is what I have tried...
> 
> Bering_1.0-rc3_img_bering_1680.bin
> with both linuxuml-2.4.18-21 and -45
> 
> and...
> 
> Bering_1.0-rc2_img_bering_1680.bin
> with both linuxuml-2.4.18-21 and -45
> 
> I did differ from the instructions in that I named my file system bering_fs
> instead of Bering_fs and (note the upper case B was recommended in the docs)
> I used the username uml_dev instead of leafuml (if this is the problem then
> I will proceed with kicking my own ass just to make up for annoying everyone
> with these messages).
> 
> Here is a copy of my startuml script (notice I did maintain the lower case
> 'b' in bering_fs and 'yes' I did modify the script when I changed
> kernels)...
> 
> #! /bin/sh
> ./linuxuml-2.4.28-45 ubd0=bering_fs initrd=initrd.lrp root=/dev/ram0
> init=/linuxrc boot=/dev/ubd0:minix PKGPATH=/dev/ubd0 devfs=nomount
> LRP=root,etc,local,log,modules
> 
> After the message:
> sh: can't access tty; job control turned off
> 
> I get the # prompt where I typed exit and got:
> Kernel panic: Attempted to kill init!
> 
> If none of this is helpful to anyone could someone at least confirm that
> they have managed to get rc2 or rc3 running with either of the -21 or -45
> kernels by following the direction as posted in the on line docs.
 
I have run rc3 under -45 by following Jacques' instructions.  I
don't remember finding any problems with the docs, but it's been
over a month and I could have forgotten if there were.  I am sure
I would have reported any significant problems to Jacques on
leaf-devel.

I am running UML under debian testing with a custom 2.4.18 kernel.

  $ ls -l
  total 4152
  -rw-r--r--    1 brad     brad      2048000 Aug 17 10:20 bering_fs
  -rwxr-xr-x    1 brad     brad       410442 Aug 17 10:20 initrd.lrp
  -rwxr-xr-x    1 brad     brad      1777972 Aug 17 10:20 linuxuml-2.4.18-45
  -rw-r--r--    1 brad     brad           73 Aug 17 18:05 packages
  -rwxr-xr-x    1 brad     brad          424 Aug 17 18:29 test


  I start it with a "test" script:

  $ cat test
  #!/bin/sh

  ./linuxuml-2.4.18-45 eth0=tuntap,tap0 \
                       eth1=tuntap,tap1 \
                       eth2=tuntap,tap2 \
                       ubd0=bering_fs \
                       initrd=initrd.lrp \
                       root=/dev/ram0 \
                       init=/linuxrc \
                       boot=/dev/ubd0:minix \
                       PKGPATH=/dev/ubd0 devfs=nomount \
                       LRP=`cat packages`

  $ cat packages 
  root,etc,local,modules,shorwall,dnscache,weblet,libz,sshd,ntpclnt,dhcpd

I have also included a log of the UML startup below my signature.

Have you tried setting VERBOSE=1 and DEBUG=1 in /linuxrc in your
initrd.lrp image?  They might give you more context for the " can't
access tty" error.

Let me know if there's anything I can do to help.  I'd be happy
to send you copies of my bering_fs or initrd.lrp files offlist
if that would help.

--Brad

tracing thread pid = 16344
Linux version 2.4.18 (root@debian) (gcc version 2.95.4 20011002 (Debian prerelease)) 
#8 Sun Jul 28 13:01:33 CEST 2002
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: eth0=tuntap,tap0 eth1=tuntap,tap1 eth2=tuntap,tap2 ubd0=bering_fs 
initrd=initrd.lrp root=/dev/ram0 init=/linuxrc boot=/dev/ubd0:minix PKGPATH=/dev/ubd0 
devfs=nomount 
LRP=root,etc,local,modules,shorwall,dnscache,weblet,libz,sshd,ntpclnt,dhcpd
Calibrating delay loop... 618.52 BogoMIPS
Memory: 29892k 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...No, enabling workaround
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
devfs: v1.10 (20020120) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Software Watchdog Timer: 0.05, timer margin: 60 sec
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.0 (256 buckets, 2048 max) - 312 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Netdevice 0 : TUN/TAP backend - 
Netdevice 1 : TUN/TAP backend - 
Netdevice 2 : TUN/TAP backend - 
Initializing software serial port version 1
mconsole (version 2) initialized on /home/brad/.uml/786lWl/mconsole
Partition check:
 ubda: unknown partition table
UML Audio Relay
Initializing stdio console driver
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 400k freed
VFS: Mounted root (minix filesystem).
LINUXRC: Bering - Initrd - V1.0-rc3
Mounting a 6M TMPFS filesystem...

LINUXRC: Installing -  root: /dev/ubd0  etc: /dev/ubd0  local: /dev/ubd0  modules: 
/dev/ubd0  shorwall: /dev/ubd0  dnscache: /dev/ubd0  weblet: /dev/ubd0  libz: 
/dev/ubd0  sshd: /dev/ubd0  ntpclnt: /dev/ubd0  dhcpd: /dev/ubd0 - Finished.
INIT: version 2.78 booting
Loading modules: 
ip_conntrack_ftp - Using /lib/modules/ip_conntrack_ftp.o
ip_conntrack_irc - Using /lib/modules/ip_conntrack_irc.o
ip_nat_ftp - Using /lib/modules/ip_nat_ftp.o
ip_nat_irc - Using /lib/modules/ip_nat_irc.o
3c509 - Using /lib/modules/3c509.o
insmod: unresolved symbol EISA_bus
insmod: unresolved symbol __get_user_4

Mounting local file systems...
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces: done.
hwclock is unable to get I/O port access:  the iopl(3) call failed.
hwclock is unable to get I/O port access:  the iopl(3) call failed.

Local time: Mon Sep  9 16:56:00 UTC 2002

Initializing random number generator... done.
Initializing random number generator... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd klogd.
Adding sshd user to facilitate Privilege separation
Starting sshd : This platform does not support both privilege separation and 
compression
Compression disabled
done
Starting software watchdog... done.
Starting internet superserver: inetd.
Starting dhcpd on eth1: 
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on LPF/eth1/fe:fd:c0:a8:01:fe/192.168.1.0
Sending on   LPF/eth1/fe:fd:c0:a8:01:fe/192.168.1.0
Sending on   Socket/fallback/fallback-net
Processing /etc/shorewall/shorewall.conf ...
Processing /etc/shorewall/params ...
Starting Shorewall...
Initializing...

  [shorewall stuff snipped]

Shorewall Started
dnscache queries allowed from 192.168
Starting dnscache without daemontools ...
Initial synch to time server
recvfrom: Connection refused
Starting ntpclient daemon: done
Starting periodic command scheduler: cron.



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to