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

Re: 2.6.x-amiga kernel + misc.



On Sun, 1 May 2005, Geert Uytterhoeven wrote:

> On Sat, 30 Apr 2005, Haakon Innerdal wrote:
> > On Fri, 29 Apr 2005, Christian T. Steigies wrote:
> > > On Fri, Apr 29, 2005 at 07:32:32PM +0200, Haakon Innerdal wrote:
> > > > Is there any special magic to apply if I want to run a 2.6.x-amiga kernel?
> > > > (2.6.8-4 was the latest I tried)
> > > > 
> > > > First of all, the default built kernel 2.6.8-amiga, is to big for 
> > > > amiboot-5.6.
> > > > Any custom built kernel that is accepted in terms of size, only results in 
> > > > a grey screen, not booting.
> > > 
> > > Try booting with an uncompressed kernel. This might actually explain why I
> > > had problems with the latest kernels, I forgot to replace the uncompressed
> > > one with the newly installed kernel...
> > >
> > Ah, thanks for the tip, I decompressed the debian -built kernel, and I 
> > came past the error of kernel to big, but still, it hangs in a grey 
> > screen, just like any custom 2.6.8 I try.
> 
> Could you try a 2.6.8 kernel without module support? Last time I tried, there
> still seemed to be something fishy happening if you enable module support.
> 
Tried, still no luck. But finally I managed to gather the tools necessary 
to compile the amigados "dmesg" and run the kernel with debug=mem 
(What a great tool!)
Here is the output: (this is native built kernel, without module support):

Searching for SAVEKMSG magic...
Found 1886 bytes at 0x001dc010
>>>>>>>>>>>>>>>>>>>>
Linux version 2.6.8 (root@amiga) (gcc version 2.95.4 20011002 (Debian 
prerelease)) #3 Sun May 1 21:27:15 CEST 2005
Enabling workaround for errata I14
Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE 
KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL 
ZORRO3
Built 1 zonelists
Kernel command line: root=/dev/hda9 video=amifb:pal debug=mem
PID hash table entries: 16 (order 4: 128 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
*** ILLEGAL INSTRUCTION ***   FORMAT=0
Current process id is 0
BAD KERNEL TRAP: 00000000
PC: [<0002ade0>] free_pages_bulk+0x10e/0x196

SR: 2700  SP: 0027bee4  a2: 001d5b6e
d0: 00000001    d1: 0000000c    d2: 00004c01    d3: 00344024
d4: 00000000    d5: 00002600    a0: 00000001    a1: 00000002
Process swapper (pid: 0, stackpage=001d6b6e)
Stack from 0027bee4:
        0000000c 00004c01 00344024 00000000 00002600 00000001 00000002 001d5b6e
        00000001 ffffffff 00000000 27000002 ade00010 00002004 40000000 00005800
        ffffffff 0000001f 0000ffff 00344438 001d845c 001d8378 0027bff8 00000002
        00000001 001d83cc 00002700 003443a8 0002b142 001d8378 00000005 001d846c
        00000000 0000001e 00344438 0024d044 00282000 0002b172 00344438 00000000
        0002b5c6 00344438 00269958 00344438 00000000 0027b000 00000000 00000000
Call Trace: [<00014c78>] _060_fpsp_effadd+0xbc20/0xd518
 [<0001afa8>] printk+0x0/0xee
 [<00269aba>] free_all_bootmem+0xa/0x10
 [<00267704>] mem_init+0x26/0x114
 [<00004350>] show_stack+0x14/0x9c
 [<00014c78>] _060_fpsp_effadd+0xbc20/0xd518
 [<0000ffff>] _060_fpsp_effadd+0x6fa7/0xd518
 [<0001afa8>] printk+0x0/0xee
 [<00265e30>] start_kernel+0xe8/0x176
 [<002652fc>] __start+0x2fc/0x98c

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing
 <<<<<<<<<<<<<<<<<<<<

If I should enable some more debug options in the kernel to pinpoint the 
problem, please tell!

Regards, H.


PS: My 2.4.27 dmesg here, if it is of any interrest for comparisation:

Linux version 2.4.27-amiga (root@amiga) (gcc version 2.95.4 20011002 
(Debian prerelease)) #3 Fri Apr 29 10:51:36 CEST 2005
Enabling workaround for errata I14
Amiga hardware found: [A4000] VIDEO BLITTER AUDIO FLOPPY A4000_IDE 
KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA LISA ALICE_PAL 
ZORRO3
On node 0 totalpages: 22528
zone(0): 22528 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda9 video=amifb:vga
Console: colour dummy device 80x25
Calibrating delay loop... 99.73 BogoMIPS
Memory: 86940k/90112k available (1540k kernel code, 1520k data, 112k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
kmem_create: Forcing size word alignment - dquot
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
kmem_create: Forcing size word alignment - kiobuf
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Zorro: Probing AutoConfig expansion devices: 2 devices
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file_lock_cache
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Console: switching to colour frame buffer device 80x30
fb0: Amiga AGA frame buffer device, using 1280K of video memory
clgen: Driver for Cirrus Logic based graphic boards, v1.9.9.1
clgen: no supported board found.
pty: 256 Unix98 ptys configured
Amiga-builtin serial driver version 4.30
ttyS00 is the amiga builtin serial port
Amiga mouse installed.
kmem_create: Forcing size word alignment - blkdev_requests
FD: probing units
found fd0
Unable to get major 2 for floppy
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with 
idebus=xx
ide0: Gayle IDE interface (A4000 style)
hda: WDC WD136AA, ATA DISK drive
hdb: CREATIVE DVD-ROM DVD1241E, ATAPI CD/DVD-ROM drive
ide0 at 0x80dd2020 on irq 12
hda: attached ide-disk driver.
hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=26354/16/63
hdb: attached ide-cdrom driver.
hdb: ATAPI 40X DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
 /dev/ide/host0/bus0/target0/lun0: RDSK p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 50396k swap-space (priority -1)
eth0: hydra at 0x00e90000, address ae:55:53:00:15:fb (hydra.c v3.0alpha)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ufs was compiled with read-only support, can't be mounted as read-write
ufs was compiled with read-only support, can't be mounted as read-write
ufs was compiled with read-only support, can't be mounted as read-write
AFFS: Dircache FS - mounting 03:07 read only
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is 
recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal
EXT3-fs: mounted filesystem with ordered data mode.




Reply to: