RE: Making bootable recovery CD using cdboot/loader fails

2002-02-11 Thread Michael Reifenberger

On Tue, 5 Feb 2002, John Baldwin wrote:
...
> > Its the loader after showing:
> > ...
> > loader Revision...
> > (root@nihil, ...)
> > ...
> > And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
> > Then silence.
>
> Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device cd0
> in the output prior to that line?
Yes, yes.

Can the loader be compiled to be more verbose?

Bye!

Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-11 Thread John Baldwin


On 06-Feb-02 Michael Reifenberger wrote:
> On Tue, 5 Feb 2002, John Baldwin wrote:
> ...
>> > Its the loader after showing:
>> > ...
>> > loader Revision...
>> > (root@nihil, ...)
>> > ...
>> > And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
>> > Then silence.
>>
>> Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device
>> cd0
>> in the output prior to that line?
> Yes, yes.
> 
> Can the loader be compiled to be more verbose?

Well, you can add printf's to it to make it more verbose. :)  A lot of the code
it uses is from libstand (that's where the cd9660 fs is for example as well as
the generic file operation layer).

> Bye!
> 
> Michael Reifenberger
> ^.*Plaut.*$, IT, R/3 Basis, GPS

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-11 Thread John Baldwin


On 05-Feb-02 Michael Reifenberger wrote:
> On Mon, 4 Feb 2002, John Baldwin wrote:
> 
>> Date: Mon, 04 Feb 2002 18:47:25 -0500 (EST)
>> From: John Baldwin <[EMAIL PROTECTED]>
>> To: Michael Reifenberger <[EMAIL PROTECTED]>
>> Cc: FreeBSD-Current <[EMAIL PROTECTED]>
>> Subject: RE: Making bootable recovery CD using cdboot/loader fails
> ...
>> and let mkisofs create its own boot.catalog.  If you do that instead of
>> creating one yourself does it work any better?  If not, then you can revert
>> the
>> revisions that turned off all the debugging output, hook up a serial console
>> on
>> COM1, and prepare to be spammed with lots of debug output. :)
> Doesnt matter who creates boot.catalog. Same Sysmptom.
> But its not cdboot which freezes.
> Its the loader after showing:
> ...
> loader Revision...
> (root@nihil, ...)
> ...
> And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
> Then silence.

Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device cd0
in the output prior to that line?

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-06 Thread John Baldwin


On 06-Feb-02 Michael Reifenberger wrote:
> On Tue, 5 Feb 2002, John Baldwin wrote:
> ...
>> > Its the loader after showing:
>> > ...
>> > loader Revision...
>> > (root@nihil, ...)
>> > ...
>> > And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
>> > Then silence.
>>
>> Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device
>> cd0
>> in the output prior to that line?
> Yes, yes.
> 
> Can the loader be compiled to be more verbose?

Well, you can add printf's to it to make it more verbose. :)  A lot of the code
it uses is from libstand (that's where the cd9660 fs is for example as well as
the generic file operation layer).

> Bye!
> 
> Michael Reifenberger
> ^.*Plaut.*$, IT, R/3 Basis, GPS

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-06 Thread Michael Reifenberger

On Tue, 5 Feb 2002, John Baldwin wrote:
...
> > ...
> > loader Revision...
> > (root@nihil, ...)
> > ...
> > And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
> > Then silence.
>
> Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device cd0
> in the output prior to that line?

