[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Again Error with kerbel 2.6.5, 2.6.6 and serial8250 driver


Recently, I asked about a problem that I had, and even have.
Distribution: Debian testing
kernel 2.6.6:
terepaima:/usr/src/kernel-source-2.6.6# apt-cache search kernel-source-2.6.6
kernel-patch-debian-2.6.6 - Debian patches to Linux 2.6.6
kernel-source-2.6.6 - Linux kernel source for version 2.6.6 with Debian patches

terepaima:/usr/src/kernel-source-2.6.6# gcc --version
gcc (GCC) 3.3.3 (Debian 20040422)

Well, when I try to compile in Sun machines (V210, v240) I get the follow:

terepaima:/usr/src/kernel-source-2.6.6# make modules
 CC [M]  drivers/serial/8250.o
drivers/serial/8250.c:104:24: asm/serial.h: No such file or directory
drivers/serial/8250.c: In function `serial8250_request_port':
drivers/serial/8250.c:1750: warning: unused variable `size'
drivers/serial/8250.c: In function `__register_serial':
drivers/serial/8250.c:2090: error: `BASE_BAUD' undeclared (first use in this function) drivers/serial/8250.c:2090: error: (Each undeclared identifier is reported only once
drivers/serial/8250.c:2090: error: for each function it appears in.)
make[2]: *** [drivers/serial/8250.o] Error 1
make[1]: *** [drivers/serial] Error 2
make: *** [drivers] Error 2

patch applied:
terepaima:/usr/src# ls -l patch-2.6.7-rc1
-rw-------    1 root     src      11492433 Jun  5 10:36 patch-2.6.7-rc1

So,  the machine is:
terepaima:/usr/src/kernel-source-2.6.6# cat /proc/cpuinfo
cpu             : TI UltraSparc IIIi (Jalapeno)
fpu             : UltraSparc IIIi integrated FPU
promlib         : Version 3 Revision 8
prom            : 4.8.2
type            : sun4u
ncpus probed    : 2
ncpus active    : 2
Cpu0Bogo        : 666.82
Cpu0ClkTck      : 000000003bb94e80
Cpu1Bogo        : 666.82
Cpu1ClkTck      : 000000003bb94e80
MMU Type        : Cheetah+
CPU0:           online
CPU1:           online

So, the serial port for me is very important because that machine don't have monitor, only serial port.

If you can help me, I will be been thankful

Best regards.

La revolución no se hace únicamente con las armas...

          Hector Colina. Linux User 131637
           Using Woody and Kernel 2.4.21
  Merida-Venezuela   http://merida.linux.org.ve

Consigue aquí las mejores y mas recientes ofertas de trabajo en América Latina y USA: http://latam.msn.com/empleos/

Reply to: