Skip to contentSkip to conversation

2.6.0-test2: crash in reiserfs at shutdown

DISCUSSION Harald Dunkel 3 participants 5 messages Aug 2, 2003 – Aug 4, 2003

lore
Share & tools
lore
#0 lore raw

Hi folks,

I get a reproducable system crash in reiserfs at shutdown time, when my external USB disk is going to be unmounted.

Final words are

kernel BUG at fs/reiserfs/prints.c: 339

plus a lot of more lines. If I umount the disk at normal runtime, then there is no problem.

I would be glad to help to get this fixed, but before I manually write down all the other lines: Is anybody interested in this? Or is this a well known problem?

Regards

Harri

#1 lore raw

Hello!

Harald Dunkel <[email protected]> wrote:

HD> Final words are
HD> kernel BUG at fs/reiserfs/prints.c: 339

There should be one line prior to that.
This line explains what went wrong in reiserfs opinion. Can you please say us what was the line?

Bye,
Oleg

#2 lore raw
Quoted 11 lines · Oleg Drokin

Hello!

Harald Dunkel <[email protected]> wrote:

HD> Final words are
HD> kernel BUG at fs/reiserfs/prints.c: 339

There should be one line prior to that.
This line explains what went wrong in reiserfs opinion. Can you please say us what was the line?

It said

unmounting local filesystems... bio too big device sdc1 (8 > 0) bio too big device sdc1 (8 > 0)
journal - 601, buffer write failed
--- cut here ---
kernel BUG at fs/reiserfs/prints.c: 339
:

To me the problem seems that the USB stuff is shutdown without unmounting the external USB disk first. Later, at the "unmounting all disks" step in the shutdown procedure the USB storage device can't be accessed anymore.

Regards

Harri

#3 lore raw

Hello!

Quoted 9 lines · Harald Dunkel
Quoted 5 lines

HD> Final words are
HD> kernel BUG at fs/reiserfs/prints.c: 339
There should be one line prior to that.
This line explains what went wrong in reiserfs opinion. Can you please say us what was the line?

It said
unmounting local filesystems... bio too big device sdc1 (8 > 0) bio too big device sdc1 (8 > 0)
journal - 601, buffer write failed

Ok, so it tried to write the journal stuff and failed.

Quoted 4 lines

To me the problem seems that the USB stuff is shutdown without unmounting the external USB disk first. Later, at the "unmounting all disks" step in the shutdown procedure the USB storage device can't be accessed anymore.

Yes, this really seems to be a problem.
Reiserfs is really unhappy when media disappear under its feet.

Bye,
Oleg

#4 lore raw
In reply to Harald Dunkel
Quoted 12 lines · Harald Dunkel
Quoted 11 lines · Oleg Drokin

Hello!

Harald Dunkel <[email protected]> wrote:

HD> Final words are
HD> kernel BUG at fs/reiserfs/prints.c: 339

There should be one line prior to that.
This line explains what went wrong in reiserfs opinion. Can you please say us what was the line?

Quoted 5 lines

It said

unmounting local filesystems... bio too big device sdc1 (8 > 0) bio too big device sdc1 (8 > 0)
journal - 601, buffer write failed

reiser most likely tried to flush its journal after the device had disappeared, the queue has been memset it seems. not a reiser problem per se.

Quoted 4 lines

To me the problem seems that the USB stuff is shutdown without unmounting the external USB disk first. Later, at the "unmounting all disks" step in the shutdown procedure the USB storage device can't be accessed anymore.

Seems about right.

Signature · 1 line
Jens Axboe