From: Jeff D. <jd...@ka...> - 2001-08-04 15:10:28
|
pj...@in... said: > Linux version 2.4.7-3um (pascal@thalassa) (gcc version 2.95.2 19991024 > (release)) #8 Fri Aug 3 18:44:38 CEST 2001 What was the rest of the console output? I think .devfsd is either a socket or pipe and devfs is supposed to create it. Something else is wrong here. Jeff |
From: Jeff D. <jd...@ka...> - 2001-08-04 17:06:24
|
pj...@in... said: > Why is there no 'nodev devfs' line here? Because devfs isn't configured. And the presence of *_devfs_* symbols doesn't necessaily mean anything. They could be stubs that allow other pieces of the kernel to build without needing #ifdef DEVFS. > Perhaps it's the problem, but > how to solve it? Configure it into the kernel. Jeff |
From: Pascal B. <pj...@in...> - 2001-08-04 18:41:43
|
> pj...@in... said: > > Why is there no 'nodev devfs' line here? > > Because devfs isn't configured. And the presence of *_devfs_* symbols doesn't > necessaily mean anything. They could be stubs that allow other pieces of the > kernel to build without needing #ifdef DEVFS. Effectively, the three of four *_devfs_* symbols are not the whole story. > > Perhaps it's the problem, but > > how to solve it? > > Configure it into the kernel. > > Jeff Right! :-) Well, I believe that I first erroneously ran make xconfig without the ARCH=um option, and then when I later ran make xconfig with ARCH=um, the CONFIG_DEVFS_FS and CONFIG_DEVFS_MOUNT options were not activated, and since there's no user interface to set them in xconfig, I entered into the problem. This was solved doing: rm -f .config make xconfig ARCH=um Thank you for the help. By the way, why DEVFS_FS, DEVFS_MOUNT and DEVFS_DEBUG don't appear in the xconfig options? -- __Pascal_Bourguignon__ (o_ Software patents are endangering () ASCII ribbon against html email //\ the computer industry all around /\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/ 1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++ N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+) DI+++ D++ G++ e+++ h+(++) r? y---? UF++++ ------END GEEK CODE BLOCK------ |
From: Jeff D. <jd...@ka...> - 2001-08-04 19:39:29
|
pj...@in... said: > Well, I believe that I first erroneously ran make xconfig without the > ARCH=um option, Yeah, if you do that, the best thing is to do an mrproper and start all over again with 'ARCH=um' on everything. > By the way, why DEVFS_FS, DEVFS_MOUNT and DEVFS_DEBUG don't appear in > the xconfig options? They do. They're under filesystems. Jeff |
From: Pascal B. <pj...@in...> - 2001-08-04 20:14:27
|
> pj...@in... said: > > Well, I believe that I first erroneously ran make xconfig without the > > ARCH=um option, > > Yeah, if you do that, the best thing is to do an mrproper and start all over > again with 'ARCH=um' on everything. > > > By the way, why DEVFS_FS, DEVFS_MOUNT and DEVFS_DEBUG don't appear in > > the xconfig options? > > They do. They're under filesystems. > > Jeff Oops ! That's true. Once upon a time I was a Macintosh user, and I'm not used to scroll when there are buttons in a "dialog". My fault, sorry. (Shameful) -- __Pascal_Bourguignon__ (o_ Software patents are endangering () ASCII ribbon against html email //\ the computer industry all around /\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/ 1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++ N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+) DI+++ D++ G++ e+++ h+(++) r? y---? UF++++ ------END GEEK CODE BLOCK------ |
From: Pascal B. <pj...@in...> - 2001-08-04 15:21:54
|
> Cc: use...@li... > Content-Type: text/plain; charset=us-ascii > Date: Sat, 04 Aug 2001 11:26:29 -0500 > From: Jeff Dike <jd...@ka...> > List-Archive: <http://lists.sourceforge.net/archives//user-mode-linux-user/> > List-Help: <mailto:use...@li...?subject=help> > List-Id: The user-mode Linux user list <user-mode-linux-user.lists.sourceforge.net> > List-Post: <mailto:use...@li...> > List-Subscribe: <http://lists.sourceforge.net/lists/listinfo/user-mode-linux-user>, > <mailto:use...@li...?subject=subscribe> > List-Unsubscribe: <http://lists.sourceforge.net/lists/listinfo/user-mode-linux-user>, > <mailto:use...@li...?subject=unsubscribe> > Precedence: bulk > Sender: use...@li... > X-AntiVirus: OK! AvMailGate Version 6.6.0.3 > at informatimago.com has not found any known virus in this email. > X-BeenThere: use...@li... > X-Mailman-Version: 2.0.5 > > pj...@in... said: > > Linux version 2.4.7-3um (pascal@thalassa) (gcc version 2.95.2 19991024 > > (release)) #8 Fri Aug 3 18:44:38 CEST 2001 > > What was the rest of the console output? > > I think .devfsd is either a socket or pipe and devfs is supposed to create it. > > Something else is wrong here. > > Jeff Definitely. devfs does not seem to activate itself. I suppose devfs is correctly compiled into the kernel. I've got: [pascal@thalassa linux]$ strings linux | grep devfs devfs_register_partitions tty_register_devfs tty_unregister_devfs [pascal@thalassa linux]$ nm linux |grep devfs 100fda17 ? __kstrtab_devfs_register_partitions 100fe52c ? __kstrtab_tty_register_devfs 100fe53f ? __kstrtab_tty_unregister_devfs 100ffe90 ? __ksymtab_devfs_register_partitions 101004d8 ? __ksymtab_tty_register_devfs 101004e0 ? __ksymtab_tty_unregister_devfs 10166480 b devfs_handle 10166930 b devfs_handle 10168d60 b devfs_handle 10163de0 b devfs_handle.939 1004b600 T devfs_register_partitions 10004360 T memory_devfs_register 1005a640 T tty_register_devfs 1005a650 T tty_unregister_devfs However, in the user-mode-linux, bash# ls -l /dev/.dev* ls: /dev/.dev*: No such file or directory bash# cat /proc/devices Character devices: 1 mem 2 pty 3 ttyp 4 ttys/%d <--- aren't they devfs devices ? 5 serial/%d <--- aren't they devfs devices ? 10 misc 128 ptm 136 pts 162 raw Block devices: 1 ramdisk 7 loop 43 nbd 98 ubd bash# ls -l /dev/ttys /dev/serial ls: /dev/ttys: No such file or directory ls: /dev/serial: No such file or directory bash# cat /proc/filesystems nodev proc nodev sockfs nodev tmpfs nodev pipefs ext2 nodev devpts bash# Why is there no 'nodev devfs' line here? Perhaps it's the problem, but how to solve it? Note that if I need to fsck a /dev/ubd/?, it won't work claiming not finding the device... Booting single-user: ------------------------------------------------------------------------ tracing thread pid = 9816 Linux version 2.4.7-3um (pascal@thalassa) (gcc version 2.95.2 19991024 (release)) #8 Fri Aug 3 18:44:38 CEST 2001 On node 0 totalpages: 8192 zone(0): 0 pages. zone(1): 8192 pages. zone(2): 0 pages. Kernel command line: ubd0=root_fs_redhat_6.2_big ubd1=swap.9807 mem=32M -s root=/dev/ubd0 Calibrating delay loop... 57.99 BogoMIPS Memory: 32212k 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) 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 v1.8 VFS: Diskquotas version dquot_6.4.0 initialized pty: 256 Unix98 ptys configured block: queued sectors max/low 21288kB/7096kB, 64 slots per queue RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Universal TUN/TAP device driver 1.4 (C)1999-2001 Maxim Krasnyansky 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 2048 bind 2048) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Initializing stdio console driver Initializing software serial port version 1 mconsole initialized on /tmp/uml/9hDtbF/mconsole VFS: Mounted root (ext2 filesystem) readonly. INIT: version 2.78 booting Welcome to Red Hat Linux Press 'I' to enter interactive startup. Mounting proc filesystem [ OK ] Configuring kernel parameters [ OK ] Setting clock : Sat Aug 4 10:41:26 EDT 2001 [ OK ] Activating swap partitions [ OK ] Setting hostname uml-test.goober.org [ OK ] Checking root filesystem /dev/ubd/0 was not cleanly unmounted, check forced. /dev/ubd/0: Deleted inode 62748 has zero dtime. FIXED. /dev/ubd/0: 29348/76912 files (0.5% non-contiguous), 216268/307200 blocks [/sbin/fsck.ext2 -- /] fsck.ext2 -a /dev/ubd/0 [PASSED] Remounting root filesystem in read-write mode [ OK ] Finding module dependencies [ OK ] Checking filesystems Checking all file systems. [ OK ] Mounting local filesystems [ OK ] Turning on user and group quotas for local filesystems [ OK ] Enabling swap space [ OK ] eth0: unknown interface: No such device SIOCSIFHWADDR: No such device bash# ------------------------------------------------------------------------ Booting multiuser: ------------------------------------------------------------------------ tracing thread pid = 20634 Linux version 2.4.7-3um (pascal@thalassa) (gcc version 2.95.2 19991024 (release)) #8 Fri Aug 3 18:44:38 CEST 2001 On node 0 totalpages: 8192 zone(0): 0 pages. zone(1): 8192 pages. zone(2): 0 pages. Kernel command line: ubd0=root_fs_redhat_6.2_big ubd1=swap.20630 mem=32M root=/dev/ubd0 Calibrating delay loop... 58.65 BogoMIPS Memory: 32212k 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) 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 v1.8 VFS: Diskquotas version dquot_6.4.0 initialized pty: 256 Unix98 ptys configured block: queued sectors max/low 21288kB/7096kB, 64 slots per queue RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Universal TUN/TAP device driver 1.4 (C)1999-2001 Maxim Krasnyansky 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 2048 bind 2048) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Initializing stdio console driver Initializing software serial port version 1 mconsole initialized on /tmp/uml/2a6kKg/mconsole VFS: Mounted root (ext2 filesystem) readonly. INIT: version 2.78 booting Welcome to Red Hat Linux Press 'I' to enter interactive startup. Mounting proc filesystem [ OK ] Configuring kernel parameters [ OK ] Setting clock : Sat Aug 4 11:17:49 EDT 2001 [ OK ] Activating swap partitions [ OK ] Setting hostname uml-test.goober.org [ OK ] Checking root filesystem /dev/ubd/0: clean, 29318/76912 files, 216256/307200 blocks [/sbin/fsck.ext2 -- /] fsck.ext2 -a /dev/ubd/0 [ OK ] Remounting root filesystem in read-write mode [ OK ] Finding module dependencies [ OK ] Checking filesystems Checking all file systems. [ OK ] Mounting local filesystems [ OK ] Turning on user and group quotas for local filesystems [ OK ] Enabling swap space [ OK ] eth0: unknown interface: No such device SIOCSIFHWADDR: No such device INIT: Entering runlevel: 3 Entering non-interactive startup Setting network parameters [ OK ] Bringing up interface lo [ OK ] Bringing up interface eth0 Delaying eth0 initialization. [FAILED] SIOCADDRT: No such device SIOCADDRT: Network is unreachable Starting portmapper: [ OK ] Initializing random number generator [ OK ] Mounting other filesystems [ OK ] Starting system logger: [ OK ] Starting kernel logger: [ OK ] Starting identd: [ OK ] Starting cron daemon: [ OK ] Starting INET services: [ OK ] Starting snmpd: [ OK ] Starting named: [ OK ] Starting ssh [ OK ] Starting keytable [ OK ] Starting sendmail: [ OK ] Starting console mouse services: (no mouse is configured) Starting httpd: [ OK ] Starting squid [ OK ] Starting X Font Server: [ OK ] Starting SMB services: [ OK ] Starting NMB services: [ OK ] Starting INND system: [ OK ] Starting linuxconf [ OK ] INIT: Id "0" respawning too fast: disabled for 5 minutes INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "c" respawning too fast: disabled for 5 minutes INIT: no more processes left in this runlevel ------------------------------------------------------------------------ -- __Pascal_Bourguignon__ (o_ Software patents are endangering () ASCII ribbon against html email //\ the computer industry all around /\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/ 1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++ N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+) DI+++ D++ G++ e+++ h+(++) r? y---? UF++++ ------END GEEK CODE BLOCK------ |