someone has 2.4.21 running on qemu
Has someone 2.4.21 on qemu running?
I tried it with the config provided in
http://fabrice.bellard.free.fr/qemu/vl-test-0.4.1.tar.gz but without luck.
Of course I patched the offset at the two locations. I see Uncompressing Linux... Ok, booting the kernel and than eats the vl process my cpu and does nothing at all.
Gruesse,
Thomas
Quoted 9 lines · Thomas Glanzmann
Has someone 2.4.21 on qemu running?
I tried it with the config provided in
http://fabrice.bellard.free.fr/qemu/vl-test-0.4.1.tar.gz but without luck.Of course I patched the offset at the two locations. I see Uncompressing Linux... Ok, booting the kernel and than eats the vl process my cpu and does nothing at all.
I tried it and it works OK. Maybe for an obscure reason the serial console is not activated.
Fabrice.
Quoted 2 lines
I tried it and it works OK. Maybe for an obscure reason the serial console is not activated.
The serial console was activated but I used the accidently the defconfig of the kernel which don't works for the emulation AFAIK.
But now with the right config from 2.4.20 it boots but I have still problems:
The problem occurs in arch/i386/kernel/time.c line 690
Greetings,
Thomas
(excalibur) [/scratch/qemu/vl-test] ./vl.sh
warning: could not open /dev/net/tun: no virtual network emulation
Uncompressing Linux... Ok, booting the kernel.
Linux version 2.4.21 (sithglan@excalibur) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Fri Jun 27 17:29:14 CEST 2003 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 - 000000000009f000 (usable)
BIOS-88: 0000000000100000 - 0000000002000000 (usable)
32MB LOWMEM available.
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram ramdisk_size=6144
Initializing CPU#0
Detected 1468.840 MHz processor.
Calibrating delay loop... <4>i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
2516.58 BogoMIPS
Memory: 24768k/32768k available (731k kernel code, 7612k reserved, 155k data, 48k init, 0k highmem) i8253 count too high! resetting..
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
i8253 count too high! resetting..
CPU: Intel Pentium Pro stepping 03
Checking 'hlt' instruction... <4>i8253 count too high! resetting..
i8253 count too high! resetting..
OK.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16450
ne.c:v1.10 9/23/94 Donald Becker ([email protected])
Last modified Nov 1, 2000 by Paul Gortmaker
i8253 count too high! resetting..
NE*000 ethercard probe at 0x300:<4>i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
failed to detect IRQ line.
NE*000 ethercard probe at 0x280:<4>i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x320:<4>i8253 count too high! resetting..
i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x340:<4>i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x360:<4>i8253 count too high! resetting..
i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x380:<4>i8253 count too high! resetting..
not found (no reset ack).
RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
i8253 count too high! resetting..
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 6144 blocks [1 disk] into ram disk... <4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
done.
Freeing initrd memory: 6144k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 48k freed
i8253 count too high! resetting..
i8253 count too high! resetting..
sh: can't access tty; job control turned off
# i8253 count too high! resetting.. ...
Try the version 0.4.1 of QEMU. It should solve the problem you have.
BTW, I found a QEMU bug with 2.4.x, but it occurs only if SMP is activated.
Fabrice.
Quoted 118 lines · Thomas Glanzmann
Quoted 1 line
I tried it and it works OK. Maybe for an obscure reason the serial console is not activated.
The serial console was activated but I used the accidently the defconfig of the kernel which don't works for the emulation AFAIK.
But now with the right config from 2.4.20 it boots but I have still problems:
The problem occurs in
arch/i386/kernel/time.cline 690Greetings,
Thomas(excalibur) [/scratch/qemu/vl-test] ./vl.sh
warning: could not open/dev/net/tun: no virtual network emulation
Uncompressing Linux... Ok, booting the kernel.
Linux version 2.4.21 (sithglan@excalibur) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Fri Jun 27 17:29:14 CEST 2003 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000002000000 (usable)
32MB LOWMEM available.
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram ramdisk_size=6144
Initializing CPU#0
Detected 1468.840 MHz processor.
Calibrating delay loop... <4>i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
2516.58 BogoMIPS
Memory: 24768k/32768k available (731k kernel code, 7612k reserved, 155k data, 48k init, 0k highmem) i8253 count too high! resetting..
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
i8253 count too high! resetting..
CPU: Intel Pentium Pro stepping 03
Checking 'hlt' instruction... <4>i8253 count too high! resetting..
i8253 count too high! resetting..
OK.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at0x03f8(irq = 4) is a 16450
ne.c:v1.10 9/23/94 Donald Becker ([email protected])
Last modified Nov 1, 2000 by Paul Gortmaker
i8253 count too high! resetting..
NE*000 ethercard probe at 0x300:<4>i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
i8253 count too high! resetting..
failed to detect IRQ line.
NE*000 ethercard probe at 0x280:<4>i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x320:<4>i8253 count too high! resetting..
i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x340:<4>i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x360:<4>i8253 count too high! resetting..
i8253 count too high! resetting..
not found (no reset ack).
NE*000 ethercard probe at 0x380:<4>i8253 count too high! resetting..
not found (no reset ack).
RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
i8253 count too high! resetting..
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 6144 blocks [1 disk] into ram disk... <4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
done.
Freeing initrd memory: 6144k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 48k freed
i8253 count too high! resetting..
i8253 count too high! resetting..
sh: can't access tty; job control turned off# i8253 count too high! resetting.. ..._______________________________________________
Qemu-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel
Quoted 2 lines
Try the version 0.4.1 of QEMU. It should solve the problem you have. BTW, I found a QEMU bug with 2.4.x, but it occurs only if SMP is activated.
Works for me. Thnx. But CVS Version does not compile for me.
gcc -Wall -O2 -g -fomit-frame-pointer -DHAVE_BYTESWAP_H -D_GNU_SOURCE -c -o vl.o vl.c vl.c: In function `main_loop':
vl.c:1826: `gdbstub_fd' undeclared (first use in this function) vl.c:1826: (Each undeclared identifier is reported only once
vl.c:1826: for each function it appears in.)vl.c: In function `help':
vl.c:1888: DEFAULT_GDBSTUB_PORT' undeclared (first use in this function) vl.c: In function main':
vl.c:1908: DEFAULT_GDBSTUB_PORT' undeclared (first use in this function) vl.c:2076: warning: implicit declaration of function cpu_gdbstub' vl.c:1895: warning: `gdbstub_port' might be used uninitialized in this function
make: *** [vl.o] Error 1