Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Raf Czlonka
On Tue, May 19, 2015 at 06:18:08AM BST, James Hartley wrote: > On Mon, May 18, 2015 at 11:56 PM, Raf Czlonka wrote: > > > > You are booting from the first optical drive. > > I am installing from the second optical drive. The first does not read > discs burned with this USB drive, & thus is never

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread James Hartley
> Are you sure? Yes. The USB CD-R drive is plugged in once with the disc inserted. No change is made between the booting of bsd.rd & bsd.mp. > What do you think this means then? It appears that when the boot device is selected, that device is being identified incorrectly as cd0. On Tue, May 19

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Otto Moerbeek
On Tue, May 19, 2015 at 03:15:25AM -0500, James Hartley wrote: > > Are you sure? > > Yes. The USB CD-R drive is plugged in once with the disc inserted. No > change is made between the booting of bsd.rd & bsd.mp. > > > What do you think this means then? > > It appears that when the boot device

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Raf Czlonka
On Tue, May 19, 2015 at 09:15:25AM BST, James Hartley wrote: > It appears that when the boot device is selected, that device is being > identified incorrectly as cd0. Incorrectly? According to whom? ;^) The installer (bsd.rd) provides a very clear information from which medium it is booting and

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Christian Weisgerber
On 2015-05-19, James Hartley wrote: > Let's install the sets! > Location of sets? (cd0 cd1 disk http or 'done') [cd0] cd1 > No filesystems found on cd1. My first guess would be that there are no /dev/cd1[ac] device nodes on the install kernel's file system. -- Christian "naddy" Weisgerber

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Christian Weisgerber
Christian Weisgerber: > > Let's install the sets! > > Location of sets? (cd0 cd1 disk http or 'done') [cd0] cd1 > > No filesystems found on cd1. > > My first guess would be that there are no /dev/cd1[ac] device nodes > on the install kernel's file system. I don't have a second CD drive, but I'm

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Theo de Raadt
> Christian Weisgerber: > > > > Let's install the sets! > > > Location of sets? (cd0 cd1 disk http or 'done') [cd0] cd1 > > > No filesystems found on cd1. > > > > My first guess would be that there are no /dev/cd1[ac] device nodes > > on the install kernel's file system. > > I don't have a secon

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Kenneth R Westerback
On 05/19, Theo de Raadt wrote: > > Christian Weisgerber: > > > > > > Let's install the sets! > > > > Location of sets? (cd0 cd1 disk http or 'done') [cd0] cd1 > > > > No filesystems found on cd1. > > > > > > My first guess would be that there are no /dev/cd1[ac] device nodes > > > on the install

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Theo de Raadt
> > > cd /dev && sh MAKEDEV cd1 > > > > The installer is supposed to create device nodes as required. Did > > some logic get lost along the way? > > > > Don't know if it was lost or never existed, but it does look like the > 'get_drive()/makedev()' dance is only done for disk drives and not c

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread James Hartley
On Tue, May 19, 2015 at 10:12 AM, Kenneth R Westerback < kwesterb...@gmail.com> wrote: > Untested diff below. > I will be able to test this in a few days. Thanks.

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Robert Peichaer
On Tue, May 19, 2015 at 11:12:25AM -0400, Kenneth R Westerback wrote: > On 05/19, Theo de Raadt wrote: > > > Christian Weisgerber: > > > > > > > > Let's install the sets! > > > > > Location of sets? (cd0 cd1 disk http or 'done') [cd0] cd1 > > > > > No filesystems found on cd1. > > > > > > > > My

Re: install57.iso does not recognize a burned image of itself in an attached CD-R drive

2015-05-19 Thread Kenneth Westerback
On 19 May 2015 at 14:00, Robert Peichaer wrote: > On Tue, May 19, 2015 at 11:12:25AM -0400, Kenneth R Westerback wrote: >> On 05/19, Theo de Raadt wrote: >> > > Christian Weisgerber: >> > > >> > > > > Let's install the sets! >> > > > > Location of sets? (cd0 cd1 disk http or 'done') [cd0] cd1 >> >

C library function posix_spawn() doesn't return correctly upon failure to execute

2015-05-19 Thread Nach
posix_spawn is supposed to return a value indicating an error when it fails. The specification for it is here: http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html >From the spec: Otherwise, no child process shall be created, the value stored into the variable pointed to by a

Re: C library function posix_spawn() doesn't return correctly upon failure to execute

2015-05-19 Thread Philip Guenther
On Tue, 19 May 2015, Nach wrote: > posix_spawn is supposed to return a value indicating an error when it fails. > The specification for it is here: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html ... > From the spec: Otherwise, no child process shall be created, the val

Re: C library function posix_spawn() doesn't return correctly upon failure to execute

2015-05-19 Thread Nach
The standard also later says: > > > These functions may fail if: > > [EINVAL] The value specified by file_actions or attrp is invalid. > > If this error occurs after the calling process successfully returns from > the posix_spawn() or posix_spawnp() function, the child process may