давайте определимся (конфиг ядра)

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

Аватара пользователя
kasak
Сообщения: 899
ОС: OpenBSD

давайте определимся

Сообщение kasak »

какие же всё таки опции превращают hda в sda?
я хотел попробовать в самосбрном ядре провернуть такой фокус, но устройства по прежнему hda. надо шагать в ногу со временем.
итак как включить sda?
дистрибутив кстати gentoo 2007.0
собрал из секслинукса
Linux kasak-pc 6.17.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
blackst0ne
Сообщения: 528
Статус:
ОС: Ubuntu 9.04

Re: давайте определимся

Сообщение blackst0ne »

В чем разница между sda и hda для Вас?
Если сильно нужно, измените правило udev, чтобы переименовывал hdx в sdx.

Кстати, жесткие диски на каком интерфейсе работают? IDE, SATA, что-то_еще?
Администрация! Пожалуйста, добавьте птичку "решено", а также соответствующую кнопку на ajax'е в теме (подробнее здесь).
Спасибо сказали:
Аватара пользователя
kasak
Сообщения: 899
ОС: OpenBSD

Re: давайте определимся

Сообщение kasak »

раз линус сделал так своё ядро значит это круто и надо двигаться в ногу со временем.
Я хочу использовать эту функцию.

У меня два IDE диска и SATA DVD-RW
на втором компе стоит suse и у него все диски уже sda а там 1 IDE и 1 SATA
Linux kasak-pc 6.17.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
diesel
Бывший модератор
Сообщения: 5989
ОС: OS X, openSuSE, ROSA, Debian

Re: давайте определимся

Сообщение diesel »

я так понимаю это:
Serial ATA (prod) and Parallel ATA (experimental) drivers
в Device Drivers надо смотреть.
Спасибо сказали:
Аватара пользователя
kasak
Сообщения: 899
ОС: OpenBSD

Re: давайте определимся

Сообщение kasak »

включено.. диски по прежнему hda может надо что-нить отключить?
Linux kasak-pc 6.17.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
kasak
Сообщения: 899
ОС: OpenBSD

Re: давайте определимся

Сообщение kasak »

blackst0ne писал(а):
03.11.2007 04:27
В чем разница между sda и hda для Вас?
Если сильно нужно, измените правило udev, чтобы переименовывал hdx в sdx.

What do the new libata-based PATA drivers offer to you?
First of all, because they're libata-based and libata is a well engineered and sane infrastructure, the drivers have much better quality, they're cleaner, they've much better error handling (much better behaviour when one of your drives dies suddenly or finds broken sectors), and they don't have some of the known design issues that the old drivers have (this is why people did all the work to move away from drivers/ide, they didn't do it just for fun)
Because they're newer, there are more bugs. For this release, they're "experimental". If you want to be safe, use the old drivers.
Really. There is a risk that the new drivers won't work for you, or may harm your data (unlikely, but not impossible). If you want to be safe, use the old drivers.
They support some chipsets not supported by drivers/ide. The cleaner design of libata allows for easier driver development and maintenance. In some cases it supports features that the old driver doesn't, for the same reasons.
Some IDE controllers are not supported or they aren't fully supported. Some of them because not all the IDE drivers have been ported to libata, but others because they're old and undocumented or because the libata PATA layer still doesn't support some of their features. There's no support for certain old serialized devices, for prehistoric CMD640 controllers or for host-protected-area yet.
Drives appear as /dev/sda, /dev/sr0, the old devices names won't work. You will need to change your boot parameters and your /etc/fstab parameters in order to get a working system with the new drivers. Again, this only happens if you use the new drivers, the old drivers continue working as they did before.
Linux kasak-pc 6.17.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
kasak
Сообщения: 899
ОС: OpenBSD

Re: давайте определимся

Сообщение kasak »

нашёл.. надо вообще пункт
ATA/ATAPI/MFM/RLL support --->

отключить. а либату включить.
потом fstab подправить.
Linux kasak-pc 6.17.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000 x86_64 GNU/Linux
Спасибо сказали: