Skip to contentSkip to conversation

reiserfs b0rken on 2.4.22-pre4-ben0 on powerpc ?

DISCUSSION Soeren Sonnenburg 3 participants 5 messages Jul 12, 2003 – Jul 13, 2003 Block layer

lore
Share & tools
lore
#0 lore raw

Hi.

I tried to mount a reiserfs partition (which is connected via firewire or usb mass storage) and while it mounts ok with 2.4.21-ben2 it hangs while mounting on 2.4.22-pre4-ben0.

I guess something is broken there... I can get into the kernel debugger xmon and supply you with a backtrace shot taken with some digital camera... if that helps.

If it is a known issue what is the solution ?

Thanks,
Soeren.

#1 lore raw

Am Samstag, 12. Juli 2003 13:42 schrieb Soeren Sonnenburg:

Quoted 5 lines

Hi.

I tried to mount a reiserfs partition (which is connected via firewire or usb mass storage) and while it mounts ok with 2.4.21-ben2 it hangs while mounting on 2.4.22-pre4-ben0.

Sorry, but what is -benX kernel version?

Greetings,
Dieter

#2 lore raw
Quoted 8 lines · Dieter Nützel

Am Samstag, 12. Juli 2003 13:42 schrieb Soeren Sonnenburg:

Quoted 5 lines

Hi.

I tried to mount a reiserfs partition (which is connected via firewire or usb mass storage) and while it mounts ok with 2.4.21-ben2 it hangs while mounting on 2.4.22-pre4-ben0.

Sorry, but what is -benX kernel version?

The powermac tree from Benjamin Herrenschmidt, see penguinppc.org or ftp.kernel.org:/pub/linux/kernel/people/ben for his rsync tree or patches to the vanilla kernel.

Best,
Soeren.

#3 lore raw
In reply to Soeren Sonnenburg
Quoted 9 lines · Soeren Sonnenburg

Hi.

I tried to mount a reiserfs partition (which is connected via firewire or usb mass storage) and while it mounts ok with 2.4.21-ben2 it hangs while mounting on 2.4.22-pre4-ben0.

I guess something is broken there... I can get into the kernel debugger xmon and supply you with a backtrace shot taken with some digital camera... if that helps.

Please try this (which is in -pre5 and not related to reiserfs)

===== drivers/block/ll_rw_blk.c 1.46 vs edited =====

drivers/block/ll_rw_blk.c +1 -1
@@ -618,7 +618,7 @@
 	do {
 		set_current_state(TASK_UNINTERRUPTIBLE);
 		spin_lock_irq(&io_request_lock);
-		if (blk_oversized_queue(q)) {
+		if (blk_oversized_queue(q) || q->rq.count == 0) {
 			__generic_unplug_device(q);
 			spin_unlock_irq(&io_request_lock);
 			schedule();
#4 lore raw
Quoted 7 lines · Chris Mason
Quoted 6 lines · Soeren Sonnenburg

Hi.

I tried to mount a reiserfs partition (which is connected via firewire or usb mass storage) and while it mounts ok with 2.4.21-ben2 it hangs while mounting on 2.4.22-pre4-ben0.

Quoted 5 lines
Quoted 3 lines

I guess something is broken there... I can get into the kernel debugger xmon and supply you with a backtrace shot taken with some digital camera... if that helps.

Please try this (which is in -pre5 and not related to reiserfs)

You are right that patch fixes it.

Pretty strange that it worked on some ext3 partition ... hmmhh.

Thanks a lot,
Soeren.