Skip to contentSkip to conversation

Booting C100

parisc-linux Aleksandr Konstantinov 5 participants 10 messages Jan 15, 2001 – Jan 17, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

Anybody got one?

Yes. Want one ?

Quoted 1 line
Quoted 1 line

o HPUX is required to build a lifimage (XC and native builds work on

occasion)

Quoted 2 lines
Quoted 2 lines

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 ?

Quoted 4 lines
Quoted 1 line

o mkp is working on superio ;^)

I don't have an environment to build my own kernel image yet.

Obviously I

Quoted 1 line

can't do a native build. And I've got almost a week of HP/UX

experience

Quoted 1 line

now. :) What does it take to build a kernel under HP/UX? I'm

guessing

Quoted 2 lines

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.

#1 lore raw
Quoted 1 line · Aleksandr Konstantinov

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.

Signature · 1 line
Revolutions do not require corporate support.
#2 lore raw
Quoted 5 lines · Matthew Wilcox
Quoted 1 line · Aleksandr Konstantinov

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.

#3 lore raw
Quoted 11 lines · Aleksandr Konstantinov
Quoted 5 lines · Matthew Wilcox
Quoted 1 line · Aleksandr Konstantinov

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.

Signature · 1 line
Revolutions do not require corporate support.
#4 lore raw

[parisc-linux] C100 Boots! Really! Got a shell!

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

#5 lore raw
In reply to Aleksandr Konstantinov
Quoted 11 lines · Aleksandr Konstantinov
Quoted 4 lines · Matthew Wilcox
Quoted 1 line · Aleksandr Konstantinov

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

#6 lore raw
Quoted 7 lines
Quoted 5 lines

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.

#7 lore raw

[parisc-linux] C100 Bus Errors

In reply to Aleksandr Konstantinov

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

#8 lore raw

Re: [parisc-linux] C100 Bus Errors

Quoted 1 line · Greg Ingram

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.

Quoted 1 line

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

very unlikely.

grant

#9 lore raw

Re: [parisc-linux] C100 Bus Errors

Quoted 5 lines · Grant Grundler
Quoted 1 line · Greg Ingram

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