WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 372] Dom0 reboots instantly when accessing SCSI DLT tape

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 372] Dom0 reboots instantly when accessing SCSI DLT tape drive
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 30 Oct 2005 18:24:07 +0000
Delivery-date: Sun, 30 Oct 2005 18:24:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=372





------- Additional Comments From alexander@xxxxxxxxxxxxx  2005-10-30 18:24 
-------
Hi,
I have the same problem like you in stable.
I tried 3 diffenent SCSI Cards with differrent drivers all with the same result:
Adaptec 2940UW aha7.. , Dawiconrtol LSI Logic , old Asus based on NCR Chip.
All connetcet to a Ultrium 2 Drive from Tandberg.
I made backups for about 1 month once a day, with out no problem.
With cpio like:

.....
ssh -c blowfish leukefed.com "cd /; nice find . -mount -depth ! -name swap | c
pio -oaB -Hcrc | buffer -s256k"   | buffer -S10m -s256k >/dev/nst0

echo "Backup ns1"
ssh -c blowfish ns1.leukefeld.com "cd /; nice find . -mount -depth ! -name swap
| cpio -oaB -Hcrc | buffer -s256k"  | buffer -S10m -s256k >/dev/nst0
......

Checking the tape with:
buffer </dev/st0 -S10m -s256k | cpio -i --only-verify-crc
is no problem!

But if you try to restore data (Read form Tape write to disk)
The system will crash after 1 to 10 minutes.

buffer </dev/st0 -S10m -s256k | cpio -imd

(Do not mind buffer, the system will do the same with)
cpio -imd </dev/st0 

Xen has no problem with DISK IO, i have copied tons of TB from Drive to Drive.
Xen has also no problem reading or writing to Tape.

Both combinations will make it crash.

I tried different irq handling for xen (XEN) with noapic and without.


