LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-05-2022, 04:21 PM   #1
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Rep: Reputation: Disabled
Need help troubleshooting a tape drive not being found


I hooked up my Dell Precision 490 to an old decent tape drive via it's cable. But the Linux OS does not show it. If I lsscsi it just shows the CD-ROM and hard-drive.

Since I've been off this job for a while, I have forgotten some of the Linux diagnostic commands, but it's slowly coming back to me. I have NO idea why the OS does NOT see the tape drive.

Any help appreciated - I don't see a /dev/sg2 which is normally what I would see.

I also need help troubleshooting why one of my Dell Precision 490s no longer boots up, the display never displays anything and the PC beeps about 7 times. The light on is 4.

THe BIOS boot part of the sequence says something about Device, ports and it says it found 1 device. Is that the tape drive? I'll have to describe that in more detail.
So yeah, I'm not seeing /dev/sg2. There should be a /dev/sg2.

BIOS sayd Controller Bus#00, Device#1F, Function#02, 01 Ports, 01 Devices - Is this the tape drive? So the BIOS sees it? The SCSI controller detected it? Should I just put some sort of modprobe in my .profile and make sure the generic tape driver is in there on boot? Would that help? But I already see tg3 in there.

Last edited by LinuxPoser777; 12-05-2022 at 04:40 PM.
 
Old 12-05-2022, 05:23 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,753

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
tg3 is the Broadcom ethernet module, st is the tape drive module?

Does lsmod show st being loaded?
 
Old 12-05-2022, 05:31 PM   #3
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
tg3 is the Broadcom ethernet module, st is the tape drive module?

Does lsmod show st being loaded?
It's not loaded but may I ask what is st? I only use generic drivers - is that generic?
Why did I mention tg3, hmm?

Should I modprobe st and then report back? It says modprobe: ERROR: could not insert 'st': Operation not permitted.

Should I modprobe sg instead? Obviously I can't modprobe st it doesn't exist I guess. But I don't need it? Or so I?
Please explain if you can. I just forget a lot because one of my machines that was super important died a while
back and i don't have my saved catted files of terminal sessions. It's really a huge disappointment that I have to start
over. Unless I can somehow get the hard drive and mount it somewhow and read the old files on it. That would be great.

Last edited by LinuxPoser777; 12-05-2022 at 05:34 PM.
 
Old 12-05-2022, 05:37 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,753

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
Yes, st is the scsi tape drive module. What linux distribution is running on the dell?

Last edited by michaelk; 12-05-2022 at 05:39 PM.
 
Old 12-05-2022, 05:38 PM   #5
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
tg3 is the Broadcom ethernet module, st is the tape drive module?

Does lsmod show st being loaded?
I know what at least part of the problem is - the module st is NOT being loaded because my computer
is NOT detecting a tape drive, otherwise, it WOULD be loaded. Something is very wrong.
 
Old 12-05-2022, 05:43 PM   #6
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Yes, st is the scsi tape drive module. What linux distribution is running on the dell?
I can modinfo st and get that the driver is there in the /lib/modules/..../st.k0


It's there but it's not getting loaded because the tape drive is not being detected.

Did you understand my question about the BIOS?
 
Old 12-05-2022, 05:45 PM   #7
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Yes, st is the scsi tape drive module. What linux distribution is running on the dell?
Can I explain something? This system used to work perfectly. Can you think why it does not now, do you feel it's hardware or software - I have no idea at this point as the scsi card is detected, but that isn't really asking the scsi adapter to do much - it could be detected by unable to do it's job?

The Kernel is 4.10.0-38 or some such kernel. GNU Linux. It's Linux Mint 18.3

I wonder is BIOS says Controller Bus#00, Device#1F, Function#02, 01 Ports, 01 Devices - Is this the tape drive?

Last edited by LinuxPoser777; 12-05-2022 at 05:51 PM.
 
Old 12-05-2022, 05:54 PM   #8
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Yes, st is the scsi tape drive module. What linux distribution is running on the dell?
I need to explain something - I use a different generic tape driver than the one you are mentioning. I use sg not st.

I don't get /dev/stx I get /dev/sgx, specifically /dev/sg2. I even have runs saved on the computer of that device being
used in my commands to the tape drive. So I will need to look up how to load the generic driver - it's a differnt driver than st I would guess.
 
Old 12-05-2022, 05:57 PM   #9
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Terminator

I wonder if some sort of terminator fell off of the tape drive? I have no idea which part needs to be changed, the scsi, the motherhoard (mice?), the tape drive?
 
Old 12-05-2022, 06:00 PM   #10
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
I use the generic scsi driver, it's just generic but works great for my purposes.

https://sg.danny.cz/sg/sg_v40.html
 
Old 12-05-2022, 06:05 PM   #11
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
When I modprobe sg, it doesn't say anything which means that sg IS loaded. So my generic tape driver is loaded. The question is why can't my machine see a tape drive?
 
Old 12-05-2022, 06:07 PM   #12
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
It's a hardware issue - not good. The sg driver is loaded but can't find a tape drive.
 
Old 12-05-2022, 06:36 PM   #13
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
Other PC beeps 6 times and lights 1 and 3 are on while it's turned on.

So it's lights 1 and 3. I need to get the tech manual?
 
Old 12-05-2022, 06:44 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,753

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
Yes, check the manual
 
Old 12-05-2022, 10:55 PM   #15
LinuxPoser777
Member
 
Registered: Jan 2018
Location: Nowhere yet
Distribution: Fatdog 4.14.12, Linux Mint 18.3, rarely Red Hat enterprise 7.2 Maipo
Posts: 32

Original Poster
Rep: Reputation: Disabled
I now realize it might be a lights 1 3 but a beep of 1 - 3 - 2. Looking this up, it might be a memory problem. My comupter beeped 6 times but it beeps 1 - 3 - 2.

so tomorrow I'll reseat the memory chips and maybe that will solve the problem. My question would be though, what caused the issue to begin with? Maybe I can
buy new memory if it's defective but the PC is kind of old.

I'll see tomorrow. But it's definitely appears to be memory - I have the exact diagnostic of a memory problem. That's better than a graphics card problem usually.
 
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
[SOLVED] Help with troubleshooting HP DAT 72 tape drive and tapes [RHEL 5u7] gacanepa Linux - Hardware 5 12-22-2014 10:45 AM
[SOLVED] Script to Detect whether tape exist in tape drive or not dctw Linux - General 3 12-17-2010 03:04 AM
Is Tar file to tape drive faster than dir/files to tape drive? Runge_Kutta Linux - General 2 03-11-2009 07:13 AM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM

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

All times are GMT -5. The time now is 08:54 PM.

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