Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] 64bit kernels boot on C200 (finally) :)
@ 2001-11-15 19:32 Ryan Bradetich
  2001-11-15 20:01 ` Matthew Wilcox
  2001-11-16  4:52 ` Grant Grundler
  0 siblings, 2 replies; 6+ messages in thread
From: Ryan Bradetich @ 2001-11-15 19:32 UTC (permalink / raw)
  To: parisc-linux

Hello parisc-linux hackers,

I just wanted to throw out a quick note because I've been
waiting for this day for a long time now.... today is the
first day (granted I have not tried recently) the C200+
boot a 64-bit kernel!!

It is not perfect yet, still have a couple of bugs to work
out and fix:
	1. sys32_ioctl: Unknown cmd fd(3) cmd(00004b50) arg(faf00788)
	2. the ncr720 driver seemed to hang when I had a disk
	   attached behind the bluefish card.

but here it is:

demo@vega:~$ uname -a
Linux vega 2.4.14-pa1 #2 Thu Nov 15 12:08:07 MST 2001 parisc64 unknown

- Ryan

P.S. Remember for the C200+ (if someone else wants to play with this,
you need to enable the 32-bit PDC wrappers.).

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

* Re: [parisc-linux] 64bit kernels boot on C200 (finally) :)
  2001-11-15 19:32 [parisc-linux] 64bit kernels boot on C200 (finally) :) Ryan Bradetich
@ 2001-11-15 20:01 ` Matthew Wilcox
  2001-11-16  3:39   ` Ryan Bradetich
  2001-11-16 15:37   ` Michael Wood
  2001-11-16  4:52 ` Grant Grundler
  1 sibling, 2 replies; 6+ messages in thread
From: Matthew Wilcox @ 2001-11-15 20:01 UTC (permalink / raw)
  To: Ryan Bradetich; +Cc: parisc-linux

On Thu, Nov 15, 2001 at 12:32:03PM -0700, Ryan Bradetich wrote:
> It is not perfect yet, still have a couple of bugs to work
> out and fix:
> 	1. sys32_ioctl: Unknown cmd fd(3) cmd(00004b50) arg(faf00788)
> 	2. the ncr720 driver seemed to hang when I had a disk
> 	   attached behind the bluefish card.
> 
> but here it is:
> 
> demo@vega:~$ uname -a
> Linux vega 2.4.14-pa1 #2 Thu Nov 15 12:08:07 MST 2001 parisc64 unknown

i'm surprised the network works given the number of warnings when compiling
lasi_82596.c with a 64-bit compiler.

btw, does a 64-bit kernel with the 32-bit wrapper options enabled boot
on a PAT PDC box like A500?

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] 64bit kernels boot on C200 (finally) :)
  2001-11-15 20:01 ` Matthew Wilcox
@ 2001-11-16  3:39   ` Ryan Bradetich
  2001-11-16 15:37   ` Michael Wood
  1 sibling, 0 replies; 6+ messages in thread
From: Ryan Bradetich @ 2001-11-16  3:39 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Ryan Bradetich, parisc-linux

[ Snip ]
> i'm surprised the network works given the number of warnings when compiling
> lasi_82596.c with a 64-bit compiler.

it does ... that was over a nfs root.  I plan on taking a look at the compiler
warnings here shortly.  But I have not tested out how much works on the C200+
with a 64-bit kernel ... I have no idea if scsi works, etc.  I will play with
it more and see what is br0k3n.... I was just happy to see the login prompt.

> btw, does a 64-bit kernel with the 32-bit wrapper options enabled boot
> on a PAT PDC box like A500?

I'm not sure if I understand the question, so let me try to restate the
question I think you are asking.

If you compile in 32-bit wrapper support into a 64-bit kernel ... can
the same kernel be used on a PAT PDC box like the A500? 

  No.  When I first started down the 32-bit wrapper support, I was going
  to make the wrappers smart and use the 32-bit wrappers when needed.  I
  was talked out of the idea, because on all the boxes that need the
  32-bit wrappers do not support > 4G ram, thus there is no advantage
  (yes Grant, I know ... some application do benefit from 64-bit kernels)
  for running a 64-bit kernel on them.  The PDC wrappers are designed to
  be used for developement/testing purposes for people with these systems.
  (By Making the wrappers a compile time option, it saves an additional
   level of indirection for every pdc call).


That help?  If not, I'll try again.

- Ryan

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

* Re: [parisc-linux] 64bit kernels boot on C200 (finally) :)
  2001-11-15 19:32 [parisc-linux] 64bit kernels boot on C200 (finally) :) Ryan Bradetich
  2001-11-15 20:01 ` Matthew Wilcox
