Linux PARISC architecture development
 help / color / mirror / Atom feed
* Re: [parisc-linux] Booting C100
@ 2001-01-15 21:30 Aleksandr Konstantinov
  2001-01-15 22:17 ` Matthew Wilcox
  0 siblings, 1 reply; 10+ messages in thread
From: Aleksandr Konstantinov @ 2001-01-15 21:30 UTC (permalink / raw)
  To: parisc-linux

> Anybody got one?

Yes. Want one ?

>> o HPUX is required to build a lifimage (XC and native builds work on
occasion)
>> o mongoose (HPUX) boot loader is an option (PALO required)
>> o Serial console required (can use STI now)

Can anybody explain me how to get console NOT on serial link ?

>> o mkp is working on superio ;^)


> I don't have an environment to build my own kernel image yet.
Obviously I
> can't do a native build.  And I've got almost a week of HP/UX
experience
> now.  :)  What does it take to build a kernel under HP/UX?  I'm
guessing
> GCC+Binutils+Make as a minimum.  What are my chances with the
> cross-compiler?

I used xc tools from palinux-0.5 on x86 linux (Slackware 3.6 + glibc).
Kernel was built satisfactory (despite a lot of warnings about
incompatible
argument types (as far as i remember)). Booting went ok.



A.K.

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

* Re: [parisc-linux] Booting C100
  2001-01-15 21:30 [parisc-linux] Booting C100 Aleksandr Konstantinov
@ 2001-01-15 22:17 ` Matthew Wilcox
  2001-01-16 13:56   ` Aleksandr Konstantinov
  0 siblings, 1 reply; 10+ messages in thread
From: Matthew Wilcox @ 2001-01-15 22:17 UTC (permalink / raw)
  To: Aleksandr Konstantinov; +Cc: parisc-linux

On Mon, Jan 15, 2001 at 10:30:09PM +0100, Aleksandr Konstantinov wrote:
> Can anybody explain me how to get console NOT on serial link ?

activate CONFIG_STI and use `console=tty0' instead of `console=ttyS0'.
this should be done for you automatically by palo when you set CONFIG_STI.

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] Booting C100
  2001-01-15 22:17 ` Matthew Wilcox
@ 2001-01-16 13:56   ` Aleksandr Konstantinov
  2001-01-16 15:22     ` Matthew Wilcox
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Aleksandr Konstantinov @ 2001-01-16 13:56 UTC (permalink / raw)
  To: Matthew Wilcox, parisc-linux

Matthew Wilcox wrote:
> 
> On Mon, Jan 15, 2001 at 10:30:09PM +0100, Aleksandr Konstantinov wrote:
> > Can anybody explain me how to get console NOT on serial link ?
> 
> activate CONFIG_STI and use `console=tty0' instead of `console=ttyS0'.
Do You mean CONFIG_STI_CONSOLE ? I have it, and CONFIG_SERIAL_CONSOLE
too.
Palo also sets console=tty0 .  Booting goes till "Switching from PDC
console"
and then welcome message from palinux cdrom appears on serial link.




A.K.

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

* Re: [parisc-linux] Booting C100
  2001-01-16 13:56   ` Aleksandr Konstantinov
@ 2001-01-16 15:22     ` Matthew Wilcox
  2001-01-16 15:57       ` [parisc-linux] C100 Boots! Really! Got a shell! Greg Ingram
  2001-01-16 17:46     ` [parisc-linux] Booting C100 Helge Deller
  2001-01-17 19:18     ` [parisc-linux] C100 Bus Errors Greg Ingram
  2 siblings, 1 reply; 10+ messages in thread
From: Matthew Wilcox @ 2001-01-16 15:22 UTC (permalink / raw)
  To: Aleksandr Konstantinov; +Cc: Matthew Wilcox, parisc-linux

On Tue, Jan 16, 2001 at 03:56:29PM +0200, Aleksandr Konstantinov wrote:
> Matthew Wilcox wrote:
> > 
> > On Mon, Jan 15, 2001 at 10:30:09PM +0100, Aleksandr Konstantinov wrote:
> > > Can anybody explain me how to get console NOT on serial link ?
> > 
> > activate CONFIG_STI and use `console=tty0' instead of `console=ttyS0'.
> Do You mean CONFIG_STI_CONSOLE ? I have it, and CONFIG_SERIAL_CONSOLE
> too.
> Palo also sets console=tty0 .  Booting goes till "Switching from PDC
> console"
> and then welcome message from palinux cdrom appears on serial link.

