linux-um archives
 help / color / mirror / Atom feed
* Re: [uml-devel] /dev/fd/62: No such file or directory
@ 2004-05-23 14:43 roland
  0 siblings, 0 replies; 6+ messages in thread
From: roland @ 2004-05-23 14:43 UTC (permalink / raw)
  To: Jeff Dike; +Cc: user-mode-linux-devel, uml-user

hi !

 > /sbin/ifup: line 540: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 1: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 1: /dev/fd/61: No such file or directory
> > /sbin/ifup: line 171: /dev/fd/62: No such file or directory

ahh - found it !
that`s not an uml bug but a devfs issue.

http://linuxfromscratch.org/pipermail/lfs-support/2002-August/009320.html
gave me the hint.

suse9.1 doesn`t use devfs - but my uml had devfs compiled in and it was
switched on during boot.
so - it`s important to make sure, that devfs isn`t active (devfs=nomount) in uml 
on distro`s which don`t use devfs.

if you need devfs and experience that issue, it can be workarounded, though:

ln -snf /proc/self/fd /dev/fd

regards
roland





----- Original Message ----- 
From: "roland" <for_spam@gmx.de>
To: <uml@hno.marasystems.com>
Cc: <user-mode-linux-devel@lists.sourceforge.net>; "Jeff Dike" <jdike@addtoit.com>
Sent: Saturday, May 22, 2004 3:05 PM
Subject: Re: [uml-devel] /dev/fd/62: No such file or directory 


> Works here using UML 2.6.6-1um (SuSE9.1) on a 2.6.4 based host(SuSE 9.1), too
> strange..
> 
> ----- Original Message ----- 
> From: "Henrik Nordstrom" <uml@hno.marasystems.com>
> To: "roland" <for_spam@gmx.de>
> Cc: "Jeff Dike" <jdike@addtoit.com>; <user-mode-linux-devel@lists.sourceforge.net>
> Sent: Thursday, May 20, 2004 8:51 PM
> Subject: Re: [uml-devel] /dev/fd/62: No such file or directory
> 
> 
> > On Thu, 20 May 2004, roland wrote:
> >
> > > my UML is 2.6.6  (but i have seen this on other 2.6.x, too) - it uses devfs
> > > host seems irrelevent - i have seen this on 2.4 and on 2.6 hosts
> >
> > Works here using UML 2.4.26-1um on a 2.4 based host..
> >
> > Regards
> > Henrik
> >
> 
> ----- Original Message ----- 
> From: "roland" <for_spam@gmx.de>
> To: "Jeff Dike" <jdike@addtoit.com>
> Cc: <user-mode-linux-devel@lists.sourceforge.net>
> Sent: Thursday, May 20, 2004 8:28 PM
> Subject: Re: [uml-devel] /dev/fd/62: No such file or directory
> 
> 
> > Hi !
> > I have dig into this and made a repro-case:
> >
> > #!/bin/bash
> > while IFS=- read line ; do
> >  echo $line
> > done < <(cat /etc/hosts)
> >
> > on HOST this prints the contents of /etc/hosts
> > on UML this gives:
> > ./test: line 4: /dev/fd/62: No such file or directory
> >
> > it seems,  bash process substitution has problems within UML (at least within my uml)
> >
> > i have googled a little bit - maybe this gives a hint:
> > http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&th=d6142de0d1ec5cd&rnum=2
> > http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&th=161582ba6e79f8c7&rnum=3
> > http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&th=94e9a60998cb724c&rnum=3
> >
> > anybody able to reproduce ?
> >
> > my UML is 2.6.6  (but i have seen this on other 2.6.x, too) - it uses devfs
> > host seems irrelevent - i have seen this on 2.4 and on 2.6 hosts
> >
> > regards
> > roland
> >
> >
> >
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Jeff Dike" <jdike@addtoit.com>
> > To: "roland" <for_spam@gmx.de>
> > Cc: <user-mode-linux-devel@lists.sourceforge.net>
> > Sent: Thursday, May 20, 2004 2:40 AM
> > Subject: Re: [uml-devel] /dev/fd/62: No such file or directory
> >
> >
> > > for_spam@gmx.de said:
> > > > can anybody give me a hint, what`s the problem, and how to (probably)
> > > > fix this ?
> > >
> > > Can you trace these back to the system call within which these happen?
> > >
> > > Figuring out which command in which script causes it, and putting a strace
> > > in front of it should do the trick.
> > >
> > > Jeff
> > >
> >
> > Hi !
> > I`m getting the following errors with uml 2.6.6 (2.6.4 had that, too) and suse9 rootfs during boot (see below).
> > can anybody give me a hint, what`s the problem, and how to (probably) fix this ?
> > networking basically works - but i have to setup the defaultroute manually afterwards and soooo many errors during boot really
> don`t
> > give a good "feeling" :)
> >
> > regards
> > roland
> >
> >
> > Master Resource Control: previous runlevel: N, switching to runlevel: 3
> > Setting up network interfaces:
> >     lo        /sbin/ifup: line 119: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 540: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 1: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 1: /dev/fd/61: No such file or directory
> > /sbin/ifup: line 171: /dev/fd/62: No such file or directory
> > /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
> > /etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
> > done
> >     eth0      /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
> > /sbin/ifup: line 119: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 540: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 171: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 1: /dev/fd/62: No such file or directory
> > /sbin/ifup: line 1: /dev/fd/61: No such file or directory
> > IP/Netmask: 100.1.7.247 / 255.255.252.0
> > /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
> > /etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
> > done
> > /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
> > /etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
> > /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
> > /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
> >
> >
> >
> 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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] /dev/fd/62: No such file or directory
@ 2004-05-22 13:05 roland
  0 siblings, 0 replies; 6+ messages in thread
