64bit kernels boot on C200 (finally) :)
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.).
Quoted 10 lines · Ryan Bradetich
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?
Signature · 1 line
Revolutions do not require corporate support.
[ Snip ]
Quoted 2 lines
i'm surprised the network works given the number of warnings when compiling
lasi_82596.cwith 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.
Quoted 2 lines
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
Quoted 7 lines · Matthew Wilcox
Quoted 6 lines · Ryan Bradetich
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.
Quoted 7 lines
Quoted 4 lines
but here it is:
demo@vega:~$ uname -a Linux vega 2.4.14-pa1 #2 Thu Nov 15 12:08:07 MST 2001 parisc64 unknowni'm surprised the network works given the number of warnings when compiling
lasi_82596.cwith 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.
Signature · 1 line
Michael Wood <[email protected]>
Quoted 4 lines
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 :)
Quoted 5 lines
I've been using 32 bit kernels since then. I don't think
lasi_82596.chas 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
Quoted 2 lines · Ryan Bradetich
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!