All of lore.kernel.org
 help / color / mirror / Atom feed
* Betr.: [parisc-linux] More Install on C110: Kernel doesn't load...
@ 2001-11-02 11:06 Jurriaan Kalkman
  2001-11-02 16:18 ` Paul Bame
  0 siblings, 1 reply; 3+ messages in thread
From: Jurriaan Kalkman @ 2001-11-02 11:06 UTC (permalink / raw)
  To: dan, parisc-linux

>OK, I did a quick and dirty port of palo to MacOS X/Darwin and was =
able=20
>to run it on the ISO image and modify the boot blocks correctly.
>
>I've got it to boot from the CD, turned out I was burning the CD =
wrong,=20
>needed to burn with Track-At-Once with Close CD, rather than simply=20
>Disc-At-Once in EasyCD Creator on Win2k.
>
>However, when attempting to boot the kernel, I get this:
>
>Entry 00100000 first 00100000 n 4
>Segment 0 load 00100000 size 160694 mediaptr 0x1000
>Segment 1 load 0028a000 size 468472 mediaptr 0x18a000
>Segment 2 load 00300000 size 8192 mediaptr 0x1fd000
>Segment 3 load 0034bea8 size 80688 mediaptr 0x1ffea8
>
>Error: read from boot device failed (status =3D -4)
>byteio_read: seekread() returned -1 expected 2048
>Error:  segment 0 read() failed
>
>Any thoughts?
>
Yeah, something's wrong :-)

It looks like palo is trying to read a file and doesn't get the 2048 bytes
it wanted (and expected). I'm not sure if this is the phase where palo
reads the kernel. If it is, double check if it is trying to read the =
correct
file.

This may indicate that either your CD is still bad, or that your hardware
in general is flaky (bad cable, bad termination, bad cdrom-drive).

Do you have another linux system and can you check if the CD is
readable on that system? A simple 'cat /dev/cdrom > /dev/null' should
mention any errors.

Good luck,
Jurriaan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Betr.: [parisc-linux] More Install on C110: Kernel doesn't load...
  2001-11-02 11:06 Betr.: [parisc-linux] More Install on C110: Kernel doesn't load Jurriaan Kalkman
@ 2001-11-02 16:18 ` Paul Bame
  2001-11-02 16:38   ` Daniel Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Bame @ 2001-11-02 16:18 UTC (permalink / raw)
  To: Jurriaan Kalkman; +Cc: dan, parisc-linux

= >Entry 00100000 first 00100000 n 4
= >Segment 0 load 00100000 size 160694 mediaptr 0x1000
= >Segment 1 load 0028a000 size 468472 mediaptr 0x18a000
= >Segment 2 load 00300000 size 8192 mediaptr 0x1fd000
= >Segment 3 load 0034bea8 size 80688 mediaptr 0x1ffea8
= >
= >Error: read from boot device failed (status = -4)
= >byteio_read: seekread() returned -1 expected 2048
= >Error:  segment 0 read() failed

palo has read thee ELF header by then, but fails to read the first
program segment (0).  It's unusual for things to die here.  The
firmware docs say error -4 is "unrecoverable hardware error".
Perhaps the ISO image got truncated or is shorter than it should be?

	-P

	-P

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] More Install on C110: Kernel doesn't load...
  2001-11-02 16:18 ` Paul Bame
@ 2001-11-02 16:38   ` Daniel Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Williams @ 2001-11-02 16:38 UTC (permalink / raw)
  To: parisc-linux

The ISO image burned is 137,854,976 bytes in length...  at some point 
here I'll cat /dev/cdrom > /dev/null to check the media and make sure 
there's not a problem, but I'd be inclined to think its something with 
the format on CD...  Here's the file I fed into my port of palo:

-c0/vmlinux root=/dev/ram initrd=0/ramdisk
-k/Volumes/palinux-0.9.1/debian/dists/sid/main/disks-
hppa/current/32/vmlinux
-b/Volumes/palinux-0.9.1/iplboot
-r/Volumes/palinux-0.9.1/debian/dists/sid/main/disks-
hppa/current/root.bin
-C./palinux-0.9.2.iso

When mounted, the 0.9.2 ISO's name is palinux-0.9.1, because it was 
mastered like that?  Anyway, I assume the kernels on the ISO image are 
OK to use?  I can't of course compile them myself because I don't have 
an hppa cross compiler (no x86 box).

Dan

On Friday, November 2, 2001, at 10:18 AM, Paul Bame wrote:

> = >Entry 00100000 first 00100000 n 4
> = >Segment 0 load 00100000 size 160694 mediaptr 0x1000
> = >Segment 1 load 0028a000 size 468472 mediaptr 0x18a000
> = >Segment 2 load 00300000 size 8192 mediaptr 0x1fd000
> = >Segment 3 load 0034bea8 size 80688 mediaptr 0x1ffea8
> = >
> = >Error: read from boot device failed (status = -4)
> = >byteio_read: seekread() returned -1 expected 2048
> = >Error:  segment 0 read() failed
>
> palo has read thee ELF header by then, but fails to read the first
> program segment (0).  It's unusual for things to die here.  The
> firmware docs say error -4 is "unrecoverable hardware error".
> Perhaps the ISO image got truncated or is shorter than it should be?
>
> 	-P
>
> 	-P

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-02 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-02 11:06 Betr.: [parisc-linux] More Install on C110: Kernel doesn't load Jurriaan Kalkman
2001-11-02 16:18 ` Paul Bame
2001-11-02 16:38   ` Daniel Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.