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

Problems compiling 2.0.36 in Avanti



Hi,

	I have found problems compiling a 2.0.36 kernel in a Avanti System (AS 
250 4/266).
	The machine has Debian Slink; I need to keep the 2.0.36 kernel because I 
have made changes in kernel (for academic purposes).
	The kernel I have tried to compile is without changes still; he is the 
original source supplied in Debian Slink. I have made changes in  
arch/arch/alpha/Makefile to compile the source (in accordance with archived 
alpha-list message of jan 99). Also, I have found problems in compiling modules 
(make modules fail) then there is no loadable modules enabled in 'make config'.
	
	The problem is related to TGA console; I don't get succesful compilation 
if TGA_CONSOLE is enabled. I get the following message:

---------------------------------------------------------------------

selection.h: In function `scr_writew':
In file included from misc.c:47:
selection.h:113: `con_blitc' undeclared (first use in this function)
selection.h:113: (Each undeclared identifier is reported only once
selection.h:113: for each function it appears in.)
selection.h:114: `con_blitc' used prior to declaration
selection.h:114: warning: implicit declaration of function `con_blitc'
selection.h: In function `memsetw':
selection.h:114: `con_blitc' used prior to declaration
selection.h: In function `memcpyw':
selection.h:114: `con_blitc' used prior to declaration

---------------------------------------------------------------------

	If TGA_CONSOLE is not set, the compilation finishes succesfully and MILO 
boots the kernel but nothing will be echoed in the screen. I only get a static 
cursor in the screen but is possible (blindly) to give commands like in a normal 
console.

	'dmesg' (with the original kernel) shows:

---------------------------------------------------------------------
	
Command line: bootdevice=sda2 bootfile=vmlinuz
Alpha PCI BIOS32 revision 0.03
Probing PCI hardware.
bios32 WARNING: slot 13, function 0 requests 0x8000000 bytes of contig address  
space---don't use sparse memory  accesses on this device!!
bios32.sio_fixup: weird, device 8086:0484 coming in on slot 7 has no irq line!!
Console: 16 point font, 400 scans
Console: colour TGA 80x25, 1 virtual console (max 63)
Calibrating delay loop.. ok - 264.77 BogoMIPS
Memory: 62072k available
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Linux version 2.0.36 (root@axp0) (gcc version egcs-2.91.60 Debian 2.1 
(egcs-1.1.1 release)) #1 Fri Mar 5 03:00:55 CET 1999
Starting kswapd v 1.4.2.2 
Real Time Clock Driver v1.09
rtc: Digital UNIX epoch (1952) detected
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
Floppy drive(s): fd0 is 2.88M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
ncr53c8xx: at PCI bus 0, device 6, function 0
ncr53c8xx: 53c810 detected 
ncr53c810-0: rev=0x02, base=0x11001000, io_port=0x8800, irq=11
ncr53c810-0: ID 7, Fast-10, Parity Checking
ncr53c810-0: restart (scsi reset).
ppa: Version 1.42
ppa: Probing port 03bc
ppa:     SPP port present
ppa:     EPP not supported at this address
ppa: Probing port 0378
ppa: Probing port 0278
scsi0 : ncr53c8xx - revision 3.0i
scsi : 1 host.
  Vendor: DEC       Model: RZ26L    (C) DEC  Rev: 442D
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: DEC       Model: RRD45   (C) DEC   Rev: 1645
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
ncr53c810-0-<0,0>: tagged command queue depth set to 8
scsi : detected 1 SCSI cdrom 1 SCSI disk total.
ncr53c810-0-<0,*>: FAST-5 SCSI 5.0 MB/s (200 ns, offset 8)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2050860 [1001 MB] [1.0 GB]
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
eth0: DE434/5 at 0x8000 (PCI bus 0, device 11), h/w address 08:00:2b:e7:76:38,
      and requires IRQ15 (provided by PCI BIOS).
de4x5.c:V0.5351 1998/10/4 davies@maniac.ultranet.com
Partition check:
 sda: sda1 sda2
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 130832k swap-space (priority -1)
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
eth0: media is TP.
omniNames: memory violation at pc=15555a7002c rp=15555cd86ac (bad address = 
00000118)

---------------------------------------------------------------------
 
	
	Can anyone help me?

	Thanks
	
p.s. I apologize if my English is not sufficiently accurate.	



	Alvaro Ferreira
	alvarosf@cos.ufrj.br



Reply to: