From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Загрузка с USB
Date: Mon, 28 Jul 2025 16:28:28 +0300
Message-ID: <0ab0a174-ff2c-4cb5-91fc-2513423b2512@gmail.com> (raw)
In-Reply-To: <bea94fe3-cb8d-4f96-b957-9bae1807a71b@altlinux.org>
Добрый день!
On 7/28/25 14:38, Anton Midyukov wrote:
> 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
Ругается uas, он с некоторыми внешними USB ругается именно так. Здесь
есть описание обхода:
https://unix.stackexchange.com/questions/239782/connection-problem-with-usb3-external-storage-on-linux-uas-driver-problem
Можно начать с того, что без загрузки с него подключить диск и
посмотреть вывод lsmod и lsusb.
--
WBR, Leonid Krivoshein.
next prev parent reply other threads:[~2025-07-28 13:28 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
2025-07-28 13:28 ` Leonid Krivoshein [this message]
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=0ab0a174-ff2c-4cb5-91fc-2513423b2512@gmail.com \
--to=klark.devel@gmail.com \
--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