From: roland @ 2004-05-22 13:05 UTC (permalink / raw)
  To: uml; +Cc: user-mode-linux-devel, Jeff Dike

Works here using UML 2.6.6-1um (SuSE9.1) on a 2.6.4 based host(SuSE 9.1), too
strange..

----- Original Message ----- 
From: "Henrik Nordstrom" <uml@hno.marasystems.com>
To: "roland" <for_spam@gmx.de>
Cc: "Jeff Dike" <jdike@addtoit.com>; <user-mode-linux-devel@lists.sourceforge.net>
Sent: Thursday, May 20, 2004 8:51 PM
Subject: Re: [uml-devel] /dev/fd/62: No such file or directory


> On Thu, 20 May 2004, roland wrote:
>
> > my UML is 2.6.6  (but i have seen this on other 2.6.x, too) - it uses devfs
> > host seems irrelevent - i have seen this on 2.4 and on 2.6 hosts
>
> Works here using UML 2.4.26-1um on a 2.4 based host..
>
> Regards
> Henrik
>

----- Original Message ----- 
From: "roland" <for_spam@gmx.de>
To: "Jeff Dike" <jdike@addtoit.com>
Cc: <user-mode-linux-devel@lists.sourceforge.net>
Sent: Thursday, May 20, 2004 8:28 PM
Subject: Re: [uml-devel] /dev/fd/62: No such file or directory