@ 2001-11-16  4:52 ` Grant Grundler
  1 sibling, 0 replies; 6+ messages in thread
From: Grant Grundler @ 2001-11-16  4:52 UTC (permalink / raw)
  To: Ryan Bradetich; +Cc: parisc-linux

Ryan Bradetich wrote:
> demo@vega:~$ uname -a
> Linux vega 2.4.14-pa1 #2 Thu Nov 15 12:08:07 MST 2001 parisc64 unknown

Ryan! Congrats! That's so cool!

grant

ps. ryan has been working on this for nearly a year..quite a milestone!

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

* Re: [parisc-linux] 64bit kernels boot on C200 (finally) :)
  2001-11-15 20:01 ` Matthew Wilcox
  2001-11-16  3:39   ` Ryan Bradetich
@ 2001-11-16 15:37   ` Michael Wood
  2001-11-16 20:02     ` Ryan Bradetich
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Wood @ 2001-11-16 15:37 UTC (permalink / raw)
  To: parisc-linux

On Thu, Nov 15, 2001 at 08:01:02PM +0000, Matthew Wilcox wrote:
> On Thu, Nov 15, 2001 at 12:32:03PM -0700, Ryan Bradetich wrote:
> > It is not perfect yet, still have a couple of bugs to work
> > out and fix:
> > 	1. sys32_ioctl: Unknown cmd fd(3) cmd(00004b50) arg(faf00788)
> > 	2. the ncr720 driver seemed to hang when I had a disk
> > 	   attached behind the bluefish card.
> > 
> > but here it is:
> > 
> > demo@vega:~$ uname -a
> > Linux vega 2.4.14-pa1 #2 Thu Nov 15 12:08:07 MST 2001 parisc64 unknown
> 
> i'm surprised the network works given the number of warnings
> when compiling lasi_82596.c with a 64-bit compiler.

The last time I tried a 64 bit kernel with lasi_82596.c (a few
weeks ago), the network card would not work.  When the driver
loaded it complained that sizeof(somestruct) was 64.  I had a
look at the code and saw that it was expecting it to be 32.

I've been using 32 bit kernels since then.  I don't think
lasi_82596.c has changed significantly since I last tried it in
a 64 bit kernel.

This was on a D270.

-- 
Michael Wood <mwood@its.uct.ac.za>

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

* Re: [parisc-linux] 64bit kernels boot on C200 (finally) :)
  2001-11-16 15:37   ` Michael Wood
@ 2001-11-16 20:02     ` Ryan Bradetich
  0 siblings, 0 replies; 6+ messages in thread
From: Ryan Bradetich @ 2001-11-16 20:02 UTC (permalink / raw)
  To: Michael Wood; +Cc: parisc-linux

> The last time I tried a 64 bit kernel with lasi_82596.c (a few
> weeks ago), the network card would not work.  When the driver
> loaded it complained that sizeof(somestruct) was 64.  I had a
> look at the code and saw that it was expecting it to be 32.

yeah, I was confused.  C200 has tulip, K460 has lasi_82596.  Talking
with Richard Hirst, it sounds like making this driver 64-bit clean
would be non-trivial ... so this will probably be one of my pet
project that takes a year to get finished :)

> I've been using 32 bit kernels since then.  I don't think
> lasi_82596.c has changed significantly since I last tried it in
> a 64 bit kernel.
> 
> This was on a D270.

Cool, if your D270 also uses it, maybe you will get it ported
before I do :)

- Ryan

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-15 19:32 [parisc-linux] 64bit kernels boot on C200 (finally) :) Ryan Bradetich
2001-11-15 20:01 ` Matthew Wilcox
2001-11-16  3:39   ` Ryan Bradetich
2001-11-16 15:37   ` Michael Wood
2001-11-16 20:02     ` Ryan Bradetich
2001-11-16  4:52 ` Grant Grundler

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