LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Tape Drive cannot be found (https://www.linuxquestions.org/questions/linux-newbie-8/tape-drive-cannot-be-found-4175437087/)

reneboypalaboy 11-14-2012 06:14 AM

Tape Drive cannot be found
 
Please help.

I am new in RHEL5 . We have an iBM LTO4 tape drive
and we cannot run our backup because the /dev/st0 is not
there.

I tried the following but negative result.

http://www.linuxquestions.org/questi...-drive-833108/


Please help.

========

By the way. iBM guy came and replaced the SAS card controller. Now the Tape drive is detected in the BIOS.
but on the OS side its no.


Thanks.

rylan76 11-19-2012 04:32 AM

Don't you have to modprobe a module (e. g. load a device driver) to get that drive to work?

For example, to make my 3G modem work I need to

Code:

modprobe usbserial vendor=0x12d1 product=0x1506
modprobe option

which then creates the /dev nodes I need where applications (specifically KPPP) can access and use the device.

However, since you had an apparent hardware failure, it is also possible that something is still broken?

Did it work beforehand?

reneboypalaboy 11-19-2012 09:19 PM

Hi Rylan,

Thank you for taking time helping me.
The device is working fine since iBM tested writing
within the device but not loading Linux.

Inside the linux I cannot /dev/st0 at all. Would you
be kind enough to guide me how to probe the device?
I am using an LTO4 by the way and I am not sure if that helps.

rylan76 11-20-2012 03:42 AM

Can you please post the output of the console command

Code:

lspci
and

Code:

lsusb
?

This will give you an idea if the kernel is seeing your device at all.

How does it connect to the mainboard? Via USB or a slot-in card in a PCI (white coloured) slot?

You'll need to look for a driver for it, maybe you can contact IBM / the vendor and inquire about a Linux driver for it?

reneboypalaboy 11-24-2012 09:17 AM

[root@oraerp ~]# lspci
00:00.0 Host bridge: Intel Corporation Clarksfield/Lynnfield DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Clarksfield/Lynnfield PCI Express Root Port 1 (rev 11)
00:05.0 PCI bridge: Intel Corporation Clarksfield/Lynnfield PCI Express Root Port 3 (rev 11)
00:08.0 System peripheral: Intel Corporation Clarksfield/Lynnfield System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Clarksfield/Lynnfield Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Clarksfield/Lynnfield System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Clarksfield/Lynnfield Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 1 (rev 05)
00:1c.4 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 5 (rev 05)
00:1c.5 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 6 (rev 05)
00:1c.6 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 7 (rev 05)
00:1c.7 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 8 (rev 05)
00:1d.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Ibex Peak LPC Interface Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation Ibex Peak 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Ibex Peak SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation Ibex Peak 2 port SATA IDE Controller (rev 05)
01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS (rev 08)
06:00.0 PCI bridge: Vitesse Semiconductor VSC452 [SuperBMC] (rev 01)
07:00.0 VGA compatible controller: Matrox Graphics, Inc. Unknown device 0530
0b:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
15:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
1a:00.0 RAID bus controller: LSI Logic / Symbios Logic Unknown device 0079 (rev 05)
1f:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
[root@oraerp ~]#


-------------------------------
1f:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

markush 11-24-2012 09:34 AM

Could you please post the ouput of
Code:

lspci -k | grep -iA3 symbios
Markus

reneboypalaboy 11-24-2012 10:00 AM

[root@oraerp dev]# lspci | grep -iA3 symbios
01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS (rev 08)
06:00.0 PCI bridge: Vitesse Semiconductor VSC452 [SuperBMC] (rev 01)
07:00.0 VGA compatible controller: Matrox Graphics, Inc. Unknown device 0530
0b:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
--
1a:00.0 RAID bus controller: LSI Logic / Symbios Logic Unknown device 0079 (rev 05)
1f:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
[root@oraerp dev]#

markush 11-24-2012 10:05 AM

Please use the -k option for lspci! I want to see which modules are loaded for the device.

Markus

reneboypalaboy 11-24-2012 10:05 AM

[root@oraerp dev]# dmesg | grep -1 scsi
megasas: FW now in Ready state
scsi0 : LSI SAS based MegaRAID driver
Vendor: ATA Model: ST9500620NS Rev: BE23
--
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
sd 0:2:0:0: Attached scsi disk sda
Fusion MPT base driver 3.04.07
--
input: USB HID v1.10 Mouse [Sony USB Mouse OPM-U03] on usb-0000:00:1d.0-1.6
scsi1 : ioc0: LSISAS1064E B3, FwRev=011e0500h, Ports=1, MaxQ=277, IRQ=16
libata version 3.00 loaded.
--
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata1: SATA max UDMA/133 bmdma 0x6050 irq 14
--
PCI: Setting latency timer of device 0000:00:1f.5 to 64
scsi4 : ata_piix
scsi5 : ata_piix
ata3: SATA max UDMA/133 cmd 0x6068 ctl 0x6084 bmdma 0x6030 irq 18
--
eth1: MAC: 3, PHY: 8, PBA No: ffffff-0ff
sd 0:2:0:0: Attached scsi generic sg0 type 0
scsi 4:0:0:0: Attached scsi generic sg1 type 5
sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 4:0:0:0: Attached scsi CD-ROM sr0
floppy0: no floppy controllers found

reneboypalaboy 11-24-2012 10:10 AM

[root@oraerp dev]# lspci -k | grep -iA3 symbioslspci: invalid option -- k
Usage: lspci [<switches>]

-v Be verbose
-n Show numeric ID's
-b Bus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)
-x Show hex-dump of the standard portion of config space
-xxx Show hex-dump of the whole config space (dangerous; root only)
-xxxx Show hex-dump of the 4096-byte extended config space (root only)
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only selected devices
-t Show bus tree
-m Produce machine-readable output
-i <file> Use specified ID database instead of /usr/share/hwdata/pci.ids
-D Always show domain numbers
-M Enable `bus mapping' mode (dangerous; root only)
-P <dir> Use specified directory instead of /proc/bus/pci
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read configuration data from given file
-G Enable PCI access debugging

This version is modified by Red Hat, so that it also takes all
/usr/share/hwdata/pci.ids.d/*.ids files into account.

[root@oraerp dev]#

markush 11-24-2012 10:14 AM

Well, this doesn't work, could you please post the output of
Code:

lsmod | sort
Markus

reneboypalaboy 11-24-2012 10:21 AM

[root@oraerp dev]# lsmod | sort
ac 9157 0
acpi_cpufreq 13897 0
asus_acpi 19289 0
ata_piix 23621 0
autofs4 24261 2
backlight 10049 1 video
battery 13637 0
blkbk 22753 0 [permanent]
blktap 118373 2 [permanent]
bluetooth 53797 2 hidp,l2cap
bridge 53597 0
button 10705 0
cdc_ether 9793 0
cdrom 36577 1 sr_mod
cpufreq_ondemand 12749 8
crypto_api 12609 1 xfrm_nalgo
dm_log 14529 3 dm_mirror,dm_raid45,dm_region_hash
dm_mem_cache 9921 1 dm_raid45
dm_message 6977 1 dm_raid45
dm_mirror 23237 0
dm_mod 62201 4 dm_mirror,dm_multipath,dm_raid45,dm_log
dm_multipath 24013 0
dm_raid45 66637 0
dm_region_hash 15809 1 dm_raid45
e1000e 104337 0
ehci_hcd 33741 0
ext3 124361 4
hidp 23105 2
hwmon 7365 0
i2c_core 23745 2 i2c_ec,i2c_i801
i2c_ec 9025 1 sbs
i2c_i801 11725 0
ide_scsi 20937 0
ip_conntrack 52897 4 ipt_MASQUERADE,iptable_nat,ip_nat,xt_state
ip_nat 20973 2 ipt_MASQUERADE,iptable_nat
iptable_filter 7105 1
iptable_nat 11205 1
ip_tables 17029 2 iptable_nat,iptable_filter
ipt_MASQUERADE 7617 1
ipt_REJECT 9537 2
ipv6 261473 137
jbd 56937 1 ext3
l2cap 29505 5 hidp
libata 157317 1 ata_piix
lp 15849 0
megaraid_sas 35441 6
Module Size Used by
mptbase 77541 2 mptsas,mptscsih
mptsas 37449 0
mptscsih 37185 1 mptsas
netbk 78401 0 [permanent]
netloop 10945 0
nfnetlink 10713 2 ip_nat,ip_conntrack
ohci_hcd 24937 0
parport 37641 2 parport_pc,lp
parport_pc 29157 0
pcspkr 7105 0
sbs 18533 0
scsi_dh 11713 1 dm_multipath
scsi_mod 141845 12 ide_scsi,st,scsi_dh,sr_mod,sg,usb_storage,libata,mptsas,mptscsih,scsi_transport_sas,megaraid_sas,sd_ mod
scsi_transport_sas 30529 1 mptsas
sd_mod 25153 7
serial_core 24641 0
sg 36189 0
sr_mod 19941 0
st 38749 0
sunrpc 144765 1
uhci_hcd 25677 0
usbnet 19913 1 cdc_ether
usb_storage 76321 0
video 21193 0
xfrm_nalgo 13381 1 ipv6
x_tables 17349 6 ipt_MASQUERADE,iptable_nat,xt_state,ipt_REJECT,xt_tcpudp,ip_tables
xt_state 6209 1
xt_tcpudp 7105 4

markush 11-24-2012 10:24 AM

Well, I forgot to ask, how is the tapedrive connected to the computer. I supposed it's at the serial port.

Markus

reneboypalaboy 11-26-2012 09:14 PM

Hi Markush,

Sorry for late reply. We are using a SAS cable. from the tape iBM Tape drive.

markush 11-27-2012 01:03 AM

Since RHEL as the name says (RedHat Enterprise Linux) is a supported distribution, you should ask Redhat for help. Thy should be familiar with problems that occur with typical serverhardware.

Markus


All times are GMT -5. The time now is 10:49 PM.