> Hi !
> I have dig into this and made a repro-case:
>
> #!/bin/bash
> while IFS=- read line ; do
>  echo $line
> done < <(cat /etc/hosts)
>
> on HOST this prints the contents of /etc/hosts
> on UML this gives:
> ./test: line 4: /dev/fd/62: No such file or directory
>
> it seems,  bash process substitution has problems within UML (at least within my uml)
>
> i have googled a little bit - maybe this gives a hint:
> http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&th=d6142de0d1ec5cd&rnum=2
> http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&th=161582ba6e79f8c7&rnum=3
> http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&th=94e9a60998cb724c&rnum=3
>
> anybody able to reproduce ?
>
> my UML is 2.6.6  (but i have seen this on other 2.6.x, too) - it uses devfs
> host seems irrelevent - i have seen this on 2.4 and on 2.6 hosts
>
> regards
> roland
>
>
>
>
>
>
> ----- Original Message ----- 
> From: "Jeff Dike" <jdike@addtoit.com>
> To: "roland" <for_spam@gmx.de>
> Cc: <user-mode-linux-devel@lists.sourceforge.net>
> Sent: Thursday, May 20, 2004 2:40 AM
> Subject: Re: [uml-devel] /dev/fd/62: No such file or directory
>
>
> > for_spam@gmx.de said:
> > > can anybody give me a hint, what`s the problem, and how to (probably)
> > > fix this ?
> >
> > Can you trace these back to the system call within which these happen?
> >
> > Figuring out which command in which script causes it, and putting a strace
> > in front of it should do the trick.
> >
> > Jeff
> >
>
> Hi !
> I`m getting the following errors with uml 2.6.6 (2.6.4 had that, too) and suse9 rootfs during boot (see below).
> can anybody give me a hint, what`s the problem, and how to (probably) fix this ?
> networking basically works - but i have to setup the defaultroute manually afterwards and soooo many errors during boot really
don`t
> give a good "feeling" :)
>
> regards
> roland
>
>
> Master Resource Control: previous runlevel: N, switching to runlevel: 3
> Setting up network interfaces:
>     lo        /sbin/ifup: line 119: /dev/fd/62: No such file or directory
> /sbin/ifup: line 540: /dev/fd/62: No such file or directory
> /sbin/ifup: line 1: /dev/fd/62: No such file or directory
> /sbin/ifup: line 1: /dev/fd/61: No such file or directory
> /sbin/ifup: line 171: /dev/fd/62: No such file or directory
> /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
> /etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
> done
>     eth0      /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
> /sbin/ifup: line 119: /dev/fd/62: No such file or directory
> /sbin/ifup: line 540: /dev/fd/62: No such file or directory
> /sbin/ifup: line 171: /dev/fd/62: No such file or directory
> /sbin/ifup: line 1: /dev/fd/62: No such file or directory
> /sbin/ifup: line 1: /dev/fd/61: No such file or directory
> IP/Netmask: 100.1.7.247 / 255.255.252.0
> /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
> /etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
> done
> /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
> /etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
> /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
> /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
>
>
>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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
* [uml-devel] /dev/fd/62: No such file or directory
@ 2004-05-17 20:16 roland
  2004-05-20  0:40 ` Jeff Dike
  0 siblings, 1 reply; 6+ messages in thread
From: roland @ 2004-05-17 20:16 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi !
I`m getting the following errors with uml 2.6.6 (2.6.4 had that, too) and suse9 rootfs during boot (see below).
can anybody give me a hint, what`s the problem, and how to (probably) fix this ?
networking basically works - but i have to setup the defaultroute manually afterwards and soooo many errors during boot really don`t
give a good "feeling" :)

regards
roland


Master Resource Control: previous runlevel: N, switching to runlevel: 3
Setting up network interfaces:
    lo        /sbin/ifup: line 119: /dev/fd/62: No such file or directory
/sbin/ifup: line 540: /dev/fd/62: No such file or directory
/sbin/ifup: line 1: /dev/fd/62: No such file or directory
/sbin/ifup: line 1: /dev/fd/61: No such file or directory
/sbin/ifup: line 171: /dev/fd/62: No such file or directory
/etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
/etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
done
    eth0      /etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
/sbin/ifup: line 119: /dev/fd/62: No such file or directory
/sbin/ifup: line 540: /dev/fd/62: No such file or directory
/sbin/ifup: line 171: /dev/fd/62: No such file or directory
/sbin/ifup: line 1: /dev/fd/62: No such file or directory
/sbin/ifup: line 1: /dev/fd/61: No such file or directory
IP/Netmask: 100.1.7.247 / 255.255.252.0
/etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory
/etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
done
/etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
/etc/sysconfig/network/scripts/ifup-route: line 433: /dev/fd/62: No such file or directory
/etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/61: No such file or directory
/etc/sysconfig/network/scripts/ifup-route: line 1: /dev/fd/62: No such file or directory



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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

end of thread, other threads:[~2004-05-23 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-23 14:43 [uml-devel] /dev/fd/62: No such file or directory roland
  -- strict thread matches above, loose matches on Subject: below --
2004-05-22 13:05 roland
2004-05-17 20:16 roland
2004-05-20  0:40 ` Jeff Dike
2004-05-20 18:28   ` roland
2004-05-20 18:51     ` Henrik Nordstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox