не грузиться система при смене ATA на AHCI

Автор popow_sergei, 01 июля 2014, 14:07:40

« назад - далее »

0 Пользователи и 2 гостей просматривают эту тему.

popow_sergei

имеем мать EG31MF-S2 которая не поддерживает AHCI
на которую поставили Debian 6 с ядром Linux 3.2.0-0.bpo.2-686-pae (i686)
всё пашет отлично и проблем нет, но захотелось превести диски на режим AHCI и завести RAID
для этого были куплены платы - Rocket 640L на Marvell 88SE9230 для общего массива данных (RAID10)
и Rocket 620A на Marvell 88SE912x под диск с системой.
общий массив поднялся и всё хорошо (с виду), а вот корневой(root, диск с системой) диск не как не могу подцепить.
в fstab и через LABEL прописывал и через UUID, после grub(версия2) доходит что пытается смонтировать корень и пишет
что либо нужный лейбел не найден либо UUID.
загрузился с лайвсиди, проверил что ни лейбел ни UUID не изменился, но система стартовать отказывается.

подскажите куда двигаться ?
надо ли мутится с modprobe.conf и прописывать alias scsi_hostadapter ahci и пересобирать initrd ?
может дрова надо в систему поставить ? скачать их скачал, но что то установить не понимаю как.


popow_sergei

Цитата: qupl от 01 июля 2014, 14:18:26
Покажите
lspci -vk



