LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-14-2008, 03:42 PM   #1
kabuataya
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Rep: Reputation: 0
Tape device doesn't seem to be recognized by the kernel


hi guys and girls,

i have added a new HP tape device into my linux box, the problem is that i wasn't able to detect the device and its library, the only devices available in /dev are st0 and nst0.

i have been trying to make the generic scsi devices, but i couldn't.though the module is already loaded into the kernel. but couldn't do nothing.


the output of my /proc/scsi/scsi



# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: C7438A Rev: ZP76
Type: Sequential-Access ANSI SCSI revision: 03



so i had to explicitly force the loading of a module at boot time by doing the following.

# echo modprobe sg > /etc/rc.modules
# chmod +x /etc/rc.modules

after i reboot my server, the device sg0 was created in /dev directory, i belive that this is the device but there was no library.

so i thought i should try to test it and the following appears


[root@MOT_SERVER bin]# tar -cvf /dev/sg0 startup.sh
startup.sh
tar: /dev/sg0: Cannot write: Cannot allocate memory
tar: Error is not recoverable: exiting now

can someone please guide me through what i am suppose to do on a step by step bases. because i am kinda new to linux,
 
Old 01-14-2008, 04:28 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Does this device have a loader and tape reader? I'm trying to figure out why you aren't trying to write to /dev/st0 or /dev/nst0. What is it that makes you think these aren't your SCSI Tape drive?

From the st man page:

/dev/st* : the auto-rewind SCSI tape devices
/dev/nst* : the non-rewind SCSI tape devices

What happens if you try to write to them?

tar -cvf /dev/nst0 startup.sh
tar -cvf /dev/st0 startup.sh

Let us know,

Forrest
 
Old 01-15-2008, 02:58 AM   #3
kabuataya
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
scsi generic devices

i want to create a scsi generic devices because i am using a product called oracle secure backup and it requiores a generic scsi to be installed on the server to function
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DDS4 Tape Drive not recognized manojkb Linux - Hardware 9 11-06-2007 06:34 AM
IDE Tape Drive not being recognized nethawk Linux - Hardware 5 08-11-2006 08:19 AM
Tape Drive not recognized properly Risc91 AIX 0 10-24-2005 08:28 AM
tape device ust Linux - Software 3 09-10-2005 11:50 AM
different tape device ust Linux - General 0 10-25-2004 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration