1 |
Am Montag, 30. April 2007 schrieb ext Graham Murray: |
2 |
> Dirk Heinrichs <dirk.heinrichs.ext@×××.com> writes: |
3 |
> > Sata support may not be enough. Since all the SATA stuff has been put |
4 |
> > into the SCSI subsystem, you would need support for SCSI disks (and |
5 |
> > maybe CDRoms as well): |
6 |
> |
7 |
> In the latest kernels, SATA is no longer in the SCSI subsystem but has |
8 |
> been 'split' into its own libata subsystem. |
9 |
|
10 |
I just booted 2.6.21.1 (the latest AFAIK) from my /dev/sda, which is a SATA |
11 |
drive. If it is sda*, it is the SCSI subsystem, otherwise it would be hda*. |
12 |
|
13 |
% dmesg|grep sda |
14 |
SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB) |
15 |
sda: Write Protect is off |
16 |
sda: Mode Sense: 00 3a 00 00 |
17 |
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support |
18 |
DPO or FUA |
19 |
SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB) |
20 |
sda: Write Protect is off |
21 |
sda: Mode Sense: 00 3a 00 00 |
22 |
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support |
23 |
DPO or FUA |
24 |
sda: sda1 sda2 sda3 |
25 |
sd 2:0:0:0: Attached scsi disk sda |
26 |
|
27 |
So once again: if it is SATA, you need (in addition to the driver for your |
28 |
SATA chip): |
29 |
|
30 |
CONFIG_SCSI=y |
31 |
CONFIG_BLK_DEV_SD=y |
32 |
|
33 |
and, eventually |
34 |
|
35 |
CONFIG_BLK_DEV_SR=m |
36 |
|
37 |
And btw, even PATA is in the SCSI subsystem nowadays (my system has SATA hd, |
38 |
but PATA cdrom, attached to an Intel ICH6 chipset): |
39 |
|
40 |
% dmesg|grep -i scsi |
41 |
SCSI subsystem initialized |
42 |
scsi0 : ata_piix |
43 |
scsi1 : ata_piix |
44 |
scsi 0:0:0:0: CD-ROM HL-DT-ST RW/DVD GCC-4481B E106 PQ: 0 ANSI: 5 |
45 |
scsi2 : ata_piix |
46 |
scsi3 : ata_piix |
47 |
scsi 2:0:0:0: Direct-Access ATA WDC WD800JD-75JN 06.0 PQ: 0 ANSI: 5 |
48 |
SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB) |
49 |
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support |
50 |
DPO or FUA |
51 |
SCSI device sda: 156250000 512-byte hdwr sectors (80000 MB) |
52 |
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support |
53 |
DPO or FUA |
54 |
sd 2:0:0:0: Attached scsi disk sda |
55 |
|
56 |
Bye... |
57 |
|
58 |
Dirk |
59 |
-- |
60 |
Dirk Heinrichs | Tel: +49 (0)162 234 3408 |
61 |
Configuration Manager | Fax: +49 (0)211 47068 111 |
62 |
Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com |
63 |
Wanheimerstraße 68 | Web: http://www.capgemini.com |
64 |
D-40468 Düsseldorf | ICQ#: 110037733 |
65 |
GPG Public Key C2E467BB | Keyserver: www.keyserver.net |