then that's a bug.  i shan't be able to fix it until i have access to an
STI-capable machine, which is a few weeks away yet.

-- 
Revolutions do not require corporate support.

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

* [parisc-linux] C100 Boots!  Really!  Got a shell!
  2001-01-16 15:22     ` Matthew Wilcox
@ 2001-01-16 15:57       ` Greg Ingram
  0 siblings, 0 replies; 10+ messages in thread
From: Greg Ingram @ 2001-01-16 15:57 UTC (permalink / raw)
  To: parisc-linux


Gentlemen,

In a previous post I reported that telnet was answering but I got a
'permission denied' error and never saw a login prompt.  I suspected that
the root file system was never being remounted as read-write.  After
appending 'rw' to the kernel command line I'm able to login via
telnet.  Woohoo!  I'm using the nfsroot tarball from the FTP site.  Might
there be a problem in it such that / isn't properly remounted?

Some other things:

Trying STI for the console didn't work.  I eventually enabled the console
on the line printer (no printer connected though) and disabled the console
on the serial port.  I stop getting messages on the serial port at:

	Set default PSW W bit to 0

but the boot continues.

Also, I find this in dmesg output:

!!die_if_kernel: sleep(52): Unaligned data reference 28
 
     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001101111111100001011
r0-3     00000000 40178938 4018cc7b 401760d4
r4-7     40197148 00000000 00000031 001e8481
r8-11    bb00014c bb000140 00000002 4001ada0
r12-15   4001ad7c 00000000 000929b0 00000000
r16-19   00000000 0007e808 00078440 40197148
r20-23   001e8000 40188f14 bb000414 00000008
r24-27   40190460 00000000 401760d4 00076808
r28-31   00000016 00000000 bb0006c0 4009d987
sr0-3    0000007a 0000007a 00000000 0000007a
sr4-7    0000007a 0000007a 0000007a 0000007a
 
IASQ: 0000007a 0000007a IAOQ: 4018d0ab 4018d0af
 IIR: 0c6011d4    ISR: 0000007a  IOR: 401760d4
ORIG_R28: 00000000
!!die_if_kernel: nscd(97): Unaligned data reference 28
 
     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001001111111100001011
r0-3     00000000 40167938 40029c7b 401650d4
r4-7     40034148 00000000 00000031 001e8481
r8-11    bb000160 bb000158 00000001 4001ada0
r12-15   4001ad7c 00000000 0008c350 00000000
r16-19   00000000 0007e808 00078440 40034148
r20-23   001e8000 40025f14 bb000414 00000008
r24-27   4002d460 00000000 401650d4 000054dc
r28-31   00000016 00000000 bb0006c0 4008c987
sr0-3    000000f9 000000f9 00000000 000000f9
sr4-7    000000f9 000000f9 000000f9 000000f9
 
IASQ: 000000f9 000000f9 IAOQ: 4002a0ab 4002a0af
 IIR: 0c6011d4    ISR: 000000f9  IOR: 401650d4
ORIG_R28: 00000000
                                                                                
Next on the agenda:  Get Linux on the local hard drive.

Cheers,

- Greg

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

* Re: [parisc-linux] Booting C100
  2001-01-16 13:56   ` Aleksandr Konstantinov
  2001-01-16 15:22     ` Matthew Wilcox
@ 2001-01-16 17:46     ` Helge Deller
  2001-01-17  4:40       ` Aleksandr Konstantinov
  2001-01-17 19:18     ` [parisc-linux] C100 Bus Errors Greg Ingram
  2 siblings, 1 reply; 10+ messages in thread
From: Helge Deller @ 2001-01-16 17:46 UTC (permalink / raw)
  To: Aleksandr Konstantinov, parisc-linux

On Tuesday 16 January 2001 14:56, Aleksandr Konstantinov wrote:
> Matthew Wilcox wrote:
> > On Mon, Jan 15, 2001 at 10:30:09PM +0100, Aleksandr Konstantinov wrote:
> > > Can anybody explain me how to get console NOT on serial link ?
> >
> > activate CONFIG_STI and use `console=tty0' instead of `console=ttyS0'.
>
> Do You mean CONFIG_STI_CONSOLE ? I have it, and CONFIG_SERIAL_CONSOLE
> too.
> Palo also sets console=tty0 .  Booting goes till "Switching from PDC
> console"
> and then welcome message from palinux cdrom appears on serial link.

