From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Hardware] [Comm] usb umount - kernel bug?
Date: Wed, 27 Oct 2004 19:13:17 +0400
Message-ID: <20041027151317.GA26799@master.mivlgu.local> (raw)
In-Reply-To: <417EE544.7070903@mail.ru>
[-- Attachment #1: Type: text/plain, Size: 2353 bytes --]
On Wed, Oct 27, 2004 at 08:01:08AM +0800, Vladimir Black wrote:
> Поставил на бук (Toshiba Satellite 1410) Мастер 2.4 - вроде бы все ок
> Но проблема с монтированием-размонтированием жесткого диска
> подключаемого по USB 2.0. Подключаю диск через PCMCIA карточку (иначе
> можно, но медленно - 1.1 стандарт). Устройство определяется, в
> /etc/fstab появляются записи, соответствующие всем разделам диска (6
> штук! включая своп раздел) а в каталоге /mnt/ новые точки монтирования
> storageN... вроде все ок, Но
> 1. простой пользователь не может примонтировать раздел не взирая на
> опцию user в fstab - монтирую рутом.
> 2. если выключить комп, не размонтировав эти разделы, то процесс
> выключения умирает навсегда, а в логах есть такой кусочек:
>
> Oct 14 06:57:28 blackbox kernel: usb.c: USB bus 3 deregistered
> Oct 14 06:57:28 blackbox kernel: cs: cb_free(bus 4)
> Oct 14 06:57:28 blackbox kernel: unloading Kernel Card Services
> Oct 14 06:57:28 blackbox pcmcia: done.
> Oct 14 06:57:28 blackbox kernel: Device 08:07 not ready.
> Oct 14 06:57:28 blackbox kernel: I/O error: dev 08:07, sector 7864328
> Oct 14 06:57:28 blackbox kernel: Device 08:07 not ready.
> Oct 14 06:57:28 blackbox kernel: I/O error: dev 08:07, sector 65680
> Oct 14 06:57:28 blackbox kernel: sd(8,7):reiserfs: journal-837: IO error
> during journal replay
> Oct 14 06:57:28 blackbox kernel: journal-712: buffer write failed
> Oct 14 06:57:28 blackbox kernel: (device sd(8,7))
> Oct 14 06:57:28 blackbox kernel: kernel BUG at prints.c:341!
> Oct 14 06:57:28 blackbox kernel: invalid operand: 0000
> Oct 14 06:57:28 blackbox kernel: CPU: 0
>
> больше всего пугает строчка с kernel BUG...
> Ядро 2.4.26-std-up-alt6
>
> В связи с этим извечный вопрос: Кто виноват и что делать? :)
При завершении работы драйверы PCMCIA/CardBus выгружаются, что приводит к
отключению USB-контроллера и всех устройств, подключенных к нему;
эмулируемое SCSI-устройство при этом переходит в offline - все операции
завершаются с ошибкой. Файловая система reiserfs не переносит ошибок
ввода-вывода, в особенности в области журнала (да и вообще вызовов
reiserfs_panic() там предостаточно, хотя в основном это происходит при
обнаружении "невозможного" состояния файловой системы).
Попробуйте использовать для флешки другую файловую систему.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-27 15:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 0:01 Vladimir Black
2004-10-27 14:55 ` [Comm] " Michael Shigorin
2004-10-27 15:13 ` Sergey Vlasov [this message]
2004-10-29 0:08 ` [Hardware] [Comm] " Vladimir Black
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=20041027151317.GA26799@master.mivlgu.local \
--to=vsu@altlinux.ru \
--cc=community@altlinux.ru \
/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
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git