root@(none):/home/user# lspci -vk
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
Subsystem: Giga-byte Technology Device 5000
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0b <?>
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: f0000000-f1ffffff
Prefetchable memory behind bridge: 00000000cf600000-00000000cf6fffff
Capabilities: [88] Subsystem: Giga-byte Technology Device 5000
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10) (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device d000
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f6100000 (32-bit, non-prefetchable) [size=512K]
I/O ports at e400 [size=8]
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Memory at f6000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
Subsystem: Giga-byte Technology Device a002
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f6180000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: f2000000-f3ffffff
Prefetchable memory behind bridge: 00000000cf900000-00000000cfbfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Giga-byte Technology Device 5001
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Root Complex Link
Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at e000 [size=32]
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at e100 [size=32]
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at e200 [size=32]
Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
Subsystem: Giga-byte Technology Device 5004
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at e300 [size=32]
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Giga-byte Technology Device 5006
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f6184000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: f4000000-f5ffffff
Prefetchable memory behind bridge: 00000000cf800000-00000000cf8fffff
Capabilities: [50] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Giga-byte Technology Device 5001
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology Device b002
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at f000 [size=16]
Capabilities: [70] Power Management version 2
Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
Subsystem: Giga-byte Technology GA-8I945PG-RH Mainboard
Flags: medium devsel, IRQ 19
I/O ports at 0500 [size=32]
Kernel driver in use: i801_smbus

01:00.0 SATA controller: Marvell Technology Group Ltd. Device 9230 (rev 10) (prog-if 01 [AHCI 1.0])
Subsystem: Marvell Technology Group Ltd. Device 9230
Flags: bus master, fast devsel, latency 0, IRQ 42
I/O ports at b000 [size=8]
I/O ports at b100 [size=4]
I/O ports at b200 [size=8]
I/O ports at b300 [size=4]
I/O ports at b400 [size=32]
Memory at f1000000 (32-bit, non-prefetchable) [size=2K]
[virtual] Expansion ROM at cf600000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [e0] SATA HBA v0.0
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: ahci

02:00.0 SATA controller: Marvell Technology Group Ltd. Device 9120 (rev 12) (prog-if 01 [AHCI 1.0])
Subsystem: Marvell Technology Group Ltd. Device 9120
Flags: bus master, fast devsel, latency 0, IRQ 44
I/O ports at c000 [size=8]
I/O ports at c100 [size=4]
I/O ports at c200 [size=8]
I/O ports at c300 [size=4]
I/O ports at c400 [size=16]
Memory at f3000000 (32-bit, non-prefetchable) [size=2K]
[virtual] Expansion ROM at cf900000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: ahci

02:00.1 IDE interface: Marvell Technology Group Ltd. Device 91a4 (rev 12) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Marvell Technology Group Ltd. Device 91a4
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at c500 [size=8]
I/O ports at c600 [size=4]
I/O ports at c700 [size=8]
I/O ports at c800 [size=4]
I/O ports at c900 [size=16]
Memory at f3001000 (32-bit, non-prefetchable) [size=16]
[virtual] Expansion ROM at cf910000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: pata_marvell

03:00.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 20
Memory at f5000000 (32-bit, non-prefetchable) [size=16K]
I/O ports at d000 [size=256]
[virtual] Expansion ROM at cf800000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Kernel driver in use: skge

03:01.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
Memory at f5004000 (32-bit, non-prefetchable) [size=16K]
I/O ports at d100 [size=256]
[virtual] Expansion ROM at cf820000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Kernel driver in use: skge

root@(none):/home/user#



qupl

Статья  в вики. Смотрите вторую часть текста, про параметр модуля ahci и обновление initramfs.

qupl

Поставьте пакет с firmware если еще не установлен.

popow_sergei



popow_sergei

Цитата: qupl от 01 июля 2014, 14:56:11
Статья  в вики. Смотрите вторую часть текста, про параметр модуля ahci и обновление initramfs.

такой вывод успешен ?
root@(none):/home/user# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.2.0-0.bpo.2-686-pae
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
W: mdadm: failed to auto-generate temporary mdadm.conf file.
W: mdadm: no configuration file available.
ldconfig: /lib/libuuid.so.1 is not a symbolic link

root@(none):/home/user#

popow_sergei

#8
всё сделал, но эффекта нет
только теперь смарт пропал из системы
по всем дискам пишет неподдерживается.

ogost

у вас был софтовый рейд. сменив на ahci оно пропало(?). вот и пишет ошибку.

popow_sergei

Цитата: ogost от 01 июля 2014, 20:43:34
у вас был софтовый рейд. сменив на ahci оно пропало(?). вот и пишет ошибку.
не было у меня не какого софтового рейда
это я просто пока mdadm установил, но рейд ещё не собирал.

qupl

popow_sergei, blkid
cat /etc/fstab
fdisk -l
dmesg | grep -ie fail -ie error -ie warn

popow_sergei



root@(none):/home/user# blkid
/dev/sda2: UUID="e883d034-ba6a-4991-ab41-d84286a3b776" TYPE="ext4" LABEL="DEBIAN"
/dev/sdb1: LABEL="MEDIA" UUID="b18fadb4-332c-4f20-932a-4d1a9e2afcc7" TYPE="ext4"
/dev/sdc1: LABEL="DOWNLOAD" UUID="e6b6a1e5-ba2d-46b6-b192-721a96a7ee0b" TYPE="ext4"
/dev/sde1: LABEL="HOME" UUID="c0f6056a-7b59-4377-aabf-e3de260f9e80" TYPE="ext4"
/dev/sdd1: LABEL="RAID" UUID="99a51f21-e3b3-4c0b-bb42-15dbddda6716" TYPE="ext4"
root@(none):/home/user#








root@(none):/home/user# cat /etc/fstab
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/log tmpfs defaults 0 0
tmpfs /var/run tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/lock tmpfs defaults 0 0
tmpfs /var/spool/postfix tmpfs defaults 0 0
tmpfs /dev/shm tmpfs size=1G 0 0

LABEL=DEBIAN / ext4 discard,noatime,nodiratime,errors=remount-ro 0 0
LABEL=HOME /home ext4 noatime,nodiratime,errors=remount-ro 0 0
LABEL=DOWNLOAD /media/DOWNLOAD ext4 noatime,nodiratime,errors=remount-ro 0 0
LABEL=MEDIA /media/MEDIA ext4 noatime,nodiratime,errors=remount-ro 0 0
LABEL=RAID /media/RAID ext4 noatime,nodiratime,errors=remount-ro 0 0
root@(none):/home/user#




root@(none):/home/user# dmesg | grep -ie fail -ie error -ie warn
[    1.943520] [drm] MTRR allocation failed.  Graphics performance may suffer.
[    3.466011] EXT4-fs (sda2): re-mounted. Opts: discard,errors=remount-ro
[    3.708830] EXT4-fs (sde1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[    3.759268] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[    3.813939] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[    4.041308] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
root@(none):/home/user#



popow_sergei

после правки /etc/modprobe.d/my-marvell.conf пропал левый контроллер pata
что хорошо конечно, smart всё таки заработал
mdadm удалил из системы что бы не смущал и не путал
к тому же котроллеру к которому безуспешно пытаюсь подключить диск с системой (корень)
легко подключил во второй порт диск с home

qupl

popow_sergei, ваш UUID корневого раздела не совпадает с тем, который ищет загрузчик. Обновите grub и всё получится.
update-grub