Bacula-users

Re: [Bacula-users] Do i need to initializate the tapes?

2008-11-26 17:38:02
Subject: Re: [Bacula-users] Do i need to initializate the tapes?
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Willians Vivanco" <williansvi AT infomed.sld DOT cu>, bacula-users AT lists.sf DOT net
Date: Wed, 26 Nov 2008 17:35:33 -0500
On Wed, Nov 26, 2008 at 5:23 PM, Willians Vivanco
<williansvi AT infomed.sld DOT cu> wrote:
> John Drescher wrote:
>>
>> On Wed, Nov 26, 2008 at 5:16 PM, Willians Vivanco
>> <williansvi AT infomed.sld DOT cu> wrote:
>>
>>>
>>> John Drescher wrote:
>>>
>>>>>
>>>>> So... Why my Bacula recognize just 64Kb on each tape? Some suggestion?
>>>>> I don't know what to do...
>>>>>
>>>>>
>>>>>
>>>>
>>>> Some kind of hardware or driver problem. Does your os have device
>>>> nodes for /dev/nst0 ?
>>>>
>>>> Are there any errors in your dmesg output?
>>>>
>>>> John
>>>>
>>>>
>>>>
>>>
>>> /dev/nst0
>>> /dev/nst0a
>>> /dev/nst0l
>>> /dev/nst0m
>>> /dev/nst1
>>> /dev/nst1a
>>> /dev/nst1l
>>> /dev/nst1m
>>>
>>> I'm attached the dmesg output  complete... Maybe i'm give you more data
>>> that
>>> you need...
>>>
>>>
>>> ---------------------------------------
>>>  Red Telematica de Salud - Cuba
>>>         CNICM - Infomed
>>>
>>> (waldi AT debian DOT org) (gcc version 4.1.2 20061115 (prerelease) (Debian
>>> 4.1.1-21)) #1 SMP Sun Feb 10 22:11:31 UTC 2008
>>> BIOS-provided physical RAM map:
>>>  BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
>>>  BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
>>>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>>>  BIOS-e820: 0000000000100000 - 00000000cfe56000 (usable)
>>>  BIOS-e820: 00000000cfe56000 - 00000000cfe5e000 (ACPI data)
>>>  BIOS-e820: 00000000cfe5e000 - 00000000cfe5f000 (usable)
>>>  BIOS-e820: 00000000cfe5f000 - 00000000d0000000 (reserved)
>>>  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
>>>  BIOS-e820: 00000000fec00000 - 00000000fed00000 (reserved)
>>>  BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
>>>  BIOS-e820: 00000000ffc00000 - 0000000100000000 (reserved)
>>>  BIOS-e820: 0000000100000000 - 000000012ffff000 (usable)
>>> Warning only 4GB will be used.
>>> Use a PAE enabled kernel.
>>> 3200MB HIGHMEM available.
>>> 896MB LOWMEM available.
>>> found SMP MP-table at 000f4f80
>>> On node 0 totalpages: 1048576
>>>  DMA zone: 4096 pages, LIFO batch:0
>>>  Normal zone: 225280 pages, LIFO batch:31
>>>  HighMem zone: 819200 pages, LIFO batch:31
>>> DMI 2.4 present.
>>> ACPI: RSDP (v002 HP                                    ) @ 0x000f4f00
>>> ACPI: XSDT (v001 HP     ProLiant 0x00000002 Ò  0x0000162e) @ 0xcfe567c0
>>> ACPI: FADT (v003 HP     ProLiant 0x00000002 Ò  0x0000162e) @ 0xcfe56840
>>> ACPI: SPCR (v001 HP     SPCRRBSU 0x00000001 Ò  0x0000162e) @ 0xcfe56140
>>> ACPI: MCFG (v001 HP     ProLiant 0x00000001  0x00000000) @ 0xcfe561c0
>>> ACPI: HPET (v001 HP     ProLiant 0x00000002 Ò  0x0000162e) @ 0xcfe56200
>>> ACPI: SPMI (v005 HP     ProLiant 0x00000001 Ò  0x0000162e) @ 0xcfe56240
>>> ACPI: ERST (v001 HP     ProLiant 0x00000001 Ò  0x0000162e) @ 0xcfe56280
>>> ACPI: MADT (v001 HP     ProLiant 0x00000002  0x00000000) @ 0xcfe56480
>>> ACPI: FFFF (v001 HP     ProLiant 0x00000001 Ò  0x0000162e) @ 0xcfe56540
>>> ACPI: BERT (v001 HP     ProLiant 0x00000001 Ò  0x0000162e) @ 0xcfe566c0
>>> ACPI: HEST (v001 HP     ProLiant 0x00000001 Ò  0x0000162e) @ 0xcfe56700
>>> ACPI: DSDT (v001 HP         DSDT 0x00000001 INTL 0x20030228) @ 0x00000000
>>> ACPI: PM-Timer IO Port: 0x908
>>> ACPI: Local APIC address 0xfee00000
>>> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
>>> Processor #0 6:15 APIC version 20
>>> ACPI: LAPIC (acpi_id[0x04] lapic_id[0x04] disabled)
>>> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
>>> ACPI: LAPIC (acpi_id[0x06] lapic_id[0x06] disabled)
>>> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
>>> Processor #1 6:15 APIC version 20
>>> ACPI: LAPIC (acpi_id[0x05] lapic_id[0x05] disabled)
>>> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
>>> ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] disabled)
>>> ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
>>> ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
>>> IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
>>> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
>>> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
>>> ACPI: IRQ0 used by override.
>>> ACPI: IRQ2 used by override.
>>> ACPI: IRQ9 used by override.
>>> Enabling APIC mode:  Flat.  Using 1 I/O APICs
>>> ACPI: HPET id: 0x8086a201 base: 0xfed00000
>>> Using ACPI (MADT) for SMP configuration information
>>> Allocating PCI resources starting at d1000000 (gap: d0000000:10000000)
>>> Detected 2333.523 MHz processor.
>>> Built 1 zonelists.  Total pages: 1048576
>>> Kernel command line: root=/dev/cciss/c0d0p1 ro
>>> mapped APIC to ffffd000 (fee00000)
>>> mapped IOAPIC to ffffc000 (fec00000)
>>> Enabling fast FPU save and restore... done.
>>> Enabling unmasked SIMD FPU exception support... done.
>>> Initializing CPU#0
>>> PID hash table entries: 4096 (order: 12, 16384 bytes)
>>> Console: colour VGA+ 80x25
>>> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>>> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>>> Memory: 3364148k/4194304k available (1541k kernel code, 40708k reserved,
>>> 580k data, 196k init, 2488668k highmem)
>>> Checking if this processor honours the WP bit even in supervisor mode...
>>> Ok.
>>> hpet0: at MMIO 0xfed00000 (virtual 0xf8800000), IRQs 2, 8, 0
>>> hpet0: 3 64-bit timers, 14318180 Hz
>>> Using HPET for base-timer
>>> Calibrating delay using timer specific routine.. 4670.26 BogoMIPS
>>> (lpj=9340522)
>>> Security Framework v1.0.0 initialized
>>> SELinux:  Disabled at boot.
>>> Capability LSM initialized
>>> Mount-cache hash table entries: 512
>>> CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000
>>> 0004e3bd 00000000 00000001
>>> CPU: After vendor identify, caps: bfebfbff 20000000 00000000 00000000
>>> 0004e3bd 00000000 00000001
>>> monitor/mwait feature present.
>>> using mwait in idle threads.
>>> CPU: L1 I cache: 32K, L1 D cache: 32K
>>> CPU: L2 cache: 4096K
>>> CPU: Physical Processor ID: 0
>>> CPU: Processor Core ID: 0
>>> CPU: After all inits, caps: bfebfbff 20000000 00000000 00000940 0004e3bd
>>> 00000000 00000001
>>> Intel machine check architecture supported.
>>> Intel machine check reporting enabled on CPU#0.
>>> Compat vDSO mapped to ffffe000.
>>> Checking 'hlt' instruction... OK.
>>> SMP alternatives: switching to UP code
>>> ACPI: Core revision 20060707
>>> CPU0: Intel(R) Xeon(R) CPU            5148  @ 2.33GHz stepping 0b
>>> SMP alternatives: switching to SMP code
>>> Booting processor 1/1 eip 3000
>>> Initializing CPU#1
>>> Calibrating delay using timer specific routine.. 4666.93 BogoMIPS
>>> (lpj=9333860)
>>> CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000
>>> 0004e3bd 00000000 00000001
>>> CPU: After vendor identify, caps: bfebfbff 20000000 00000000 00000000
>>> 0004e3bd 00000000 00000001
>>> monitor/mwait feature present.
>>> CPU: L1 I cache: 32K, L1 D cache: 32K
>>> CPU: L2 cache: 4096K
>>> CPU: Physical Processor ID: 0
>>> CPU: Processor Core ID: 1
>>> CPU: After all inits, caps: bfebfbff 20000000 00000000 00000940 0004e3bd
>>> 00000000 00000001
>>> Intel machine check architecture supported.
>>> Intel machine check reporting enabled on CPU#1.
>>> CPU1: Intel(R) Xeon(R) CPU            5148  @ 2.33GHz stepping 0b
>>> Total of 2 processors activated (9337.19 BogoMIPS).
>>> ENABLING IO-APIC IRQs
>>> ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
>>> checking TSC synchronization across 2 CPUs: passed.
>>> Brought up 2 CPUs
>>> migration_cost=66
>>> checking if image is initramfs... it is
>>> Freeing initrd memory: 4380k freed
>>> NET: Registered protocol family 16
>>> ACPI: bus type pci registered
>>> PCI: Using MMCONFIG
>>> Setting up standard PCI resources
>>> ACPI: Interpreter enabled
>>> ACPI: Using IOAPIC for interrupt routing
>>> ACPI: PCI Root Bridge [PCI0] (0000:00)
>>> PCI: Probing PCI hardware (bus 00)
>>> ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
>>> Boot video device is 0000:01:03.0
>>> PCI: Transparent bridge - 0000:00:1e.0
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.IP2P._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.IPTA.NPE1._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT02._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT02.IPE4._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT02.IPE4.IPE1.NPE2._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT03._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT04._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT05._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT06._PRT]
>>> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PT07._PRT]
>>> ACPI: PCI Interrupt Link [LNKA] (IRQs *5 7 10 11)
>>> ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *7 10 11)
>>> ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 *10 11)
>>> ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 *10 11)
>>> ACPI: PCI Interrupt Link [LNKE] (IRQs 5 7 10 11) *0, disabled.
>>> ACPI: PCI Interrupt Link [LNKF] (IRQs *5 7 10 11)
>>> ACPI: PCI Interrupt Link [LNKG] (IRQs 5 7 *10 11)
>>> ACPI: PCI Interrupt Link [LNKH] (IRQs 5 *7 10 11)
>>> Linux Plug and Play Support v0.97 (c) Adam Belay
>>> pnp: PnP ACPI init
>>> pnp: PnP ACPI: found 11 devices
>>> PnPBIOS: Disabled by ACPI PNP
>>> PCI: Using ACPI for IRQ routing
>>> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
>>> report
>>> pnp: 00:01: ioport range 0x408-0x40f has been reserved
>>> pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved
>>> pnp: 00:01: ioport range 0x700-0x71f has been reserved
>>> PCI: Bridge: 0000:06:00.0
>>>  IO window: disabled.
>>>  MEM window: fa000000-fbffffff
>>>  PREFETCH window: d1000000-d10fffff
>>> PCI: Bridge: 0000:05:00.0
>>>  IO window: disabled.
>>>  MEM window: fa000000-fbffffff
>>>  PREFETCH window: d1000000-d10fffff
>>> PCI: Bridge: 0000:05:01.0
>>>  IO window: disabled.
>>>  MEM window: disabled.
>>>  PREFETCH window: disabled.
>>> PCI: Bridge: 0000:04:00.0
>>>  IO window: disabled.
>>>  MEM window: fa000000-fbffffff
>>>  PREFETCH window: d1000000-d10fffff
>>> PCI: Bridge: 0000:04:00.3
>>>  IO window: disabled.
>>>  MEM window: disabled.
>>>  PREFETCH window: disabled.
>>> PCI: Bridge: 0000:00:02.0
>>>  IO window: disabled.
>>>  MEM window: f9f00000-fbffffff
>>>  PREFETCH window: d1000000-d10fffff
>>> PCI: Bridge: 0000:0b:04.0
>>>  IO window: disabled.
>>>  MEM window: disabled.
>>>  PREFETCH window: disabled.
>>> PCI: Bridge: 0000:0a:00.0
>>>  IO window: 4000-4fff
>>>  MEM window: fde00000-fdefffff
>>>  PREFETCH window: d1100000-d11fffff
>>> PCI: Bridge: 0000:00:03.0
>>>  IO window: 4000-4fff
>>>  MEM window: fde00000-fdefffff
>>>  PREFETCH window: d1100000-d11fffff
>>> PCI: Bridge: 0000:00:04.0
>>>  IO window: disabled.
>>>  MEM window: disabled.
>>>  PREFETCH window: disabled.
>>> PCI: Bridge: 0000:00:05.0
>>>  IO window: 5000-5fff
>>>  MEM window: fdf00000-fdffffff
>>>  PREFETCH window: d1200000-d12fffff
>>> PCI: Bridge: 0000:00:06.0
>>>  IO window: disabled.
>>>  MEM window: disabled.
>>>  PREFETCH window: disabled.
>>> PCI: Bridge: 0000:00:07.0
>>>  IO window: disabled.
>>>  MEM window: disabled.
>>>  PREFETCH window: disabled.
>>> PCI: Bridge: 0000:02:00.0
>>>  IO window: disabled.
>>>  MEM window: f6000000-f7ffffff
>>>  PREFETCH window: d1300000-d13fffff
>>> PCI: Bridge: 0000:00:1c.0
>>>  IO window: disabled.
>>>  MEM window: f6000000-f7ffffff
>>>  PREFETCH window: d1300000-d13fffff
>>> PCI: Bridge: 0000:00:1e.0
>>>  IO window: 2000-3fff
>>>  MEM window: f5e00000-f5ffffff
>>>  PREFETCH window: d8000000-dfffffff
>>> PCI: Setting latency timer of device 0000:00:02.0 to 64
>>> PCI: Setting latency timer of device 0000:04:00.0 to 64
>>> ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 16 (level, low) -> IRQ 169
>>> PCI: Setting latency timer of device 0000:05:00.0 to 64
>>> PCI: Setting latency timer of device 0000:06:00.0 to 64
>>> ACPI: PCI Interrupt 0000:05:01.0[A] -> GSI 17 (level, low) -> IRQ 177
>>> PCI: Setting latency timer of device 0000:05:01.0 to 64
>>> PCI: Setting latency timer of device 0000:04:00.3 to 64
>>> PCI: Setting latency timer of device 0000:00:03.0 to 64
>>> PCI: Setting latency timer of device 0000:0a:00.0 to 64
>>> PCI: Setting latency timer of device 0000:00:04.0 to 64
>>> PCI: Setting latency timer of device 0000:00:05.0 to 64
>>> kobject_add failed for 0:0:0:1 with -EEXIST, don't try to register things
>>> with the same name in the same directory.
>>>  [<c01b8080>] kobject_add+0x147/0x16d
>>>  [<c020f99f>] device_add+0x71/0x297
>>>  [<f883b526>] scsi_sysfs_add_sdev+0x2a/0x1ce [scsi_mod]
>>>  [<f891cb11>] qla2xxx_slave_configure+0x98/0xab [qla2xxx]
>>>  [<f883a00f>] scsi_probe_and_add_lun+0x7c1/0x8ab [scsi_mod]
>>>  [<f883a2ce>] scsi_alloc_target+0xd6/0x2d9 [scsi_mod]
>>>  [<f883aa94>] __scsi_scan_target+0x558/0x583 [scsi_mod]
>>>  [<c027f1ea>] schedule+0x84e/0x8fe
>>>  [<f883ad06>] scsi_scan_target+0x5f/0x73 [scsi_mod]
>>>  [<f88b384a>] fc_scsi_scan_rport+0x42/0x60 [scsi_transport_fc]
>>>  [<c012abfc>] run_workqueue+0x78/0xb5
>>>  [<f88b3808>] fc_scsi_scan_rport+0x0/0x60 [scsi_transport_fc]
>>>  [<c012b4e6>] worker_thread+0xd9/0x10b
>>>  [<c0117778>] default_wake_function+0x0/0xc
>>>  [<c012b40d>] worker_thread+0x0/0x10b
>>>  [<c012d85f>] kthread+0xc2/0xef
>>>  [<c012d79d>] kthread+0x0/0xef
>>>  [<c0101005>] kernel_thread_helper+0x5/0xb
>>> error 1
>>> st0: Block limits 1 - 16777215 bytes.
>>> ch0: ... finished
>>> kobject_add failed for sch0 with -EEXIST, don't try to register things
>>> with
>>> the same name in the same directory.
>>>  [<c01b8080>] kobject_add+0x147/0x16d
>>>  [<c02117cd>] class_device_add+0x9d/0x3b3
>>>  [<f88bb11b>] ch_do_scsi+0x71/0x13b [ch]
>>>  [<c01b7e0e>] kobject_get+0xf/0x13
>>>  [<c0211b6c>] class_device_create+0x79/0x99
>>>  [<f88bb938>] ch_probe+0x4ef/0x550 [ch]
>>>  [<c0319e00>] inflate_codes+0x124/0x41e
>>>  [<c0210d69>] driver_probe_device+0x42/0x8b
>>>  [<c0210db2>] __device_attach+0x0/0x5
>>>  [<c02107c5>] bus_for_each_drv+0x32/0x58
>>>  [<c0210df8>] device_attach+0x41/0x51
>>>  [<c0210db2>] __device_attach+0x0/0x5
>>>  [<c021052c>] bus_attach_device+0x13/0x26
>>>  [<c020faf0>] device_add+0x1c2/0x297
>>>  [<f883b526>] scsi_sysfs_add_sdev+0x2a/0x1ce [scsi_mod]
>>>  [<f891cb11>] qla2xxx_slave_configure+0x98/0xab [qla2xxx]
>>>  [<f883a00f>] scsi_probe_and_add_lun+0x7c1/0x8ab [scsi_mod]
>>>  [<f883a5ed>] __scsi_scan_target+0xb1/0x583 [scsi_mod]
>>>  [<c011665a>] __wake_up_sync+0x31/0x4b
>>>  [<c0126f68>] do_notify_parent+0x161/0x16c
>>>  [<c027f1ea>] schedule+0x84e/0x8fe
>>>  [<f883ad06>] scsi_scan_target+0x5f/0x73 [scsi_mod]
>>>  [<f88b384a>] fc_scsi_scan_rport+0x42/0x60 [scsi_transport_fc]
>>>  [<c012abfc>] run_workqueue+0x78/0xb5
>>>  [<f88b3808>] fc_scsi_scan_rport+0x0/0x60 [scsi_transport_fc]
>>>  [<c012b4e6>] worker_thread+0xd9/0x10b
>>>  [<c0117778>] default_wake_function+0x0/0xc
>>>  [<c012b40d>] worker_thread+0x0/0x10b
>>>  [<c012d85f>] kthread+0xc2/0xef
>>>  [<c012d79d>] kthread+0x0/0xef
>>>  [<c0101005>] kernel_thread_helper+0x5/0xb
>>> ch 1:0:0:0: Attached scsi changer ch0
>>> ch 1:0:0:0: Attached scsi generic sg4 type 8
>>>  Vendor: HP        Model: Ultrium 3-SCSI    Rev: G63W
>>>  Type:   Sequential-Access                  ANSI SCSI revision: 03
>>> st 1:0:0:1: Attached scsi tape st2
>>> st2: try direct i/o: yes (alignment 512 B)
>>> st 1:0:0:1: Attached scsi generic sg5 type 1
>>>  Vendor: HP        Model: Ultrium 3-SCSI    Rev: G63W
>>>  Type:   Sequential-Access                  ANSI SCSI revision: 03
>>> st 1:0:0:2: Attached scsi tape st3
>>> st3: try direct i/o: yes (alignment 512 B)
>>> st 1:0:0:2: Attached scsi generic sg6 type 1
>>>  Vendor: HP        Model: NS E1200-320      Rev: 571f
>>>  Type:   RAID                               ANSI SCSI revision: 04
>>> scsi 1:0:0:3: Attached scsi generic sg7 type 12
>>> st2: Block limits 1 - 16777215 bytes.
>>> scsi 0:0:0:1: rejecting I/O to dead device
>>>
>>>
>>>
>>
>> This indicates that you have a problem with the scsi driver built into
>> your kernel.
>> John
>>
>>
>
> Can you tell me some suggestion to resolve this problem? I'll be really
> thankful with you...
>

If possible upgrade your kernel to the latest. Otherwise you may need
to switch scsi cards or follow the advice in the following warning

>>> PCI: If a device doesn't work, try "pci=routeirq"

This means you may need to add pci=routeirq to your kernel paramaters.

John

John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>