/var/log/messsages
Oct 29 18:48:46 master1 kernel: buffer: page allocation failure. order:3, 
mode:0x0
Oct 29 18:48:46 master1 kernel:  [__alloc_pages+702/1104] 
__alloc_pages+0x2be/0x450
Oct 29 18:48:46 master1 kernel:  [__get_free_pages+31/64] 
__get_free_pages+0x1f/0x40
Oct 29 18:48:46 master1 kernel:  [dma_alloc_coherent+202/304]
dma_alloc_coherent+0xca/0x130
Oct 29 18:48:46 master1 kernel:  [dma_map_single+124/368] 
dma_map_single+0x7c/0x170
Oct 29 18:48:46 master1 kernel:  [__map_scsi_single_data+61/96]
__map_scsi_single_data+0x3d/0x60
Oct 29 18:48:46 master1 kernel:  [sym_scatter_no_sglist+85/128]
sym_scatter_no_sglist+0x55/0x80
Oct 29 18:48:46 master1 kernel:  [sym_scatter+56/208] sym_scatter+0x38/0xd0
Oct 29 18:48:46 master1 kernel:  [sym_setup_data_and_start+230/576]
sym_setup_data_and_start+0xe6/0x240
Oct 29 18:48:46 master1 kernel:  [sym_queue_command+230/256]
sym_queue_command+0xe6/0x100
Oct 29 18:48:46 master1 kernel:  [sym53c8xx_queue_command+128/176]
sym53c8xx_queue_command+0x80/0xb0
Oct 29 18:48:46 master1 kernel:  [scsi_dispatch_cmd+305/480]
scsi_dispatch_cmd+0x131/0x1e0
Oct 29 18:48:46 master1 kernel:  [scsi_done+0/48] scsi_done+0x0/0x30
Oct 29 18:48:46 master1 kernel:  [scsi_times_out+0/176] scsi_times_out+0x0/0xb0
Oct 29 18:48:46 master1 kernel:  [scsi_request_fn+431/848]
scsi_request_fn+0x1af/0x350
Oct 29 18:48:46 master1 kernel:  [__elv_add_request+120/192]
__elv_add_request+0x78/0xc0
Oct 29 18:48:46 master1 kernel:  [blk_insert_request+184/224]
blk_insert_request+0xb8/0xe0
Oct 29 18:48:46 master1 kernel:  [scsi_insert_special_req+58/64]
scsi_insert_special_req+0x3a/0x40
Oct 29 18:48:46 master1 kernel:  [st_do_scsi+211/384] st_do_scsi+0xd3/0x180
Oct 29 18:48:46 master1 kernel:  [st_sleep_done+0/224] st_sleep_done+0x0/0xe0
Oct 29 18:48:46 master1 kernel:  [as_next_request+54/64] 
as_next_request+0x36/0x40
Oct 29 18:48:46 master1 kernel:  [read_tape+240/1120] read_tape+0xf0/0x460
Oct 29 18:48:46 master1 kernel:  [st_read+659/864] st_read+0x293/0x360
Oct 29 18:48:46 master1 kernel:  [vfs_read+159/288] vfs_read+0x9f/0x120
Oct 29 18:48:46 master1 kernel:  [sys_read+81/128] sys_read+0x51/0x80
Oct 29 18:48:46 master1 kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Oct 29 18:48:46 master1 kernel: ------------[ cut here ]------------
Oct 29 18:48:46 master1 kernel: kernel BUG at <bad filename>:11753!
Oct 29 18:48:46 master1 kernel: invalid operand: 0000 [#1]
Oct 29 18:48:46 master1 kernel: Modules linked in: snd_via82xx snd_ac97_codec
snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc s
nd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore w83627hf i2c_sensor
i2c_isa i2c_viapro i2c_core
Oct 29 18:48:46 master1 kernel: CPU:    0
Oct 29 18:48:46 master1 kernel: EIP:    0061:[dma_map_single+340/368]    Not
tainted VLI
Oct 29 18:48:46 master1 kernel: EFLAGS: 00011246   (2.6.11.12-xen0)
Oct 29 18:48:46 master1 kernel: EIP is at dma_map_single+0x154/0x170
Oct 29 18:48:46 master1 kernel: eax: 00000000   ebx: cc2a9000   ecx: c048fb58  
edx: 00000000
Oct 29 18:48:46 master1 kernel: esi: 00000002   edi: cc0a7f54   ebp: c7848000  
esp: c54c9d38
Oct 29 18:48:46 master1 kernel: ds: 007b   es: 007b   ss: 0069
Oct 29 18:48:46 master1 kernel: Process buffer (pid: 11451, threadinfo=c54c8000
task=cc0e9590)
Oct 29 18:48:46 master1 kernel: Stack: cc2a9044 00008000 c54c9d4c 00000000
00000000 63ac0000 cc2a9000 cc0a5040
Oct 29 18:48:46 master1 kernel:        cc0a7f54 cc0a7c00 c031bc3d cc2a9044
c7848000 00008000 00000002 cc0a5040
Oct 29 18:48:46 master1 kernel:        cc0a7c00 c031c085 cc2a9000 cc0a5040
00000000 cc0a5040 cc0a7f66 c031c0e8
Oct 29 18:48:46 master1 kernel: Call Trace:
Oct 29 18:48:46 master1 kernel: Call Trace:
Oct 29 18:48:46 master1 kernel:  [__map_scsi_single_data+61/96]
__map_scsi_single_data+0x3d/0x60
Oct 29 18:48:46 master1 kernel:  [sym_scatter_no_sglist+85/128]
sym_scatter_no_sglist+0x55/0x80
Oct 29 18:48:46 master1 kernel:  [sym_scatter+56/208] sym_scatter+0x38/0xd0
Oct 29 18:48:46 master1 kernel:  [sym_setup_data_and_start+230/576]
sym_setup_data_and_start+0xe6/0x240
Oct 29 18:48:46 master1 kernel:  [sym_queue_command+230/256]
sym_queue_command+0xe6/0x100
Oct 29 18:48:46 master1 kernel:  [sym53c8xx_queue_command+128/176]
sym53c8xx_queue_command+0x80/0xb0
Oct 29 18:48:46 master1 kernel:  [scsi_dispatch_cmd+305/480]
scsi_dispatch_cmd+0x131/0x1e0
Oct 29 18:48:46 master1 kernel:  [scsi_done+0/48] scsi_done+0x0/0x30
Oct 29 18:48:46 master1 kernel:  [scsi_times_out+0/176] scsi_times_out+0x0/0xb0
Oct 29 18:48:46 master1 kernel:  [scsi_request_fn+431/848]
scsi_request_fn+0x1af/0x350
Oct 29 18:48:46 master1 kernel:  [__elv_add_request+120/192]
__elv_add_request+0x78/0xc0
Oct 29 18:48:46 master1 kernel:  [blk_insert_request+184/224]
blk_insert_request+0xb8/0xe0
Oct 29 18:48:46 master1 kernel:  [scsi_insert_special_req+58/64]
scsi_insert_special_req+0x3a/0x40
Oct 29 18:48:46 master1 kernel:  [st_do_scsi+211/384] st_do_scsi+0xd3/0x180
Oct 29 18:48:46 master1 kernel:  [st_sleep_done+0/224] st_sleep_done+0x0/0xe0
Oct 29 18:48:46 master1 kernel:  [as_next_request+54/64] 
as_next_request+0x36/0x40
Oct 29 18:48:46 master1 kernel:  [read_tape+240/1120] read_tape+0xf0/0x460
Oct 29 18:48:46 master1 kernel:  [st_read+659/864] st_read+0x293/0x360
Oct 29 18:48:46 master1 kernel:  [vfs_read+159/288] vfs_read+0x9f/0x120
Oct 29 18:48:46 master1 kernel:  [sys_read+81/128] sys_read+0x51/0x80
Oct 29 18:48:46 master1 kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Oct 29 18:48:46 master1 kernel: Code: e8 32 8f ff ff e9 19 ff ff ff 8b 44 24 34
89 6c 24 04 89 44 24 08 8b 44 24 10 89 04 24 e8 35 e4 0c 0
0 eb 87 0f 0b e9 53 ff ff ff <0f> 0b e9 2d ff ff ff 0f 0b e9 b6 fe ff ff 8d b4
26 00 00 00 00

master1:~# xm dmesg
ERROR: cannot use unconfigured serial port COM1
 __  __            ____    ___  _____
 \ \/ /___ _ __   |___ \  / _ \|___  |
  \  // _ \ '_ \    __) || | | |  / /
  /  \  __/ | | |  / __/ | |_| | / /
 /_/\_\___|_| |_| |_____(_)___(_)_/

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 2.0.7 (root@xxxxxxxxxxxxx) (gcc-Version 3.3.5 (Debian 1:3.3.5-13))
So Sep 11 20:26:19 CEST 2005
 Latest ChangeSet:

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000007ffb0000 (usable)
(XEN)  000000007ffb0000 - 000000007ffc0000 (ACPI data)
(XEN)  000000007ffc0000 - 000000007fff0000 (ACPI NVS)
(XEN)  000000007fff0000 - 0000000080000000 (reserved)
(XEN)  00000000ff780000 - 0000000100000000 (reserved)
(XEN) System RAM: 2047MB (2096444kB)
(XEN) Xen heap: 10MB (10732kB)
(XEN) CPU0: Before vendor init, caps: 078bfbff e3d3fbff 00000000, vendor = 2
(XEN) CPU caps: 078bfbff e3d3fbff 00000000 00000000
(XEN) found SMP MP-table at 000ff780
(XEN) ACPI: RSDP (v000 ACPIAM                                    ) @ 0x000fa7c0
(XEN) ACPI: RSDT (v001 A M I  OEMRSDT  0x10000506 MSFT 0x00000097) @ 0x7ffb0000
(XEN) ACPI: FADT (v001 A M I  OEMFACP  0x10000506 MSFT 0x00000097) @ 0x7ffb0200
(XEN) ACPI: MADT (v001 A M I  OEMAPIC  0x10000506 MSFT 0x00000097) @ 0x7ffb0390
(XEN) ACPI: OEMB (v001 A M I  OEMBIOS  0x10000506 MSFT 0x00000097) @ 0x7ffc0040
(XEN) ACPI: DSDT (v001  A0036 A0036001 0x00000001 MSFT 0x0100000d) @ 0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 Special controller APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
(XEN) Processor #129 invalid (max 16)
(XEN) Using ACPI for processor (LAPIC) configuration information
(XEN) Intel MultiProcessor Specification v1.1
(XEN)     Virtual Wire compatibility mode.
(XEN) OEM ID: ASUSTeK  Product ID: Deluxe       APIC at: 0xFEE00000
(XEN) I/O APIC #1 Version 3 at 0xFEC00000.
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Processors: 1
(XEN) Using scheduler: Borrowed Virtual Time (bvt)
(XEN) Initializing CPU#0
(XEN) Detected 1802.321 MHz processor.
(XEN) CPU0: Before vendor init, caps: 078bfbff e3d3fbff 00000000, vendor = 2
(XEN) CPU caps: 078bfbff e3d3fbff 00000000 00000000
(XEN) CPU0 booted
(XEN) enabled ExtINT on CPU#0
(XEN) ESR value before enabling vector: 00000004
(XEN) ESR value after enabling vector: 00000000
(XEN) Error: only one processor found.
(XEN) ENABLING IO-APIC IRQs
(XEN) Setting 1 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 1 ... ok.
(XEN) init IO_APIC IRQs
(XEN) ..TIMER: vector=0x41 pin1=2 pin2=0
(XEN) Using local APIC timer interrupts.
(XEN) Calibrating APIC timer for CPU0...
(XEN) ..... CPU speed is 1802.3455 MHz.
(XEN) ..... Bus speed is 200.2606 MHz.
(XEN) ..... bus_scale = 0x0000CD16
(XEN) Time init:
(XEN) .... System Time: 11130670ns
(XEN) .... cpu_freq:    00000000:6B6D3FC4
(XEN) .... scale:       00000001:1C13F832
(XEN) .... Wall Clock:  1130691014s 150000us
(XEN) PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
(XEN) PCI: Using configuration type 1
(XEN) PCI: Probing PCI hardware
(XEN) PCI: Probing PCI hardware (bus 00)
(XEN) PCI: Using IRQ router default [1106/3227] at 00:11.0
(XEN) PCI->APIC IRQ transform: (B0,I7,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B0,I8,P0) -> 18
(XEN) PCI->APIC IRQ transform: (B0,I9,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B0,I10,P0) -> 17
(XEN) PCI->APIC IRQ transform: (B0,I15,P1) -> 20
(XEN) PCI->APIC IRQ transform: (B0,I15,P0) -> 20
(XEN) PCI->APIC IRQ transform: (B0,I16,P0) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I16,P0) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I16,P1) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I16,P1) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I16,P2) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I17,P2) -> 22
(XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16
(XEN) PCI: Via IRQ fixup for 00:10.3, from 10 to 5
(XEN) PCI: Via IRQ fixup for 00:10.2, from 10 to 5
(XEN) PCI: Via IRQ fixup for 00:10.1, from 11 to 5
(XEN) PCI: Via IRQ fixup for 00:10.0, from 11 to 5
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found:
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=0xC0000000,LOADER=generic,PT_MODE_WRITABLE'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Kernel image:  00c00000->01073f28
(XEN)  Initrd image:  00000000->00000000
(XEN)  Dom0 alloc.:   01400000->0d750000
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c05a3da8
(XEN)  Init. ramdisk: c05a4000->c05a4000
(XEN)  Phys-Mach map: c05a4000->c05d4d40
(XEN)  Page tables:   c05d5000->c05d8000
(XEN)  Start info:    c05d8000->c05d9000
(XEN)  Boot stack:    c05d9000->c05da000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Scrubbing DOM0 RAM: ..done.
(XEN) Scrubbing Free RAM: .....................done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen).


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs