B2k and CONFIG_PDC_CONSOLE pb: followup
Hi all,
On the my b2k when I add 'CONFIG_PDC_CONSOLE' the system hang just after "Searching for devices..." leting the led CDROM continuously bright ???
With some printk, I reach to figure out that is at the pdc_suspend_usb() point where the boot hang. I try to bypass this and so it boot well.
In fact the big difference with a kernel without CONFIG_PDC_CONSOLE is the early call to pdc_console_init_force() which (before register the pdc_cons do:
[snip]
/* If the console is duplex then copy the COUT parameters to CIN.*/
if (PAGE0->mem_cons.cl_class == CL_DUPLEX)
memcpy(&PAGE0->mem_kbd, &PAGE0->mem_cons, sizeof(PAGE0->mem_cons));
/* register the pdc console */
register_console(&pdc_cons);
}I also try to bypass this memcpy (and restore pdc_suspend_usb() call) and it boot also well.
In sumary, on the b2k, this early memcpy() seems to break something in the later pdc_suspend_usb() call. My problem is the pdc_suspend_usb() which results finaly in a call to real32_call_asm(): actualy asm code in which
it's difficult to insert printk to analyse the difference of behaviour ?)
I also already get a toc but didn't give me any relevant info on what happen :(
Any idea to help me to get more details about this pb?
Thanks in advance,
Joel
PS:
I added some printk to get some pdc addresses:
static void pdc_console_init_force(void)
{
if (pdc_console_initialized)
return;
++pdc_console_initialized;
if (PAGE0->mem_cons.cl_class == CL_DUPLEX) {
printk(KERN_INFO "pdc_console_init_force() would set a CL_DUP.\n");
printk(KERN_INFO "PAGE0->mem_cons address: %p.\n", &PAGE0->mem_cons);
printk(KERN_INFO "PAGE0->mem_kbd address: %p.\n", &PAGE0->mem_kbd);
printk(KERN_INFO "PAGE0->mem_kbd size: %d.\n", sizeof(PAGE0->mem_cons));
};
/* If the console is duplex then copy the COUT parameters to CON.*/
/*
if (PAGE0->mem_cons.cl_class == CL_DUPLEX)
memcpy(&PAGE0->mem_kbd, &PAGE0->mem_cons, sizeof(PAGE0->mem_cons));*/
/* register the pdc console */
register_console(&pdc_cons);
}The 32-bit Kernel has started...pdc_console_init_force() would set a CL_DUP.PAGE0->mem_cons address: 100003a0.PAGE0->mem_kbd address: 10000400.PAGE0->mem_kbd size: 48.
But that couldn't help more for the moment :(
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr
Quoted 7 lines · Joel Soete
Hi all,
On the my b2k when I add '
CONFIG_PDC_CONSOLE' the system hang just after "Searching for devices..." leting the led CDROM continuously bright ???With some printk, I reach to figure out that is at the
pdc_suspend_usb()point where the boot hang. I try to bypass this and so it boot well.
yup - that's fixed in 2.6 slightly better.
Look for pdc_io_reset_devices() in drivers/parisc/sba_iommu.c. You can backport and test that change to 2.4, I'd be happy to apply it.
The problem is if suckyio USB (or any device) is still doing DMA when we reprogram the IOMMU, it will cause an HPMC. The reason is we are fundementally changing how DMA works (non-coherent to coherent) and PDC doesn't reprogram the suckyIo USB accordingly.
C3000 (and related systems) provides a special PDC call to disable USB. "ccio" (eg C200) systems can have the same problem with LAN boot.
Quoted 2 lines
I also try to bypass this memcpy (and restore
pdc_suspend_usb()call) and it boot also well.
I think you've just prevented either PDC or Linux from using a PDC device.
Quoted 2 lines
In sumary, on the b2k, this early
memcpy()seems to break something in the laterpdc_suspend_usb()call.
It's the other way around. pdc_suspend_usb() is breaking PDC_CONSOLE. See email related to linux-2.6 c3000 serial console problems late last year.
AFAIK, the memcpy just enables the PDC to use a serial console. But pdc_suspend_usb() apperently blows away the whole suckyio chip and thus PDC can no longer use suckyio serial either. Hrmm..I thought there was a IO_RESET_AND_CLEAR pdc call in that same chunk of code.
Anyway, Figuring out some additional info could help:
(a) know which devices might have DMA enabled when the OS gets control
(b) disable just the DMA
(c) detect when PDC_CONSOLE wants to use a device whose DMA we've disabled
hth
grant
Quoted 1 line
You can backport and test that change to 2.4, I'd be happy to apply it.
Ok Grant,
I on going to prepare some backport but need some more time ;)
btw I found the following typo in 2.6:
=========><=========
drivers/parisc/sba_iommu.c renamed from drivers/parisc/sba_iommu.c.orig +1 -1
@@ -1058,7 +1058,7 @@printk (KERN_DEBUG " %2d : %08lx/%05x %p/%05x\n" , nents, (unsigned long )sg_dma_address (startsg), cnt, -sg_virt_address (startsg), startsg->length +sg_virt_addr (startsg), startsg->length );#else DBG_RUN_SG(" %d : %08lx/%05x %p/%05x\n",
==========><==========
hth,
Joel
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr
drivers/parisc/sba_iommu.c renamed from drivers/parisc/sba_iommu.c.orig +1 -1
@@ -1058,7 +1058,7 @@printk (KERN_DEBUG " %2d : %08lx/%05x %p/%05x\n" , nents, (unsigned long )sg_dma_address (startsg), cnt, -sg_virt_address (startsg), startsg->length +sg_virt_addr (startsg), startsg->length );#else DBG_RUN_SG(" %d : %08lx/%05x %p/%05x\n",
Hi Grant,
Just need more advise (sorry)
Quoted 2 lines
It's the other way around.
pdc_suspend_usb()is breakingPDC_CONSOLE. See email related to linux-2.6 c3000 serial console problems late last year.
Ok I find relevant info and pdf docs (in fact I missed 'data_formats.pdf' to make the bridge :( )
Quoted 1 line
AFAIK, the memcpy just enables the PDC to use a serial console.
Hmm we didn't 'relocate' PDC (as see hpux makes), so all those information are fill in by PDC prgm itself? So if Console is flagged CL_DUP, I don't see why do we have to make this memcpy?
Quoted 6 lines
But
pdc_suspend_usb()apperently blows away the whole suckyio chip and thus PDC can no longer use suckyio serial either. Hrmm..I thought there was aIO_RESET_AND_CLEARpdc call in that same chunk of code.Anyway, Figuring out some additional info could help:
(a) know which devices migh have DMA enabled when the OS gets control
May be the console itself (by continuously reading the kdb eg)?
Quoted 1 line
(b) disable just the DMA
where should I look to disable so console dma?
[if I well understand spinlock_... and unlock function are not foreseen in that case but more to avoid 2 different cpu to access a same ressource. May be better something similar to [acquire,release]_console_sem?]
Quoted 1 line
(c) detect when
PDC_CONSOLEwants to use a device whose DMA we've disabled
Thanks in advance for additional help,
Joel
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr
Quoted 5 lines · Joel Soete
Quoted 1 line
AFAIK, the memcpy just enables the PDC to use a serial console.
Hmm we didn't 'relocate' PDC (as see hpux makes), so all those information are fill in by PDC prgm itself? So if Console is flagged
CL_DUP, I don't see why do we have to make this memcpy?
I don't pretend to understand how PDC uses page zero. Any takers on explaining what the memcopy does?
Quoted 9 lines
Quoted 2 lines
Anyway, Figuring out some additional info could help:
(a) know which devices migh have DMA enabled when the OS gets controlMay be the console itself (by continuously reading the kdb eg)?
Quoted 1 line
(b) disable just the DMA
where should I look to disable so console dma?
In the B2k's case the USB keyboard is the console input device and USB does DMA. Right?
That means the console can not be active when we reprogram the IOMMU.
If the console is the serial port, then we should be able to disable just the USB device and not impact the Serial ports.
grant
Grant,
Quoted 20 lines · Grant Grundler
Quoted 5 lines · Joel Soete
Quoted 1 line
AFAIK, the memcpy just enables the PDC to use a serial console.
Hmm we didn't 'relocate' PDC (as see hpux makes), so all those information are fill in by PDC prgm itself? So if Console is flagged
CL_DUP, I don't see why do we have to make this memcpy?I don't pretend to understand how PDC uses page zero. Any takers on explaining what the memcopy does?
Quoted 4 lines
Quoted 2 lines
Anyway, Figuring out some additional info could help:
(a) know which devices migh have DMA enabled when the OS gets controlMay be the console itself (by continuously reading the kdb eg)?
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
(b) disable just the DMA
where should I look to disable so console dma?
In the B2k's case the USB keyboard is the console input device and USB does DMA. Right?
ok (if a usb kbd is connected ;) )
Quoted 5 lines
That means the console can not be active when we reprogram the IOMMU.
If the console is the serial port, then we should be able to disable just the USB device and not impact the Serial ports.
hmm afaik usb ports on a b2k (and I presume for the same family) are just there (iirc the user guide and spec) to be used only for usb kbd and mouse and so if no usb kbd was found by pdc we could just disable usb at all?
Thanks again for info and patience,
Joel
Quoted 5 lines · Joel Soete
Quoted 2 lines
If the console is the serial port, then we should be able to disable just the USB device and not impact the Serial ports.
hmm afaik usb ports on a b2k (and I presume for the same family) are just there (iirc the user guide and spec) to be used only for usb kbd and mouse
I think that's all PDC and HPUX know how to talk to. That's all HP will support or warrant.
But it's a USB port and if other devices work, use it.
Quoted 1 line
and so if no usb kbd was found by pdc we could just disable usb at all?
The problem is USB is doing DMA and was enabled by PDC. I don't care what's connected (Keyboard vs digital camera).
grant
[parisc-linux] A fix for B2k and CONFIG_PDC_CONSOLE pb
Hi Grant, Christoph,
I find a fix for this pb. I tested successfully (I reach to login with a ttyB0 after replacing ttyS0 in inittab and telinit q :) ) on a 32bit 2.4 kernel on my b2k and a 64bit (up) [also 2.4] kernel on my N4k.
Here is its main part:
diff -NaurX dontdiff linux-2.4.24-pa0.orig/arch/parisc/kernel/firmware.c linux-2.4.24-pa0/arch/parisc/kernel/firmware.c
--- linux-2.4.24-pa0.orig/arch/parisc/kernel/firmware.c 2003-10-02 07:30:55.000000000
+0200
+++ linux-2.4.24-pa0/arch/parisc/kernel/firmware.c 2004-01-26 16:48:23.000000000
+0100
@@ -871,15 +937,21 @@
int status;
/* Bail if no console input device. */
- if (!PAGE0->mem_kbd.iodc_io)
+ if ((PAGE0->mem_cons.cl_class != CL_DUPLEX) && !PAGE0->mem_kbd.iodc_io)
return 0;
/* wait for a keyboard (rs232)-input */
spin_lock_irqsave(&pdc_lock, flags);
- real32_call(PAGE0->mem_kbd.iodc_io,
- (unsigned long)PAGE0->mem_kbd.hpa, ENTRY_IO_CIN, - PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers), - __pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0); + if (PAGE0->mem_cons.cl_class == CL_DUPLEX) + real32_call(PAGE0->mem_cons.iodc_io, + (unsigned long)PAGE0->mem_cons.hpa, ENTRY_IO_CIN, + PAGE0->mem_cons.spa, __pa(PAGE0->mem_cons.dp.layers), + __pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0); + else + real32_call(PAGE0->mem_kbd.iodc_io, + (unsigned long)PAGE0->mem_kbd.hpa, ENTRY_IO_CIN, + PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers), + __pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0);
ch = *iodc_dbuf;
status = *iodc_retbuf;
diff -NaurX dontdiff linux-2.4.24-pa0.orig/arch/parisc/kernel/pdc_cons.c linux-2.4.24-pa0/arch/parisc/kernel/pdc_cons.c
--- linux-2.4.24-pa0.orig/arch/parisc/kernel/pdc_cons.c 2004-01-19 07:25:46.000000000
+0100
+++ linux-2.4.24-pa0/arch/parisc/kernel/pdc_cons.c 2004-01-26 16:53:32.000000000
+0100
@@ -113,10 +112,6 @@
return;
++pdc_console_initialized;
- /* If the console is duplex then copy the COUT parameters to CIN. */
- if (PAGE0->mem_cons.cl_class == CL_DUPLEX)
- memcpy(&PAGE0->mem_kbd, &PAGE0->mem_cons, sizeof(PAGE0->mem_cons));
-
/* register the pdc console */
register_console(&pdc_cons);
}
==========><==========
Can somebody else could also test it on some other platform to be sure I don't broken other stuff?
Thanks in advance,
Joel
PS: Grant I join the text file of the final backport of 2.6 work included this patch. Thanks in advance for your attention
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr
arch/parisc/kernel/entry.S +6 -1
@@ -2227,9 +2227,12 @@ STREG %r28,TASK_PT_GR28-TASK_SZ_ALGN-FRAME_SIZE(%r30) +#ifdef CONFIG_HPUX + /* Save other hpux returns if personality is PER_HPUX */ -#define PER_HPUX 0xe /* <linux/personality.h> cannot be easily included */ +/* <linux/personality.h> cannot be easily included */ +#define PER_HPUX 0xe LDREG TASK_PERSONALITY-TASK_SZ_ALGN-FRAME_SIZE(%r30),%r19 CMPIB<>,n PER_HPUX,%r19,1f
@@ -2237,6 +2240,8 @@ STREG %r29,TASK_PT_GR29-TASK_SZ_ALGN-FRAME_SIZE(%r30) 1: +#endif /* CONFIG_HPUX */ + /* Seems to me that dp could be wrong here, if the syscall involved * calling a module, and nothing got round to restoring dp on return. */
arch/parisc/kernel/firmware.c +143 -71
343 lines not on this page · raw message
arch/parisc/kernel/inventory.c +1 -9
@@ -167,9 +167,6 @@static int __init pat_query_module (ulong pcell_loc,ulong mod_index) { -#ifdef DEBUG_PAT -pdc_pat_cell_mod_maddr_block_t io_pdc_cell; -#endif pdc_pat_cell_mod_maddr_block_t pa_pdc_cell;unsigned long bytecnt;unsigned long temp;/* 64-bit scratch value */
@@ -209,6 +206,7 @@register_parisc_device (dev);/* advertise device */ #ifdef DEBUG_PAT +pdc_pat_cell_mod_maddr_block_t io_pdc_cell;/* dump what we see so far... */ switch (PAT_GET_ENTITY (dev->mod_info)) {unsigned long i;
@@ -527,12 +525,6 @@int i;long status =PDC_OK ; -/* -* first stop the usb controller, otherwise the machine -* might crash during iommu setup -*/ -pdc_suspend_usb (); -for (i =0 ; status !=PDC_BAD_PROC && status !=PDC_NE_MOD ; i++) {struct parisc_device *dev;struct pdc_system_map_mod_info module_result;
arch/parisc/kernel/pdc_cons.c +11 -16
@@ -43,7 +43,6 @@* On production kernels EARLY_BOOTUP_DEBUG should be undefined. */ #undef EARLY_BOOTUP_DEBUG -#include <linux/config.h> #include <linux/kernel.h> #include <linux/console.h>
@@ -82,7 +81,7 @@#if defined(CONFIG_PDC_CONSOLE ) || defined(CONFIG_SERIAL_MUX )#define PDC_CONSOLE_DEVICE pdc_console_device -static kdev_t pdc_console_device (struct console *c) +static kdev_t pdc_console_device (struct console *c) {return MKDEV (MUX_MAJOR ,0 ); }
@@ -91,18 +90,18 @@#endif static struct console pdc_cons = { - name: "ttyB", - write: pdc_console_write, + .name = "ttyB", + .write = pdc_console_write,#warning UPSTREAM 2.4.19 removed the next 4 lines but we did not - read: NULL, - device: PDC_CONSOLE_DEVICE, - unblank: NULL, - setup: pdc_console_setup, - flags: CON_BOOT|CON_PRINTBUFFER|CON_ENABLED, - index: -1, + .read = NULL, + .device = PDC_CONSOLE_DEVICE, + .unblank = NULL, + .setup = pdc_console_setup, + .flags = CON_BOOT|CON_PRINTBUFFER|CON_ENABLED, + .index = -1, }; -static int pdc_console_initialized; +static int pdc_console_initialized =0 ;extern unsigned long con_start;/* kernel/printk.c */ extern unsigned long log_end;/* kernel/printk.c */
@@ -113,10 +112,6 @@return ; ++pdc_console_initialized; -/* If the console is duplex then copy the COUT parameters to CIN. */ -if (PAGE0 ->mem_cons.cl_class ==CL_DUPLEX ) -memcpy (&PAGE0 ->mem_kbd, &PAGE0 ->mem_cons,sizeof (PAGE0 ->mem_cons)); -/* register the pdc console */ register_console (&pdc_cons); }
@@ -164,7 +159,7 @@return ;while ((console = console_drivers) !=NULL ) -unregister_console (console_drivers); +unregister_console (console);/* Don't repeat what we've already printed */ con_start = log_end;
arch/parisc/kernel/real2.S +1 -1
@@ -13,7 +13,7 @@ .section .bss .export real_stack32 #ifdef __LP64__ - .export real_stack64 + .export real_stack64 #endif .align 64 real_stack32:
arch/parisc/kernel/sba_iommu.c +49 -27
160 lines not on this page · raw message
include/asm-parisc/pdc.h +11 -7
@@ -191,8 +191,8 @@#define PDC_IO 135/* log error info, reset IO system */ #define PDC_IO_READ_AND_CLEAR_ERRORS 0 -#define PDC_IO_READ_AND_LOG_ERRORS 1 -#define PDC_IO_SUSPEND_USB 2 +#define PDC_IO_RESET 1 +#define PDC_IO_RESET_DEVICES 2/* sets bits 6&7 (little endian) of the HcControl Register */ #define PDC_IO_USB_SUSPEND 0xC000000000000000#define PDC_IO_EEPROM_IO_ERR_TABLE_FULL -5/* return value */
@@ -476,7 +476,11 @@#define PDC_TYPE_SYSTEM_MAP 1/* 32-bit, but supports PDC_SYSTEM_MAP */ #define PDC_TYPE_SNAKE 2/* Doesn't support SYSTEM_MAP */ -#define is_pdc_pat () (pdc_type == PDC_TYPE_PAT) +#ifdef CONFIG_PARISC64 +#define is_pdc_pat () (PDC_TYPE_PAT == pdc_type) +#else +#define is_pdc_pat () (0) +#endif struct pdc_chassis_info {/* for PDC_CHASSIS_INFO */ unsigned long actcnt;/* actual number of bytes returned */
@@ -897,7 +901,7 @@ __u32 pad608[126]; }; -#endif /* __ASSEMBLY__ */ +#endif /* !__ASSEMBLY__ */ /* Page Zero constant offsets used by the HPMC handler */
@@ -951,7 +955,8 @@int pdc_do_reset (void );int pdc_soft_power_info (unsigned long *power_reg);int pdc_soft_power_button (int sw_control); -void pdc_suspend_usb (void ); +void pdc_io_reset (void ); +void pdc_io_reset_devices (void );int pdc_iodc_getc (void );void pdc_iodc_putc (unsigned char c);void pdc_iodc_outc (unsigned char c);
@@ -963,7 +968,6 @@#ifdef __LP64__int pdc_pat_chassis_send_log (unsigned long status,unsigned long data); -int pdc_pat_cell_get_number (struct pdc_pat_cell_num *cell_info);int pdc_pat_cell_module (unsigned long *actcnt,unsigned long ploc,unsigned long mod,unsigned long view_type,void *mem_addr);
@@ -1010,6 +1014,6 @@extern void pdc_init (void ); -#endif /* __ASSEMBLY__ */ +#endif /* !__ASSEMBLY__ */ #endif /* _PARISC_PDC_H */
Re: [parisc-linux] A fix for B2k and CONFIG_PDC_CONSOLE pb
arch/parisc/kernel/firmware.c line 945
Quoted 13 lines · Joel Soete
arch/parisc/kernel/firmware.c +2
-5/* Bail if no console input device. */ -if (!PAGE0 ->mem_kbd.iodc_io) +if ((PAGE0 ->mem_cons.cl_class !=CL_DUPLEX ) && !PAGE0 ->mem_kbd.iodc_io)return 0 ;/* wait for a keyboard (rs232)-input */ spin_lock_irqsave (&pdc_lock, flags); -real32_call (PAGE0 ->mem_kbd.iodc_io, - (unsigned long )PAGE0 ->mem_kbd.hpa,ENTRY_IO_CIN , -PAGE0 ->mem_kbd.spa,__pa (PAGE0 ->mem_kbd.dp.layers), -__pa (iodc_retbuf),0 ,__pa (iodc_dbuf),1 ,0 ); +if (PAGE0 ->mem_cons.cl_class ==CL_DUPLEX )
This doesn't make sense. PAGE0->mem_cons.cl_class has to be CL_DUPLEX otherwise the test above would have failed. Do you perhaps mean that && above to be an || ? If so, this would all read better as ...
/* wait for a keyboard (rs232)-input */
spin_lock_irqsave(&pdc_lock, flags);
if (PAGE0->mem_cons.cl_class == CL_DUPLEX) {
real32_call(PAGE0->mem_cons.iodc_io,
(unsigned long)PAGE0->mem_cons.hpa, ENTRY_IO_CIN,
PAGE0->mem_cons.spa, __pa(PAGE0->mem_cons.dp.layers),
__pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0);
} else if (PAGE0->mem_kbd.iodc_io) {
real32_call(PAGE0->mem_kbd.iodc_io,
(unsigned long)PAGE0->mem_kbd.hpa, ENTRY_IO_CIN,
PAGE0->mem_kbd.spa, __pa(PAGE0->mem_kbd.dp.layers),
__pa(iodc_retbuf), 0, __pa(iodc_dbuf), 1, 0);
} else {
spin_unlock_irqrestore(&pdc_lock, flags);
return 0;
}Slightly ugly to have two unlocks for the same lock, but that's better than duplicating the test. I haven't looked at the code, maybe we could use a goto instead.
Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon the nation that is attacked, and every man will be glad of those conscience-soothing falsities, and will diligently study them, and refuse to examine any refutations of them; and thus he will by and by convince himself that the war is just, and will thank God for the better sleep he enjoys after this process of grotesque self-deception." -- Mark Twain
Re: [parisc-linux] A fix for B2k and CONFIG_PDC_CONSOLE pb
arch/parisc/kernel/firmware.c line 941
Quoted 4 lines
arch/parisc/kernel/firmware.c +1
-0+if ((PAGE0 ->mem_cons.cl_class !=CL_DUPLEX ) && !PAGE0 ->mem_kbd.iodc_io)return 0 ;
Right Matthew this case is nearly impossible (may be excepted if disconected the usb kbd during the boot), it would means that my pdc_console is not a serial one (ie graphic([01])) but no usb kdb found, so in that case pdc would switch console automaticaly to serial.
I would just still check the case when I have an usb kbd (I would have to recover one) but the pdc console is setup to serial port (eg no graphic screen available) just for an output screen without input kbd?
Thanks for your attention and remarks,
Joel
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr
Re: [parisc-linux] A fix for B2k and CONFIG_PDC_CONSOLE pb
Sorry for auto reply, but I just find back the right kdb and:
Quoted 3 lines
I would just still check the case when I have an usb kbd (I would have to recover one) but the pdc console is setup to serial port (e no graphic screen available) just for an output screen without input kbd?
That case is also impossible, the console setup as serial_1 (eg) is always CL_DUPLEX :(
I will so review my patch.
Thanks for all,
Joel
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr
Re: [parisc-linux] A fix for B2k and CONFIG_PDC_CONSOLE pb
In reply to Matthew WilcoxHi all,
Sorry but don't apply this this patch, I just do more test and unfortunately it broken sti console :(.
hmm I check a bit more but mem_kbd.iodc_io was always zero? and I don't notice any diference in PAGE0->mem_kbd... between a boot with console set to graphics(0) and a boot with serial_1?
Any idea?
Thanks again,
Joel
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr