<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>parisc-linux Digest, Vol 2, Issue 32</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Send parisc-linux mailing list submissions to</FONT>
<BR> <FONT SIZE=2>parisc-linux@lists.parisc-linux.org</FONT>
</P>
<P><FONT SIZE=2>To subscribe or unsubscribe via the World Wide Web, visit</FONT>
<BR> <FONT SIZE=2><A HREF="http://lists.parisc-linux.org/mailman/listinfo/parisc-linux" TARGET="_blank">http://lists.parisc-linux.org/mailman/listinfo/parisc-linux</A></FONT>
<BR><FONT SIZE=2>or, via email, send a message with subject or body 'help' to</FONT>
<BR> <FONT SIZE=2>parisc-linux-request@lists.parisc-linux.org</FONT>
</P>
<P><FONT SIZE=2>You can reach the person managing the list at</FONT>
<BR> <FONT SIZE=2>parisc-linux-owner@lists.parisc-linux.org</FONT>
</P>
<P><FONT SIZE=2>When replying, please edit your Subject line so it is more specific</FONT>
<BR><FONT SIZE=2>than "Re: Contents of parisc-linux digest..."</FONT>
</P>
<BR>
<P><FONT SIZE=2>Today's Topics:</FONT>
</P>
<P><FONT SIZE=2> 1. Re: menu not available (Matthew Wilcox)</FONT>
<BR><FONT SIZE=2> 2. Re: Re: [parisc-linux] missing barrier in _raw_spin_lock?</FONT>
<BR><FONT SIZE=2> (John David Anglin)</FONT>
<BR><FONT SIZE=2> 3. Re: kernel BUG at mm/shmem.c:585! (Carlos O'Donell)</FONT>
<BR><FONT SIZE=2> 4. Re: kernel BUG at mm/shmem.c:585! (John David Anglin)</FONT>
<BR><FONT SIZE=2> 5. installation failed on C240 (fx4) workstation </FONT>
<BR><FONT SIZE=2> (Reinhold Flecke CCF)</FONT>
<BR><FONT SIZE=2> 6. help installation failed on C240 (fx4) workstation</FONT>
<BR><FONT SIZE=2> (Reinhold Flecke CCF)</FONT>
<BR><FONT SIZE=2> 7. Re: kernel BUG at mm/shmem.c:585! (Grant Grundler)</FONT>
<BR><FONT SIZE=2> 8. Re: help installation failed on C240 (fx4) workstation</FONT>
<BR><FONT SIZE=2> (Grant Grundler)</FONT>
<BR><FONT SIZE=2> 9. A fix for B2k and CONFIG_PDC_CONSOLE pb (Joel Soete)</FONT>
</P>
<BR>
<P><FONT SIZE=2>----------------------------------------------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 1</FONT>
<BR><FONT SIZE=2>Date: Sun, 25 Jan 2004 22:40:40 +0000</FONT>
<BR><FONT SIZE=2>From: Matthew Wilcox <willy@debian.org></FONT>
<BR><FONT SIZE=2>Subject: Re: [parisc-linux] menu not available</FONT>
<BR><FONT SIZE=2>To: Grant Grundler <grundler@parisc-linux.org></FONT>
<BR><FONT SIZE=2>Cc: "Peralta, Joseph A" <jperalta@WPI.EDU>,</FONT>
<BR> <FONT SIZE=2>parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <20040125224040.GG11844@parcelfarce.linux.theplanet.co.uk></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset=us-ascii</FONT>
</P>
<P><FONT SIZE=2>On Fri, Jan 23, 2004 at 03:11:49PM -0700, Grant Grundler wrote:</FONT>
<BR><FONT SIZE=2>> On Fri, Jan 23, 2004 at 04:47:11PM -0500, Peralta, Joseph A wrote:</FONT>
<BR><FONT SIZE=2>> > When I try to install certain X-window managers under Debian 3.0 I get</FONT>
<BR><FONT SIZE=2>> > "xxx depends on menu (>> 1.5)... menu is not available" How would I fix</FONT>
<BR><FONT SIZE=2>> > this?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Dunno...menu is available for "sarge" (aka testing) and that</FONT>
<BR><FONT SIZE=2>> works for me. Sounds like someone wants to backport to Woody.</FONT>
</P>
<P><FONT SIZE=2>menu is not available for woody because it's written in a language which</FONT>
<BR><FONT SIZE=2>bears a passing resemblance to C++. someone rewrote it in C++ for sarge.</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>"Next the statesmen will invent cheap lies, putting the blame upon </FONT>
<BR><FONT SIZE=2>the nation that is attacked, and every man will be glad of those</FONT>
<BR><FONT SIZE=2>conscience-soothing falsities, and will diligently study them, and refuse</FONT>
<BR><FONT SIZE=2>to examine any refutations of them; and thus he will by and by convince </FONT>
<BR><FONT SIZE=2>himself that the war is just, and will thank God for the better sleep </FONT>
<BR><FONT SIZE=2>he enjoys after this process of grotesque self-deception." -- Mark Twain</FONT>
</P>
<BR>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 2</FONT>
<BR><FONT SIZE=2>Date: Sun, 25 Jan 2004 19:13:47 -0500 (EST)</FONT>
<BR><FONT SIZE=2>From: "John David Anglin" <dave@hiauly1.hia.nrc.ca></FONT>
<BR><FONT SIZE=2>Subject: Re: Re: [parisc-linux] missing barrier in _raw_spin_lock?</FONT>
<BR><FONT SIZE=2>To: arndb@onlinehome.de</FONT>
<BR><FONT SIZE=2>Cc: grundler@parisc-linux.org, arnd@arndb.de,</FONT>
<BR> <FONT SIZE=2>parisc-linux@parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <200401260013.i0Q0Dltk013819@hiauly1.hia.nrc.ca></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset=US-ASCII</FONT>
</P>
<P><FONT SIZE=2>> > #define __ldcw(a) ({ \</FONT>
<BR><FONT SIZE=2>> > unsigned int __ret; \</FONT>
<BR><FONT SIZE=2>> > __asm__ __volatile__("ldcw 0(%2),%0" \</FONT>
<BR><FONT SIZE=2>> > : "=r" (__ret), "=m" (*(a)) : "r" (a)); \</FONT>
<BR><FONT SIZE=2>> > __ret; \</FONT>
<BR><FONT SIZE=2>> > })</FONT>
</P>
<P><FONT SIZE=2>> I suppose the memory operand specification is required here. Newer </FONT>
<BR><FONT SIZE=2>> compilers (especially gcc-3.4) can optimize away local variables if you </FONT>
<BR><FONT SIZE=2>> only access the address but not the contents. I think even your </FONT>
<BR><FONT SIZE=2>> pthreads version is not really correct, because it specifies (*(a)) as</FONT>
<BR><FONT SIZE=2>> output only instead of inout.</FONT>
</P>
<P><FONT SIZE=2>I agree.</FONT>
</P>
<P><FONT SIZE=2>> No, putting the barrier into __ldcw is wrong because it would impact all</FONT>
<BR><FONT SIZE=2>> other uses of __ldcw that don't need the barrier. AFAICS, the </FONT>
</P>
<P><FONT SIZE=2>The only other uses for __ldcw are the SPIN_LOCK macro in atomic.h</FONT>
<BR><FONT SIZE=2>and the _raw_spin_trylock in spinlock.h (i.e., it is only used</FONT>
<BR><FONT SIZE=2>acquire locks). If all these need barriers, then it might as well</FONT>
<BR><FONT SIZE=2>be in __ldcw.</FONT>
</P>
<P><FONT SIZE=2>Dave</FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>J. David Anglin dave.anglin@nrc-cnrc.gc.ca</FONT>
<BR><FONT SIZE=2>National Research Council of Canada (613) 990-0752 (FAX: 952-6602)</FONT>
</P>
<BR>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 3</FONT>
<BR><FONT SIZE=2>Date: Sun, 25 Jan 2004 21:15:09 -0500</FONT>
<BR><FONT SIZE=2>From: Carlos O'Donell <carlos@baldric.uwo.ca></FONT>
<BR><FONT SIZE=2>Subject: Re: [parisc-linux] kernel BUG at mm/shmem.c:585!</FONT>
<BR><FONT SIZE=2>To: John David Anglin <dave@hiauly1.hia.nrc.ca></FONT>
<BR><FONT SIZE=2>Cc: grundler@parisc-linux.org, parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <20040126021508.GZ1060@baldric.uwo.ca></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset=us-ascii</FONT>
</P>
<P><FONT SIZE=2>On Fri, Jan 23, 2004 at 02:40:27PM -0500, John David Anglin wrote:</FONT>
<BR><FONT SIZE=2>> > It appears non-fatal, and I want to blame the compiler :)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I agree but the proof is in the pudding ;-)</FONT>
</P>
<P><FONT SIZE=2>I told Grant, that at my current schedule, it would be 2006 </FONT>
<BR><FONT SIZE=2>before I fixed this problem :)</FONT>
</P>
<P><FONT SIZE=2>It looks like a reordering issue, perhaps taking a look at the</FONT>
<BR><FONT SIZE=2>respective .o objects produced by the two compilers might reveal the</FONT>
<BR><FONT SIZE=2>issue. I think that's the way we did it when the tty layer broke and we</FONT>
<BR><FONT SIZE=2>had to have that console.o compiled with 3.0.4 by hand? I think Randolph</FONT>
<BR><FONT SIZE=2>and Grant worked on that together. I might have the wrong names, but</FONT>
<BR><FONT SIZE=2>we've successfully debugged a problem like this before using similar</FONT>
<BR><FONT SIZE=2>methods.</FONT>
</P>
<P><FONT SIZE=2>c.</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 4</FONT>
<BR><FONT SIZE=2>Date: Sun, 25 Jan 2004 21:35:07 -0500 (EST)</FONT>
<BR><FONT SIZE=2>From: "John David Anglin" <dave@hiauly1.hia.nrc.ca></FONT>
<BR><FONT SIZE=2>Subject: Re: [parisc-linux] kernel BUG at mm/shmem.c:585!</FONT>
<BR><FONT SIZE=2>To: carlos@baldric.uwo.ca (Carlos O'Donell)</FONT>
<BR><FONT SIZE=2>Cc: grundler@parisc-linux.org, parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <200401260235.i0Q2Z783024373@hiauly1.hia.nrc.ca></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset=US-ASCII</FONT>
</P>
<P><FONT SIZE=2>> On Fri, Jan 23, 2004 at 02:40:27PM -0500, John David Anglin wrote:</FONT>
<BR><FONT SIZE=2>> > > It appears non-fatal, and I want to blame the compiler :)</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > I agree but the proof is in the pudding ;-)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I told Grant, that at my current schedule, it would be 2006 </FONT>
<BR><FONT SIZE=2>> before I fixed this problem :)</FONT>
</P>
<P><FONT SIZE=2>My schedule isn't much better. I'm off to Tokyo at the end of the week</FONT>
<BR><FONT SIZE=2>to waive the Canadian flag at the ISO LRG meetin next week. After that,</FONT>
<BR><FONT SIZE=2>my brother's company would like me to work on more firmware for a new</FONT>
<BR><FONT SIZE=2>project.</FONT>
</P>
<P><FONT SIZE=2>Is this on a SMP kernel (i.e., could this be a locking issue)?</FONT>
</P>
<P><FONT SIZE=2>Dave</FONT>
<BR><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>J. David Anglin dave.anglin@nrc-cnrc.gc.ca</FONT>
<BR><FONT SIZE=2>National Research Council of Canada (613) 990-0752 (FAX: 952-6602)</FONT>
</P>
<BR>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 5</FONT>
<BR><FONT SIZE=2>Date: Mon, 26 Jan 2004 11:54:13 +0100</FONT>
<BR><FONT SIZE=2>From: "Reinhold Flecke CCF" <reinhold.flecke@ccf-consulting.de></FONT>
<BR><FONT SIZE=2>Subject: [parisc-linux] installation failed on C240 (fx4) workstation</FONT>
<BR>
<BR><FONT SIZE=2>To: <parisc-linux@lists.parisc-linux.org></FONT>
<BR><FONT SIZE=2>Message-ID:</FONT>
<BR> <FONT SIZE=2><LBEMKLBEFDGDOGGAOGIKAEJPCCAA.reinhold.flecke@ccf-consultingde></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset="iso-8859-1"</FONT>
</P>
<P><FONT SIZE=2>I downloaded the "debian-30r2-hppa-binary-1.iso" and burned it to CD. </FONT>
<BR><FONT SIZE=2>If I start the installation on my C240 (fx4) workstation with the command:</FONT>
<BR><FONT SIZE=2>bo sescsi.2.0</FONT>
</P>
<P><FONT SIZE=2>it seems everything ok, until I get the message:</FONT>
<BR><FONT SIZE=2>...If this is the last message you see, you may need to switch your console.</FONT>
<BR><FONT SIZE=2> This is a common sympton sarch the FAQ and mailing list at</FONT>
<BR><FONT SIZE=2>parisc-linux.org</FONT>
</P>
<P><FONT SIZE=2>After this nothing happens anymore.</FONT>
<BR><FONT SIZE=2>I searched the FAQ and mailing list but I could not find a solution.</FONT>
<BR><FONT SIZE=2>Anyone who can help?</FONT>
</P>
<P><FONT SIZE=2>Thanks in advance.</FONT>
</P>
<P><FONT SIZE=2>Best Regards</FONT>
<BR><FONT SIZE=2>Reinhold Flecke</FONT>
</P>
<BR>
<P><FONT SIZE=2>Reinhold Flecke CCF</FONT>
<BR><FONT SIZE=2>Fon: +49 (0)5292 930601 (Office)</FONT>
<BR> <FONT SIZE=2>+49 (0)700 93000093 (PR)</FONT>
<BR><FONT SIZE=2>eMail: <<A HREF="mailto:Reinhold.Flecke@ccf-consulting.de">mailto:Reinhold.Flecke@ccf-consulting.de</A>></FONT>
</P>
<P><FONT SIZE=2>-------------- next part --------------</FONT>
<BR><FONT SIZE=2>A non-text attachment was scrubbed...</FONT>
<BR><FONT SIZE=2>Name: winmail.dat</FONT>
<BR><FONT SIZE=2>Type: application/ms-tnef</FONT>
<BR><FONT SIZE=2>Size: 2008 bytes</FONT>
<BR><FONT SIZE=2>Desc: not available</FONT>
<BR><FONT SIZE=2>Url : <A HREF="http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040126/13277935/winmail-0001.bin" TARGET="_blank">http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040126/13277935/winmail-0001.bin</A></FONT>
</P>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 6</FONT>
<BR><FONT SIZE=2>Date: Mon, 26 Jan 2004 12:13:22 +0100</FONT>
<BR><FONT SIZE=2>From: "Reinhold Flecke CCF" <reinhold.flecke@ccf-consulting.de></FONT>
<BR><FONT SIZE=2>Subject: [parisc-linux] help installation failed on C240 (fx4)</FONT>
<BR> <FONT SIZE=2>workstation</FONT>
<BR><FONT SIZE=2>To: <parisc-linux@lists.parisc-linux.org></FONT>
<BR><FONT SIZE=2>Message-ID:</FONT>
<BR> <FONT SIZE=2><LBEMKLBEFDGDOGGAOGIKOEJPCCAA.reinhold.flecke@ccf-consultingde></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset="iso-8859-1"</FONT>
</P>
<P><FONT SIZE=2>I downloaded the "debian-30r2-hppa-binary-1.iso" and burned it to CD. </FONT>
<BR><FONT SIZE=2>If I start the installation on my C240 (fx4) workstation with the command:</FONT>
<BR><FONT SIZE=2>bo sescsi.2.0</FONT>
</P>
<P><FONT SIZE=2>it seems everything ok, until I get the message:</FONT>
<BR><FONT SIZE=2>...If this is the last message you see, you may need to switch your console.</FONT>
<BR><FONT SIZE=2> This is a common sympton sarch the FAQ and mailing list at</FONT>
<BR><FONT SIZE=2>parisc-linux.org</FONT>
</P>
<P><FONT SIZE=2>After this nothing happens anymore.</FONT>
<BR><FONT SIZE=2>I searched the FAQ and mailing list but I could not find a solution.</FONT>
<BR><FONT SIZE=2>Anyone who can help?</FONT>
</P>
<P><FONT SIZE=2>Thanks in advance.</FONT>
</P>
<BR>
<P><FONT SIZE=2>Best Regards</FONT>
<BR><FONT SIZE=2>Reinhold Flecke</FONT>
</P>
<BR>
<P><FONT SIZE=2>Reinhold Flecke CCF</FONT>
<BR><FONT SIZE=2>Auf dem Anger 18</FONT>
<BR><FONT SIZE=2>33165 Lichtenau-Husen</FONT>
<BR><FONT SIZE=2>Fon: +49 (0)5292 930601 (Office)</FONT>
<BR> <FONT SIZE=2>+49 (0)700 93000093 (PR)</FONT>
<BR><FONT SIZE=2>eMail: <<A HREF="mailto:Reinhold.Flecke@ccf-consulting.de">mailto:Reinhold.Flecke@ccf-consulting.de</A>></FONT>
</P>
<P><FONT SIZE=2>-------------- next part --------------</FONT>
<BR><FONT SIZE=2>A non-text attachment was scrubbed...</FONT>
<BR><FONT SIZE=2>Name: winmail.dat</FONT>
<BR><FONT SIZE=2>Type: application/ms-tnef</FONT>
<BR><FONT SIZE=2>Size: 2056 bytes</FONT>
<BR><FONT SIZE=2>Desc: not available</FONT>
<BR><FONT SIZE=2>Url : <A HREF="http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040126/902d4aa3/winmail-0001.bin" TARGET="_blank">http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040126/902d4aa3/winmail-0001.bin</A></FONT>
</P>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 7</FONT>
<BR><FONT SIZE=2>Date: Mon, 26 Jan 2004 08:53:56 -0700</FONT>
<BR><FONT SIZE=2>From: Grant Grundler <grundler@parisc-linux.org></FONT>
<BR><FONT SIZE=2>Subject: Re: [parisc-linux] kernel BUG at mm/shmem.c:585!</FONT>
<BR><FONT SIZE=2>To: John David Anglin <dave@hiauly1.hia.nrc.ca></FONT>
<BR><FONT SIZE=2>Cc: Carlos O'Donell <carlos@baldric.uwo.ca>,</FONT>
<BR> <FONT SIZE=2>parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <20040126155356.GA12175@colo.lackof.org></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset=us-ascii</FONT>
</P>
<P><FONT SIZE=2>On Sun, Jan 25, 2004 at 09:35:07PM -0500, John David Anglin wrote:</FONT>
<BR><FONT SIZE=2>> Is this on a SMP kernel (i.e., could this be a locking issue)?</FONT>
</P>
<P><FONT SIZE=2>no. I don't build or run SMP kernels on anything at the moment.</FONT>
</P>
<P><FONT SIZE=2>thanks,</FONT>
<BR><FONT SIZE=2>grant</FONT>
</P>
<BR>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 8</FONT>
<BR><FONT SIZE=2>Date: Mon, 26 Jan 2004 09:13:16 -0700</FONT>
<BR><FONT SIZE=2>From: Grant Grundler <grundler@parisc-linux.org></FONT>
<BR><FONT SIZE=2>Subject: Re: [parisc-linux] help installation failed on C240 (fx4)</FONT>
<BR> <FONT SIZE=2>workstation</FONT>
<BR><FONT SIZE=2>To: Reinhold Flecke CCF <reinhold.flecke@ccf-consulting.de></FONT>
<BR><FONT SIZE=2>Cc: parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <20040126161316.GC12175@colo.lackof.org></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset=us-ascii</FONT>
</P>
<P><FONT SIZE=2>On Mon, Jan 26, 2004 at 12:13:22PM +0100, Reinhold Flecke CCF wrote:</FONT>
<BR><FONT SIZE=2>> I downloaded the "debian-30r2-hppa-binary-1.iso" and burned it to CD. </FONT>
<BR><FONT SIZE=2>> If I start the installation on my C240 (fx4) workstation with the command:</FONT>
<BR><FONT SIZE=2>> bo sescsi.2.0</FONT>
</P>
<P><FONT SIZE=2>FX-4 graphics is not supported.</FONT>
<BR><FONT SIZE=2>Either use serial console or replace the FX4 with PCI FX-E.</FONT>
</P>
<P><FONT SIZE=2>sorry,</FONT>
<BR><FONT SIZE=2>grant</FONT>
</P>
<BR>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>Message: 9</FONT>
<BR><FONT SIZE=2>Date: Mon, 26 Jan 2004 18:00:53 +0100</FONT>
<BR><FONT SIZE=2>From: "Joel Soete" <soete.joel@tiscali.be></FONT>
<BR><FONT SIZE=2>Subject: [parisc-linux] A fix for B2k and CONFIG_PDC_CONSOLE pb</FONT>
<BR><FONT SIZE=2>To: "Grant Grundler" <grundler@parisc-linux.org>, "Christoph Plattner"</FONT>
<BR> <FONT SIZE=2><christoph.plattner@gmx.at></FONT>
<BR><FONT SIZE=2>Cc: parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2>Message-ID: <400CB8A100004C60@ocpmta3.freegates.net></FONT>
<BR><FONT SIZE=2>Content-Type: text/plain; charset="iso-8859-1"</FONT>
</P>
<P><FONT SIZE=2>Hi Grant, Christoph,</FONT>
</P>
<P><FONT SIZE=2>I find a fix for this pb. I tested successfully (I reach to login with a</FONT>
<BR><FONT SIZE=2>ttyB0 after replacing ttyS0 in inittab and telinit q :) ) on a 32bit 2.4</FONT>
<BR><FONT SIZE=2>kernel on my b2k and a 64bit (up) [also 2.4] kernel on my N4k.</FONT>
</P>
<P><FONT SIZE=2>Here is its main part:</FONT>
<BR><FONT SIZE=2>diff -NaurX dontdiff linux-2.4.24-pa0.orig/arch/parisc/kernel/firmware.c</FONT>
<BR><FONT SIZE=2>linux-2.4.24-pa0/arch/parisc/kernel/firmware.c</FONT>
<BR><FONT SIZE=2>--- linux-2.4.24-pa0.orig/arch/parisc/kernel/firmware.c 2003-10-02 07:30:55.000000000</FONT>
<BR><FONT SIZE=2>+0200</FONT>
<BR><FONT SIZE=2>+++ linux-2.4.24-pa0/arch/parisc/kernel/firmware.c 2004-01-26 16:48:23.000000000</FONT>
<BR><FONT SIZE=2>+0100</FONT>
<BR><FONT SIZE=2>@@ -871,15 +937,21 @@</FONT>
<BR><FONT SIZE=2> int status;</FONT>
<BR><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2> /* Bail if no console input device. */</FONT>
<BR><FONT SIZE=2>- if (!PAGE0->mem_kbd.iodc_io)</FONT>
<BR><FONT SIZE=2>+ if ((PAGE0->mem_cons.cl_class != CL_DUPLEX) && !PAGE0->mem_kbd.iodc_io)</FONT>
<BR><FONT SIZE=2> return 0;</FONT>
<BR><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2> /* wait for a keyboard (rs232)-input */</FONT>
<BR><FONT SIZE=2> spin_lock_irqsave(&pdc_lock, flags);</FONT>
<BR><FONT SIZE=2>- real32_call(PAGE0->mem_kbd.iodc_io,</FONT>
<BR><FONT SIZE=2>- (unsigned long)PAGE0->mem_kbd.hpa, ENTRY_IO_CIN,</FONT>
<BR><FONT SIZE=2>- PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers), </FONT>
<BR><FONT SIZE=2>- __pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0);</FONT>
<BR><FONT SIZE=2>+ if (PAGE0->mem_cons.cl_class == CL_DUPLEX)</FONT>
<BR><FONT SIZE=2>+ real32_call(PAGE0->mem_cons.iodc_io,</FONT>
<BR><FONT SIZE=2>+ (unsigned long)PAGE0->mem_cons.hpa, ENTRY_IO_CIN,</FONT>
<BR><FONT SIZE=2>+ PAGE0->mem_cons.spa, __pa(PAGE0->mem_cons.dp.layers), </FONT>
<BR><FONT SIZE=2>+ __pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0);</FONT>
<BR><FONT SIZE=2>+ else</FONT>
<BR><FONT SIZE=2>+ real32_call(PAGE0->mem_kbd.iodc_io,</FONT>
<BR><FONT SIZE=2>+ (unsigned long)PAGE0->mem_kbd.hpa, ENTRY_IO_CIN,</FONT>
<BR><FONT SIZE=2>+ PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers), </FONT>
<BR><FONT SIZE=2>+ __pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0);</FONT>
<BR><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2> ch = *iodc_dbuf;</FONT>
<BR><FONT SIZE=2> status = *iodc_retbuf;</FONT>
<BR><FONT SIZE=2>diff -NaurX dontdiff linux-2.4.24-pa0.orig/arch/parisc/kernel/pdc_cons.c</FONT>
<BR><FONT SIZE=2>linux-2.4.24-pa0/arch/parisc/kernel/pdc_cons.c</FONT>
<BR><FONT SIZE=2>--- linux-2.4.24-pa0.orig/arch/parisc/kernel/pdc_cons.c 2004-01-19 07:25:46.000000000</FONT>
<BR><FONT SIZE=2>+0100</FONT>
<BR><FONT SIZE=2>+++ linux-2.4.24-pa0/arch/parisc/kernel/pdc_cons.c 2004-01-26 16:53:32.000000000</FONT>
<BR><FONT SIZE=2>+0100</FONT>
<BR><FONT SIZE=2>@@ -113,10 +112,6 @@</FONT>
<BR><FONT SIZE=2> return;</FONT>
<BR><FONT SIZE=2> ++pdc_console_initialized;</FONT>
<BR><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2>- /* If the console is duplex then copy the COUT parameters to CIN. */</FONT>
<BR><FONT SIZE=2>- if (PAGE0->mem_cons.cl_class == CL_DUPLEX)</FONT>
<BR><FONT SIZE=2>- memcpy(&PAGE0->mem_kbd, &PAGE0->mem_cons, sizeof(PAGE0->mem_cons));</FONT>
<BR><FONT SIZE=2>-</FONT>
<BR><FONT SIZE=2> /* register the pdc console */</FONT>
<BR><FONT SIZE=2> register_console(&pdc_cons);</FONT>
<BR><FONT SIZE=2> }</FONT>
<BR><FONT SIZE=2>==========><==========</FONT>
</P>
<P><FONT SIZE=2>Can somebody else could also test it on some other platform to be sure I</FONT>
<BR><FONT SIZE=2>don't broken other stuff?</FONT>
</P>
<P><FONT SIZE=2>Thanks in advance,</FONT>
<BR><FONT SIZE=2> Joel</FONT>
</P>
<P><FONT SIZE=2>PS: Grant I join the text file of the final backport of 2.6 work included</FONT>
<BR><FONT SIZE=2>this patch. Thanks in advance for your attention</FONT>
</P>
<P><FONT SIZE=2>-------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout</FONT>
<BR><FONT SIZE=2>le monde.</FONT>
<BR><FONT SIZE=2><A HREF="http://reg.tiscali.be/default.asp?lg=fr" TARGET="_blank">http://reg.tiscali.be/default.asp?lg=fr</A></FONT>
</P>
<BR>
<P><FONT SIZE=2>-------------- next part --------------</FONT>
<BR><FONT SIZE=2>A non-text attachment was scrubbed...</FONT>
<BR><FONT SIZE=2>Name: pdc_console-bp+patch.diff</FONT>
<BR><FONT SIZE=2>Type: application/octet-stream</FONT>
<BR><FONT SIZE=2>Size: 23324 bytes</FONT>
<BR><FONT SIZE=2>Desc: not available</FONT>
<BR><FONT SIZE=2>Url : <A HREF="http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040126/67438867/pdc_console-bppatch.obj" TARGET="_blank">http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040126/67438867/pdc_console-bppatch.obj</A></FONT>
</P>
<P><FONT SIZE=2>------------------------------</FONT>
</P>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>parisc-linux mailing list</FONT>
<BR><FONT SIZE=2>parisc-linux@lists.parisc-linux.org</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.parisc-linux.org/mailman/listinfo/parisc-linux" TARGET="_blank">http://lists.parisc-linux.org/mailman/listinfo/parisc-linux</A></FONT>
</P>
<BR>
<P><FONT SIZE=2>End of parisc-linux Digest, Vol 2, Issue 32</FONT>
<BR><FONT SIZE=2>*******************************************</FONT>
</P>
</BODY>
</HTML>