From: Anton Midyukov <antohami@altlinux.org>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Загрузка с USB
Date: Mon, 28 Jul 2025 14:38:17 +0300
Message-ID: <bea94fe3-cb8d-4f96-b957-9bae1807a71b@altlinux.org> (raw)
In-Reply-To: <614200d5-10b0-4a62-83ea-0175287a7342@mfc.tambov.gov.ru>
28.07.2025 14:31, Vladimir Mokrozub пишет:
> Здравствуйте,
>
> есть Альт Линукс, установленный на SATA SSD. Задача: настроить загрузку с этого диска через внешний бокс SATA -> USB.
>
> Я добавил фичи usb и usb-storage, пересобрал initrd, но при загрузке initrd падает в шелл. В dmesg вижу такие ошибки:
>
> uas: Unknown symbol usb_stor_sense_invalidCDB (err -2)
> uas: Unknown symbol usb_stor_adjust_quirks (err -2)
>
> В Интернете ничего вразумительного по этим ошибкам не нашел.
>
Такого набора должно быть достаточно, чтобы загрузить с любого usb:
MODULES_TRY_ADD += kernel/drivers/scsi/sd_mod.ko
MODULES_TRY_ADD += kernel/drivers/usb/core
MODULES_TRY_ADD += kernel/drivers/usb/dwc2
MODULES_TRY_ADD += kernel/drivers/usb/dwc3
MODULES_TRY_ADD += kernel/drivers/usb/host
MODULES_TRY_ADD += kernel/drivers/usb/phy
MODULES_TRY_ADD += kernel/drivers/usb/storage
--
best regards, Anton Midyukov <antohami@altlinux.org>
next prev parent reply other threads:[~2025-07-28 11:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 11:31 Vladimir Mokrozub
2025-07-28 11:38 ` Anton Midyukov [this message]
2025-07-28 13:28 ` Leonid Krivoshein
2025-07-28 13:45 ` Alexey Gladkov
2025-07-29 5:40 ` Vladimir Mokrozub
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bea94fe3-cb8d-4f96-b957-9bae1807a71b@altlinux.org \
--to=antohami@altlinux.org \
--cc=make-initrd@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git