PDA

View Full Version : SATA /dev/sda handle, where are you?


Bana
17th March 2004, 04:52 AM
I am trying to get my SATA drive working and I have already done it once (with a FC1 i386 install) and am trying to do it again (x86_64) yet I don't recall how to fix this. My recompiled 2.6.4 kernel works like a charm with libata and sata-sil support as modules. My dmesg looks like this after modprobing sata_sil:
libata version 1.01 loaded.
sata_sil version 0.53
ata1: SATA max UDMA/133 cmd 0xFFFFFF00000C2080 ctl 0xFFFFFF00000C208A bmdma 0xFF FFFF00000C2000 irq 12
ata2: SATA max UDMA/133 cmd 0xFFFFFF00000C20C0 ctl 0xFFFFFF00000C20CA bmdma 0xFF FFFF00000C2008 irq 12
ata3: SATA max UDMA/133 cmd 0xFFFFFF00000C2280 ctl 0xFFFFFF00000C228A bmdma 0xFF FFFF00000C2200 irq 12
ata4: SATA max UDMA/133 cmd 0xFFFFFF00000C22C0 ctl 0xFFFFFF00000C22CA bmdma 0xFF FFFF00000C2208 irq 12
ata1: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3c02 87:4023 88:203f
ata1: dev 0 ATA, max UDMA/100, 321672960 sectors (lba48)
ata1: dev 0 configured for UDMA/100
scsi1 : sata_sil
ata2: no device found (phy stat 00000000)
ata2: thread exiting
scsi2 : sata_sil
ata3: no device found (phy stat 00000000)
ata3: thread exiting
scsi3 : sata_sil
ata4: no device found (phy stat 00000000)
ata4: thread exiting
scsi4 : sata_sil
Vendor: ATA Model: HDS722516VLSA80 Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 05
snd: Unknown symbol memcpy_fromio
snd: Unknown symbol memcpy_toio
...
It has correctly found my HD (woohoo!) yet there are no /dev/sda handles (or anything), in otherwards: nothing to mount to! Perhaps I don't have scsi emulation compiled right? Any way to check this?

Bana
17th March 2004, 05:07 AM
Okay I got it (never fails, I always solve it right after I ask). In my config file I had SCSI disk support setup like a module therefore I had to probe it (sd_mod) and then voila:
scsi8 : sata_sil
Vendor: ATA Model: HDS722516VLSA80 Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 05
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB)
SCSI device sdb: drive cache: write through
sdb: sdb1
Attached scsi disk sdb at scsi5, channel 0, id 0, lun 0

RESOLVED and done.

mhelios
17th March 2004, 07:07 AM

Okay I got it (never fails, I always solve it right after I ask)

LOL. It's usually always the same with me as well. If I decide to post a problem I'm having somewhere, by the time I check for replies, I've most likely solved it myself! Impatience is a bad thing..