BTW: Using a /kernel and /boot/* from a 4.5-mini.iso seems to work.
Unfortunately this loader can't boot -current kernels due to version mismatch...

Bye!

Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-06 Thread Michael Reifenberger

On Tue, 5 Feb 2002, John Baldwin wrote:
...
> > Its the loader after showing:
> > ...
> > loader Revision...
> > (root@nihil, ...)
> > ...
> > And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
> > Then silence.
>
> Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device cd0
> in the output prior to that line?
Yes, yes.

Can the loader be compiled to be more verbose?

Bye!

Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-05 Thread John Baldwin


On 05-Feb-02 Michael Reifenberger wrote:
> On Mon, 4 Feb 2002, John Baldwin wrote:
> 
>> Date: Mon, 04 Feb 2002 18:47:25 -0500 (EST)
>> From: John Baldwin <[EMAIL PROTECTED]>
>> To: Michael Reifenberger <[EMAIL PROTECTED]>
>> Cc: FreeBSD-Current <[EMAIL PROTECTED]>
>> Subject: RE: Making bootable recovery CD using cdboot/loader fails
> ...
>> and let mkisofs create its own boot.catalog.  If you do that instead of
>> creating one yourself does it work any better?  If not, then you can revert
>> the
>> revisions that turned off all the debugging output, hook up a serial console
>> on
>> COM1, and prepare to be spammed with lots of debug output. :)
> Doesnt matter who creates boot.catalog. Same Sysmptom.
> But its not cdboot which freezes.
> Its the loader after showing:
> ...
> loader Revision...
> (root@nihil, ...)
> ...
> And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
> Then silence.

Hmm.  Is your loader completely up to date?  Does it have a BIOS CD device cd0
in the output prior to that line?

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-05 Thread Michael Reifenberger

On Mon, 4 Feb 2002, John Baldwin wrote:

> Date: Mon, 04 Feb 2002 18:47:25 -0500 (EST)
> From: John Baldwin <[EMAIL PROTECTED]>
> To: Michael Reifenberger <[EMAIL PROTECTED]>
> Cc: FreeBSD-Current <[EMAIL PROTECTED]>
> Subject: RE: Making bootable recovery CD using cdboot/loader fails
...
> and let mkisofs create its own boot.catalog.  If you do that instead of
> creating one yourself does it work any better?  If not, then you can revert the
> revisions that turned off all the debugging output, hook up a serial console on
> COM1, and prepare to be spammed with lots of debug output. :)
Doesnt matter who creates boot.catalog. Same Sysmptom.
But its not cdboot which freezes.
Its the loader after showing:
...
loader Revision...
(root@nihil, ...)
...
And then a few rotating -\|/ (serching or loading loader.conf, kernel, ?)
Then silence.

Bye!

Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Making bootable recovery CD using cdboot/loader fails

2002-02-04 Thread John Baldwin


On 02-Feb-02 Michael Reifenberger wrote:
> Hi,
> a CD created using the following commands fails during loading
> /boot/kernel/kernel (just freezes up) under a recent current:
> 
> cd /usr/tmp
> mkdir root
> dump -0a -f - / | ( cd root; restore -r -f - )
> dd if=/dev/zero of=root/boot/boot.catalog count=5
> mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog \
>   -r -J -V LiveCD \
>   -o root.iso root
> burncd -e -f /dev/acd0c blank data root.iso fixate
> 
> Using a loader binary from 4.5-mini.iso works insofar that it works with
> a 4.5 /kernel but can't execute a -current kernel (loader version too low...)
> 
> Any clues how to debug this problem?

Hmm, I've never done a manual boot.catalog, always just ran mkisofs as so:

mkisofs -b boot/cdboot -no-emul-boot -r -J -o foo.iso /some/dir

and let mkisofs create its own boot.catalog.  If you do that instead of
creating one yourself does it work any better?  If not, then you can revert the
revisions that turned off all the debugging output, hook up a serial console on
COM1, and prepare to be spammed with lots of debug output. :)

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Making bootable recovery CD using cdboot/loader fails

2002-02-02 Thread Michael Reifenberger

Hi,
a CD created using the following commands fails during loading
/boot/kernel/kernel (just freezes up) under a recent current:

cd /usr/tmp
mkdir root
dump -0a -f - / | ( cd root; restore -r -f - )
dd if=/dev/zero of=root/boot/boot.catalog count=5
mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog \
-r -J -V LiveCD \
-o root.iso root
burncd -e -f /dev/acd0c blank data root.iso fixate

Using a loader binary from 4.5-mini.iso works insofar that it works with
a 4.5 /kernel but can't execute a -current kernel (loader version too low...)

Any clues how to debug this problem?

Bye!

Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message