public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Multiple kernels OOPS at boot on Fujitsu pt510 ( AMD DX100 CPU ) - ksymoops output attached
@ 2002-03-01 14:44 Matthew Allum
  2002-03-01 14:54 ` Richard B. Johnson
  2002-03-01 17:36 ` Alan Cox
  0 siblings, 2 replies; 10+ messages in thread
From: Matthew Allum @ 2002-03-01 14:44 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

Hi ;
I've been attempting to get Linux to run on a Fujitsu pt510 [1], 
unfortunatly without much success. The kernels die almost instantly 
after cpu initialisation. I have tried both a debian woody stock 2.2 
kernel and a home built 2.4.17 kernel both built for 386. Attached is 
the kymoops output for the 2.4.17 kernel. 

Id really appreciate some help on this matter. Theres plenty of these 
510's on ebay at the moment going very cheapy ( 100$) and they'd make 
nice wireless 'web pads'.

Many thanks;

Matthew Allum

[1] Morebasic  specs on the machine here;
 http://www.mobilityconcepts.com/products/hardware/discontinued/point510/

[-- Attachment #2: typescript --]
[-- Type: text/plain, Size: 2060 bytes --]

Script started on Sun Feb 24 20:26:12 2002
debian:~# ksymoops -K -L -m /boot/System.map-2.4.17 -o /lib/modules/2.4.17 ~mall 
um/kernel-log.txt
ksymoops 2.4.3 on i686 2.2.20.  Options used
     -V (default)
     -K (specified)
     -L (specified)
     -o /lib/modules/2.4.17 (specified)
     -m /boot/System.map-2.4.17 (specified)

No modules in ksyms, skipping objects
CPU:    0
EIP:    0010:[<c0124e5d>]   Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: ffffffff   ebx: 00000000   ecx: 00000008   edx: ffffffff
esi: c10ff338   edi: 00000000   ebp: c3aef000   esp: c0261eb4
ds: 0018   es: 0018   ss: 0018
Process swapper (pid:0, stackpage=c0261000)
Stack: c10ff340 c10ff338 000001f0 00000246 00000001 c10f8d9c ffffffff c10ff348
       00000000 00000001 c3aef000 c0125229 c10ff338 000001f0 00000000 c10f8044
       c10fa044 00000000 00000008 00000001 c013c52f c10ff338 000001f0 00000000
Call Trace: [<c0125229>] [<c013c52f>] [<c013c6dc>] [<c01404ff>] [<c0130808>]
   [<c0130c22>] [<c0131090>] [<c0105000>] 
Code: c7 00 71 f0 2c 5a 8b 46 18 8b 4c 24 18 c7 44 08 fc 71 f0 2c 

>>EIP; c0124e5c <kmem_cache_grow+170/300>   <=====
Trace; c0125228 <kmem_cache_alloc+1b0/1c8>
Trace; c013c52e <d_alloc+1a/16c>
Trace; c013c6dc <d_alloc_root+18/3c>
Trace; c01404fe <rootfs_read_super+62/84>
Trace; c0130808 <read_super+90/110>
Trace; c0130c22 <get_sb_nodev+2e/54>
Trace; c0131090 <do_kern_mount+cc/140>
Trace; c0105000 <_stext+0/0>
Code;  c0124e5c <kmem_cache_grow+170/300>
00000000 <_EIP>:
Code;  c0124e5c <kmem_cache_grow+170/300>   <=====
   0:   c7 00 71 f0 2c 5a         movl   $0x5a2cf071,(%eax)   <=====
Code;  c0124e62 <kmem_cache_grow+176/300>
   6:   8b 46 18                  mov    0x18(%esi),%eax
Code;  c0124e64 <kmem_cache_grow+178/300>
   9:   8b 4c 24 18               mov    0x18(%esp,1),%ecx
Code;  c0124e68 <kmem_cache_grow+17c/300>
   d:   c7 44 08 fc 71 f0 2c      movl   $0x2cf071,0xfffffffc(%eax,%ecx,1)
Code;  c0124e70 <kmem_cache_grow+184/300>
  14:   00 

debian:~# 
Script done on Sun Feb 24 20:26:21 2002

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Multiple kernels OOPS at boot on Fujitsu pt510 ( AMD DX100 CPU ) - ksymoops output attached
@ 2002-03-01 18:12 Torrey Hoffman
  2002-03-01 19:22 ` Richard B. Johnson
  0 siblings, 1 reply; 10+ messages in thread
From: Torrey Hoffman @ 2002-03-01 18:12 UTC (permalink / raw)
  To: root, Zwane Mwaikambo; +Cc: Matthew Allum, linux-kernel

Richard B. Johnson [mailto:root@chaos.analogic.com] wrote:

[... snipped: using 2.4.1 because... ]

> Later versions, including the current 2.4.18 fail, to mount an initrd.

I have successfully used ext2-formatted initrd's with a variety of recent 
kernels between 2.4.16 and 2.4.18.  The only problem I've ever had is that 
when _building_ an initrd, kernels between 2.4.10 and 2.4.18-pre-something
had a bug in the ramdisk driver.  This has been fixed in later kernels, 
and there is also a workaround for it.

> Once somebody makes a kernel they has both a working loop device and
> a working initial RAM Disk, I will use that kernel. In the meantime,

My workstation is running a 2.4.18-pre? which successfully mounts CDROM
ISO images on loopback and successfully creates and boots initrd's.

Are you sure this is not something specific to your setup or config?

Torrey Hoffman

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Multiple kernels OOPS at boot on Fujitsu pt510 ( AMD DX100 CPU ) - ksymoops output attached
@ 2002-03-01 20:04 Torrey Hoffman
  0 siblings, 0 replies; 10+ messages in thread
From: Torrey Hoffman @ 2002-03-01 20:04 UTC (permalink / raw)
  To: root; +Cc: Zwane Mwaikambo, Matthew Allum, linux-kernel

Richard B. Johnson [mailto:root@chaos.analogic.com] wrote:

>This is on 2.4.17. Once I am up, I can build an ext2 file-system ramdisk-
>image. I can mount it though the loop device and I can read/write to

Beware of ramdisks on 2.4.17!  This kernel has the bug I mentioned.  
It appeared with the new VM in 2.4.10 and was fixed in 2.4.18-pre4.

(I will try out your script on whatever I'm running at the moment.)

The bug has to do with the difference in how the ramdisk driver
allocated (or failed to allocate) pages when accessed directly as
a block device, or indirectly through a filesystem.

For much more detail, search in the archives for a subject line:
"ramdisk corruption problems - was: RE: pivot_root and initrd".

If you must use 2.4.17, the workaround is to dd from /dev/zero to 
/dev/ram0 before running mke2fs, thereby "initializing" all the 
blocks of the device. 
 
The following is a test script which tickled the bug, with the
workaround. 

- - - - - -
#!/bin/bash

# this script assumes /mnt/ramdisk is a valid mountpoint
# ./testdir should have 3-4 MB of reasonably large files.

# freeramdisk is a program that sends the ioctl to deallocate
# the ramdisk.  Not needed unless you are running this test
# after already using the ramdisk.
../rootfs/sbin/freeramdisk /dev/ram0

# this dd is the workaround.  Leave it out to check for the bug
#dd if=/dev/zero of=/dev/ram0 bs=1k count=4000

mke2fs -m0 /dev/ram0 4000
mount -t ext2 /dev/ram0 /mnt/ramdisk
rm -rf /mnt/ramdisk/*

cp -a ./testdir /mnt/ramdisk
umount /dev/ram0

dd if=/dev/ram0 of=ram0.img bs=1k count=4000
dd if=ram0.img of=/dev/ram0 bs=1k count=4000

mount -t ext2 /dev/ram0 /mnt/ramdisk

# if this diff returns anything, your kernel has the bug.
diff -q -r ./testdir /mnt/ramdisk/testdir

umount /dev/ram0
- - - - - -

Torrey Hoffman

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-03-02 16:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-01 14:44 Multiple kernels OOPS at boot on Fujitsu pt510 ( AMD DX100 CPU ) - ksymoops output attached Matthew Allum
2002-03-01 14:54 ` Richard B. Johnson
2002-03-01 15:52   ` Zwane Mwaikambo
2002-03-01 17:50     ` Richard B. Johnson
2002-03-02  3:53       ` Juan Quintela
2002-03-01 17:36 ` Alan Cox
2002-03-01 18:25   ` Matthew Allum
  -- strict thread matches above, loose matches on Subject: below --
2002-03-01 18:12 Torrey Hoffman
2002-03-01 19:22 ` Richard B. Johnson
2002-03-01 20:04 Torrey Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox