From: Vladimir Black <v_black@mail.ru>
To: community@altlinux.ru
Subject: Re: [Hardware] [Comm] usb umount - kernel bug?
Date: Fri, 29 Oct 2004 08:08:00 +0800
Message-ID: <418189E0.40609@mail.ru> (raw)
In-Reply-To: <20041027151317.GA26799@master.mivlgu.local>
Sergey Vlasov пишет:
> 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() там предостаточно, хотя в основном это происходит при
> обнаружении "невозможного" состояния файловой системы).
>
> Попробуйте использовать для флешки другую файловую систему.
Другую журналируемую (ext3) или что-то типа фат32?
А может все же проблема в порядке выгрузки сервисов? По идее сначала
нужно было бы отмонтировать HD, а уже потом выгружать драйвер PCMCIA карты?
--
Владимир Черный
Net&Base admin IMNS 21 RF (Krasnoyarsky reg)
mailto: v_black@mail.ru
http://www.vissarion.ru
prev parent reply other threads:[~2004-10-29 0:08 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 ` [Hardware] [Comm] " Sergey Vlasov
2004-10-29 0:08 ` Vladimir Black [this message]
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=418189E0.40609@mail.ru \
--to=v_black@mail.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