qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SPARC kernel oops with logging
@ 2009-05-04 21:56 Gabriel Southern
  2009-05-05 15:29 ` Blue Swirl
  0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Southern @ 2009-05-04 21:56 UTC (permalink / raw)
  To: qemu-devel

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

Hi,

When I run qemu-system-sparc with -d in_asm,out_asm the Linux kernel
crashes when it tries to initialize the hard drive.  The same hard
drive image boots perfectly if I do not include the logging options.
The error messages that I receive are shown below.  I'm wondering if
the logging is causing some type of acknowledgment to be delayed and
this is causing a SCSI operation to timeout.  I've also attached log
of the complete console output in case anyone would find it useful.
If anyone has ideas about the cause or a possible solution please let
me know.

Thanks,

Gabriel

--------------------------------
Begin: Loading essential drivers... ...
SCSI subsystem initialized
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
scsi0 : Sparc ESP100A-FAST
Unable to handle kernel paging request at virtual address fe62f000
tsk->{mm,active_mm}->context = 0000007f
tsk->{mm,active_mm}->pgd = fc014400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
modprobe(771): Oops [#1]
PSR: 04000fc7 PC: fe62f000 NPC: fe62f004 Y: fffffffc    Not tainted
PC: <__scsi_device_lookup_by_target+0x8/0x40 [scsi_mod]>
%G: ffffffff 04000fe0  00000000 044000e0  f0115c18 49ff53a9  f3274000 00000000
%O: f3249400 00000000  f3275a20 f3249484  f3249484 0000000c  f3275980 fe62f204
RPC: <scsi_device_lookup_by_target+0x44/0x74 [scsi_mod]>
%L: 040000e0 fe6362e8  fe6363cc 00000004  00000008 00000000  00000000 0000000a
%I: f3249400 00000000  00000000 00000000  00000000 f9828000  f32759e8 fe635528
Caller[fe635528]: scsi_probe_and_add_lun+0x40/0x9f4 [scsi_mod]
Caller[fe63641c]: __scsi_scan_target+0xa8/0x5a8 [scsi_mod]
Caller[fe63696c]: scsi_scan_channel+0x50/0x74 [scsi_mod]
Caller[fe636a1c]: scsi_scan_host_selected+0x8c/0xd8 [scsi_mod]
Caller[fe61ec80]: esp_sbus_probe+0x9f4/0xae8 [esp]
Caller[f001ba48]: of_device_probe+0x58/0x74
Caller[f01176b4]: driver_probe_device+0x60/0xb8
Caller[f0117814]: __driver_attach+0x70/0xc4
Caller[f0116f9c]: bus_for_each_dev+0x40/0x74
Caller[f0116bec]: bus_add_driver+0x6c/0x134
Caller[f004c86c]: sys_init_module+0x1610/0x1778
Caller[f0011634]: syscall_is_too_hard+0x3c/0x40
Caller[000133b4]: 0x133bc

[-- Attachment #2: sparc_qemu_crash.log --]
[-- Type: application/octet-stream, Size: 6726 bytes --]

Configuration device id QEMU version 1 machine id 32
UUID: 00000000-0000-0000-0000-000000000000
CPUs: 1 x FMI,MB86904
Welcome to OpenBIOS v1.0 built on Mar 31 2009 15:36
  Type 'help' for detailed information

[sparc] Booting file 'disk' with parameters ''
Trying disk (/iommu/sbus/espdma/esp/sd@0,0)
Not a bootable ELF image
Not a Linux kernel image
Loading a.out image...
Loaded 7680 bytes
entry point is 0x4000
Jumping to entry point...
SILO Version 1.4.13
boot: 
Uncompressing image...
Loaded kernel version 2.6.18
Loading initial ramdisk (3213705 bytes at 0x3000000 phys, 0x60000000 virt)...
PROMLIB: obio_ranges 1
Booting Linux...
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.6.18-6-sparc32 (Debian 2.6.18.dfsg.1-24) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Sat Dec 27 09:13:12 UTC 2008
ARCH: SUN4M
TYPE: SPARCstation 5
Ethernet address: 52:54:0:12:34:56
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz). Patching kernel for srmmu[Fujitsu TurboSparc]/iommu
PROM: Built device tree with 21674 bytes of memory.
Power off control detected.
Built 1 zonelists.  Total pages: 31151
Kernel command line: root=/dev/sda2 ro
PID hash table entries: 512 (order: 9, 2048 bytes)
start_kernel(): bug: interrupts were enabled early
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)
Memory: 121100k/130124k available (1640k kernel code, 8884k reserved, 404k data, 136k init, 0k highmem)
Mount-cache hash table entries: 512
checking if image is initramfs... it is
Freeing initrd memory: 3138k freed
NET: Registered protocol family 16
IOMMU: impl 0 vers 5 table 0xf3280000[262144 B] map [65536 b]
sbus0: Clock 21.1250 MHz
dma0: Revision 2 
dma1: Revision 0 
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
ioremap: done with statics, switching to malloc
apc: power management initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 128x48
/iommu@0,10000000/sbus@0,10001000/SUNW,tcx@3,800000: TCX at 0:50800000, 8-bit only
ffd76348: ttyS0 at MMIO 0x71100000 (irq = 44) is a zs
Console: ttyS0 (SunZilog zs0)
ffd76348: ttyS1 at MMIO 0x71100004 (irq = 44) is a zs
ffd7657c: Keyboard at MMIO 71000000 (irq = 44) is a zs
ffd7657c: Mouse at MMIO 71000004 (irq = 44) is a zs
Floppy drive(s): fd0 is 1.44M
FDC 0 is a S82078B
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
rtc_sun_init: Registered Mostek RTC driver.
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 136k freed
Loading, please wait...
Begin: Loading essential drivers... ...
SCSI subsystem initialized
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
scsi0 : Sparc ESP100A-FAST
Unable to handle kernel paging request at virtual address fe62f000
tsk->{mm,active_mm}->context = 0000007f
tsk->{mm,active_mm}->pgd = fc014400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
modprobe(771): Oops [#1]
PSR: 04000fc7 PC: fe62f000 NPC: fe62f004 Y: fffffffc    Not tainted
PC: <__scsi_device_lookup_by_target+0x8/0x40 [scsi_mod]>
%G: ffffffff 04000fe0  00000000 044000e0  f0115c18 49ff53a9  f3274000 00000000
%O: f3249400 00000000  f3275a20 f3249484  f3249484 0000000c  f3275980 fe62f204
RPC: <scsi_device_lookup_by_target+0x44/0x74 [scsi_mod]>
%L: 040000e0 fe6362e8  fe6363cc 00000004  00000008 00000000  00000000 0000000a
%I: f3249400 00000000  00000000 00000000  00000000 f9828000  f32759e8 fe635528
Caller[fe635528]: scsi_probe_and_add_lun+0x40/0x9f4 [scsi_mod]
Caller[fe63641c]: __scsi_scan_target+0xa8/0x5a8 [scsi_mod]
Caller[fe63696c]: scsi_scan_channel+0x50/0x74 [scsi_mod]
Caller[fe636a1c]: scsi_scan_host_selected+0x8c/0xd8 [scsi_mod]
Caller[fe61ec80]: esp_sbus_probe+0x9f4/0xae8 [esp]
Caller[f001ba48]: of_device_probe+0x58/0x74
Caller[f01176b4]: driver_probe_device+0x60/0xb8
Caller[f0117814]: __driver_attach+0x70/0xc4
Caller[f0116f9c]: bus_for_each_dev+0x40/0x74
Caller[f0116bec]: bus_add_driver+0x6c/0x134
Caller[f004c86c]: sys_init_module+0x1610/0x1778
Caller[f0011634]: syscall_is_too_hard+0x3c/0x40
Caller[000133b4]: 0x133bc
Instruction DUMP:<1>Unable to handle kernel paging request at virtual address fe62e000
tsk->{mm,active_mm}->context = 0000007f
tsk->{mm,active_mm}->pgd = fc014400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
modprobe(771): Oops [#2]
PSR: 04800fc2 PC: f0012744 NPC: f0030ca0 Y: 00000000    Not tainted
PC: <instruction_dump+0x3c/0x74>
%G: 00000000 f01a5c00  fffffff4 04400fe1  f0030318 f022d9d8  f3274000 00000000
%O: f01a5f78 00000020  000133bc 00000020  f327563c f3275718  f3275668 f0012740
RPC: <instruction_dump+0x38/0x74>
%L: fffffffe fe62f000  fe62f004 fffffffc  04000fc7 00000000  f3274000 fe6467b8
%I: fe62f000 000133bc  00000303 f01a7b30  00000001 f0231c00  f32756d0 f0012898
Caller[f0012898]: die_if_kernel+0xfc/0x11c
Caller[f001ce74]: unhandled_fault+0x90/0x94
Caller[f001d148]: do_sparc_fault+0x28c/0x3e8
Caller[f0011340]: srmmu_fault+0x60/0x68
Caller[fe62f204]: scsi_device_lookup_by_target+0x44/0x74 [scsi_mod]
Caller[fe635528]: scsi_probe_and_add_lun+0x40/0x9f4 [scsi_mod]
Caller[fe63641c]: __scsi_scan_target+0xa8/0x5a8 [scsi_mod]
Caller[fe63696c]: scsi_scan_channel+0x50/0x74 [scsi_mod]
Caller[fe636a1c]: scsi_scan_host_selected+0x8c/0xd8 [scsi_mod]
Caller[fe61ec80]: esp_sbus_probe+0x9f4/0xae8 [esp]
Caller[f001ba48]: of_device_probe+0x58/0x74
Caller[f01176b4]: driver_probe_device+0x60/0xb8
Caller[f0117814]: __driver_attach+0x70/0xc4
Caller[f0116f9c]: bus_for_each_dev+0x40/0x74
Caller[f0116bec]: bus_add_driver+0x6c/0x134
Caller[f004c86c]: sys_init_module+0x1610/0x1778
Caller[f0011634]: syscall_is_too_hard+0x3c/0x40
Caller[000133b4]: 0x133bc
Instruction DUMP: 0280000a  90106378  40007958 <d4060002> 80a42005  24bffff6  852c2002  313c06b5  40007952 
Killed
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
QEMU: Terminated


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

end of thread, other threads:[~2009-05-07 17:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 21:56 [Qemu-devel] SPARC kernel oops with logging Gabriel Southern
2009-05-05 15:29 ` Blue Swirl
2009-05-05 23:37   ` Gabriel Southern
2009-05-06 18:57     ` Blue Swirl
2009-05-06 21:01       ` Gabriel Southern
2009-05-07 17:15         ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).