Try to enable just one of both: CONFIG_STI_CONSOLE _or_ CONFIG_SERIAL_CONSOLE

Greetings,
         Helge

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

* Re: [parisc-linux] Booting C100
  2001-01-16 17:46     ` [parisc-linux] Booting C100 Helge Deller
@ 2001-01-17  4:40       ` Aleksandr Konstantinov
  0 siblings, 0 replies; 10+ messages in thread
From: Aleksandr Konstantinov @ 2001-01-17  4:40 UTC (permalink / raw)
  To: Helge Deller; +Cc: parisc-linux

> > Do You mean CONFIG_STI_CONSOLE ? I have it, and CONFIG_SERIAL_CONSOLE
> > too.
> > Palo also sets console=tty0 .  Booting goes till "Switching from PDC
> > console"
> > and then welcome message from palinux cdrom appears on serial link.
>
> Try to enable just one of both: CONFIG_STI_CONSOLE _or_ CONFIG_SERIAL_CONSOLE

 I tried it and got following behavior:

  While kernel starts/initializes screen stays black. When it suddenly fills with
scattered characters (I could
read few words on screen: TCP, UDP RARP, Init and even something, that looks like
Welcome).



A.K.

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

* [parisc-linux] C100 Bus Errors
  2001-01-16 13:56   ` Aleksandr Konstantinov
  2001-01-16 15:22     ` Matthew Wilcox
  2001-01-16 17:46     ` [parisc-linux] Booting C100 Helge Deller
@ 2001-01-17 19:18     ` Greg Ingram
  2001-01-17 19:25       ` Grant Grundler
  2 siblings, 1 reply; 10+ messages in thread
From: Greg Ingram @ 2001-01-17 19:18 UTC (permalink / raw)
  To: parisc-linux


Howdy,

I've got the nfsroot tarball copied onto a hard disk now and I'm beginning
to play around some more.  Unfortunately, some of the first programs I
tried (make and tar) died with a simple 'Bus error' message.  What does a
bus error really mean?  Is it a problem with the kernel support for my
hardware?

Regards,

- Greg

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

* Re: [parisc-linux] C100 Bus Errors
  2001-01-17 19:18     ` [parisc-linux] C100 Bus Errors Greg Ingram
@ 2001-01-17 19:25       ` Grant Grundler
  2001-01-17 19:33         ` Greg Ingram
  0 siblings, 1 reply; 10+ messages in thread
From: Grant Grundler @ 2001-01-17 19:25 UTC (permalink / raw)
  To: Greg Ingram; +Cc: parisc-linux

Greg Ingram wrote:
> What does a bus error really mean?

I've seen it mean an unaligned data reference trap (in user space).
But I'm not sure that's the case here.

> Is it a problem with the kernel support for my hardware?

very unlikely.

grant

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

* Re: [parisc-linux] C100 Bus Errors
  2001-01-17 19:25       ` Grant Grundler
@ 2001-01-17 19:33         ` Greg Ingram
  0 siblings, 0 replies; 10+ messages in thread
From: Greg Ingram @ 2001-01-17 19:33 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux

On Wed, 17 Jan 2001, Grant Grundler wrote:

> Greg Ingram wrote:
> > What does a bus error really mean?
> 
> I've seen it mean an unaligned data reference trap (in user space).
> But I'm not sure that's the case here.

That what it is, alright.  It generates a register dump.  Anything I can
do about it?

- Greg

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

end of thread, other threads:[~2001-01-17 19:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-15 21:30 [parisc-linux] Booting C100 Aleksandr Konstantinov
2001-01-15 22:17 ` Matthew Wilcox
2001-01-16 13:56   ` Aleksandr Konstantinov
2001-01-16 15:22     ` Matthew Wilcox
2001-01-16 15:57       ` [parisc-linux] C100 Boots! Really! Got a shell! Greg Ingram
2001-01-16 17:46     ` [parisc-linux] Booting C100 Helge Deller
2001-01-17  4:40       ` Aleksandr Konstantinov
2001-01-17 19:18     ` [parisc-linux] C100 Bus Errors Greg Ingram
2001-01-17 19:25       ` Grant Grundler
2001-01-17 19:33         ` Greg Ingram

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