LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-27-2006, 09:39 PM   #1
adscvr
LQ Newbie
 
Registered: Apr 2006
Location: London, UK
Distribution: archlinux
Posts: 4

Rep: Reputation: 0
2nd sata drive not recognized (kernel 2.6.16.11-Slackware 10.2)


I had installed Slackware 10.2 on a single sata drive with kernel 2.6.16.11. Today i connect another drive and although the kernel recognizes it, i can't found it.
Here is the kernel output:

Code:
[...]
sata_sil 0000:01:0b.0: Applying R_ERR on DMA activate FIS errata fix
ata1: SATA max UDMA/100 cmd 0xF0802080 ctl 0xF080208A bmdma 0xF0802000 irq 185
ata2: SATA max UDMA/100 cmd 0xF08020C0 ctl 0xF08020CA bmdma 0xF0802008 irq 185
ata3: SATA max UDMA/100 cmd 0xF0802280 ctl 0xF080228A bmdma 0xF0802200 irq 185
ata4: SATA max UDMA/100 cmd 0xF08022C0 ctl 0xF08022CA bmdma 0xF0802208 irq 185
ata1: SATA link down (SStatus 0)
scsi0 : sata_sil
ata2: SATA link down (SStatus 0)
scsi1 : sata_sil
ata3: SATA link up 1.5 Gbps (SStatus 113)
ata3: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3c02 87:4023 88:203f
ata3: dev 0 ATA-6, max UDMA/100, 321672960 sectors: LBA48
ata3: dev 0 configured for UDMA/100
scsi2 : sata_sil
ata4: SATA link up 1.5 Gbps (SStatus 113)
ata4: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:40ff
ata4: dev 0 ATA-7, max UDMA7, 312581808 sectors: LBA48
ata4: dev 0 configured for UDMA/100
scsi3 : sata_sil
  Vendor: ATA       Model: HDS722516VLSA80   Rev: V34O
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: ATA       Model: SAMSUNG HD160JJ   Rev: ZM10
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 < sda5 sda6 sda7 >
sd 2:0:0:0: Attached scsi disk sda
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
 sdb: sdb1 sdb2 sdb3
sd 3:0:0:0: Attached scsi disk sdb
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 3:0:0:0: Attached scsi generic sg1 type 0
[...]
As you can see, the 2nd drive is sdb. But when i try to run fdisk:

Code:
adscvr@gilead:~# fdisk /dev/sdb

Unable to open /dev/sdb
And i can't locate the sdb, sdb[1..3] files in the /dev directory:

Code:
adscvr@gilead:~# ls /dev/sdb*
/dev/sdb10  /dev/sdb12  /dev/sdb14  /dev/sdb3  /dev/sdb5  /dev/sdb7  /dev/sdb9
/dev/sdb11  /dev/sdb13  /dev/sdb15  /dev/sdb4  /dev/sdb6  /dev/sdb8
I'm clueless. I have no RAID set. I have a sil3114 PCI-to-SATA controller.

Does anyone have a problem like this? Can anyone help me?
Thanks!!
 
Old 04-28-2006, 05:41 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You need to use the fdisk command as root not as a user.
To list drives you can use the command ' /sbin/fdisk -l ' as root of course.

Brian1
 
Old 05-02-2006, 07:25 AM   #3
adscvr
LQ Newbie
 
Registered: Apr 2006
Location: London, UK
Distribution: archlinux
Posts: 4

Original Poster
Rep: Reputation: 0
I ran it as root with the same result. When i plug a usb device it is recognized and assigned the sdc.So it seems that the sdb is reserved beforehand (in the boot procedure as the kernel output shows). What i don't undestand is why the nodes sdb, sd[1..3] not exist.

The SATA controller is a Silicon Image SiI3114. The drive that is not recognized is a Samsung HD160JJ SATA-II NCQ and the other (working) is a Hitachi SATA device. I've read that several people use this device with no problem at all (on windows at least).

Is there any option in the kernel that i must set?
 
  


Reply



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
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM
Slackware 10.0 , SATA hard drive, kernel 2.6.13.1 mlukic Slackware 6 09-14-2005 02:53 PM
mounting 2nd (sata) hard drive on 10.1 rob0t Slackware 6 08-15-2005 04:05 PM
SATA Optical Drive (DVD Burner) not recognized squisher Linux - Hardware 5 04-05-2005 11:16 AM
2nd SATA in kernel 2.6.5-1.315 leo@bink.nu Linux - Hardware 1 06-08-2004 08:33 AM

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

All times are GMT -5. The time now is 05:19 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