[sisyphus] IDE диски персона нон грата? Или куда дели /dev/disk/by-id

Slava Dubrovskiy slava на tangramltd.com
Сб Дек 19 18:33:48 UTC 2009


19.12.2009 20:11, Valery V. Inozemtsev пишет:
> В Сбт, 19/12/2009 в 19:55 +0200, Motsyo Gennadi aka Drool пишет:
>   
>> 19.12.2009 19:38, Slava Dubrovskiy пишет:
>>     
>>> Как любезно объяснил vsu@ на канале: - из udev выкинули поддержку
>>> драйверов ide - теперь только libata
>>> При этом посоветовали перегенерить образ initrd c опцией
>>> --omit-ide-modules и в дальнейшем всегда её использовать.
>>> А также установить в lilo.conf boot=/dev/hda.
>>>       
>> 	А как оно будет ставать на роутеры с IDE-винтами? Очередная трудность
>> для героической битвы с железом?
>>     
> $ lspci
> 00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge
> (rev 04)
> 00:01.0 PCI bridge: Intel Corporation 82830 830 Chipset AGP Bridge (rev
> 04)
> 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1
> (rev 02)
> 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2
> (rev 02)
> 00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3
> (rev 02)
> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
> 00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
> 00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller
> (rev 02)
> 00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97
> Audio Controller (rev 02)
> 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
> M6 LY
> 02:03.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
> 02:03.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
> 02:05.0 Network controller: Atheros Communications Inc. AR5008 Wireless
> Network Adapter (rev 01)
> 02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100
> VE (LOM) Ethernet Controller (rev 42)
> 03:00.0 Ethernet controller: Allied Telesyn International RTL81xx Fast
> Ethernet (rev 10)
>
> SATA здесь даже и не пахнет
>
> $ lsmod | grep ata
> ata_generic             4584  0 
> pata_acpi               3940  0 
> ata_piix               22728  6 
> libata                172172  3 ata_generic,pata_acpi,ata_piix
> scsi_mod              149844  4 sg,sr_mod,sd_mod,libata
>
> $ ls -al /dev/disk/by-id | sed -ne 's|^.*[[:space:]]\([as]\)\(.*\)|\1\2|
> p'
> ata-HTS548040M9AT00_MRL221L2HP8M7B -> ../../sda
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part1 -> ../../sda1
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part2 -> ../../sda2
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part3 -> ../../sda3
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part4 -> ../../sda4
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part5 -> ../../sda5
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part6 -> ../../sda6
> ata-HTS548040M9AT00_MRL221L2HP8M7B-part7 -> ../../sda7
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B -> ../../sda
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part1 -> ../../sda1
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part2 -> ../../sda2
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part3 -> ../../sda3
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part4 -> ../../sda4
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part5 -> ../../sda5
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part6 -> ../../sda6
> scsi-SATA_HTS548040M9AT00_MRL221L2HP8M7B-part7 -> ../../sda7
>
> для тех кто еще не понял - весь IDE переехал на libata
>   
Как-то оно криво переехало.

[root at dubrhost ~]# ll /dev/disk/
итого 0
drwxr-xr-x  2 root root   120 Дек 19 01:19 by-path/
drwxr-xr-x  2 root root   100 Дек 19 01:19 by-uuid/
drwxr-xr-x  4 root root    80 Дек 19 01:19 ./
drwxr-xr-x 12 root root 14020 Дек 18 22:19 ../

root at dubrhost ~]# lsmod | grep ata
ata_generic             4624  0
sata_nv                22420  0
pata_acpi               3980  0
pata_amd               10960  0
libata                174732  4 ata_generic,sata_nv,pata_acpi,pata_amd
scsi_mod              150996  2 libata,sd_mod

[root at dubrhost ~]# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio
(rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce
6150SE nForce 430] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:06.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S
[Rhine-III] (rev 8b)

Здесь вроде пахнет и SATA и IDE но /dev/disk/by-id нету.

Куда дели /dev/disk/by-id ?

-- 
WBR,
Dubrovskiy Vyacheslav

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3262 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.altlinux.org/pipermail/sisyphus/attachments/20091219/14846948/attachment.bin>


Подробная информация о списке рассылки Sisyphus