All of lore.kernel.org
 help / color / mirror / Atom feed
* Oops: mounting floppy disk on PPC64 (power3)
@ 2006-03-31 21:38 Markus Rothe
  2006-03-31 22:50   ` Nathan Lynch
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Rothe @ 2006-03-31 21:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: markus

[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]

Hi,

this is kernel 2.6.16.1 compiled with gcc 4.1.0 (gentoo patches). I never 
tried to mount a floppy on this system before, so I don't know if it Oops'ed 
in previous kernel versions, too.

power3 ~ # uname -a
Linux power3 2.6.16.1 #1 Fri Mar 31 21:08:43 UTC 2006 ppc64 POWER3 (630+) CHRP 
IBM,7044-170 GNU/Linux
power3 ~ # modprobe floppy
power3 ~ # mount /mnt/floppy/
Oops: Kernel access of bad area, sig: 11 [#1]
NUMA PSERIES
Modules linked in: floppy
NIP: C0000000000201E8 LR: D0000000000C43A4 CTR: C0000000000201D8
REGS: c0000000003df470 TRAP: 0300   Not tainted  (2.6.16.1)
MSR: A000000000001032 <ME,IR,DR>  CR: 48000082  XER: 00000000
DAR: 0000000000000178, DSISR: 0000000040000000
TASK = c0000000003fc9b0[0] 'swapper' THREAD: c0000000003dc000
GPR00: C00000000042FC08 C0000000003DF6F0 C0000000004D3310 0000000000000000
GPR04: C00000000161D000 0000000000000400 0000000000000002 0000000000000750
GPR08: 0000000000000064 D0000000000D4AE0 D0000000000D5F20 C0000000000201D8
GPR12: D0000000000CB280 C0000000003FCF80 0000000000000000 0000000000000000
GPR16: 0000000000000000 0000000000000000 4000000001400000 C0000000003595E0
GPR20: C0000000003D1F28 00000000017D1A80 C0000000003D1A80 0000000000000060
GPR24: 00000000000003F0 A000000000009032 0000000000000044 00000000000000D9
GPR28: 0000000000000400 0000000000000002 D0000000000DB880 C00000000161D000
NIP [C0000000000201E8] .dma_map_single+0x10/0x70
LR [D0000000000C43A4] .setup_rw_floppy+0x2c0/0xaa8 [floppy]
Call Trace:
[C0000000003DF6F0] [D0000000000C5790] .start_motor+0x108/0x158 [floppy] 
(unreli)
[C0000000003DF760] [D0000000000C43A4] .setup_rw_floppy+0x2c0/0xaa8 [floppy]
[C0000000003DF810] [C000000000044714] .run_timer_softirq+0x174/0x20c
[C0000000003DF8B0] [C00000000003FC68] .__do_softirq+0x80/0x128
[C0000000003DF940] [C00000000003FD5C] .do_softirq+0x4c/0x68
[C0000000003DF9C0] [C00000000001C9E8] .timer_interrupt+0x360/0x388
[C0000000003DFA90] [C0000000000034B8] decrementer_common+0xb8/0x100
--- Exception: 901 at .ppc64_runlatch_off+0x0/0x50
    LR = .default_idle+0x48/0x70
[C0000000003DFD80] [C000000000016764] .default_idle+0x68/0x70 (unreliable)
[C0000000003DFE00] [C0000000000166E8] .cpu_idle+0x40/0x54
[C0000000003DFE70] [C0000000000092B0] .rest_init+0x3c/0x54
[C0000000003DFEF0] [C0000000003B16D4] .start_kernel+0x1f0/0x208
[C0000000003DFF90] [C000000000008514] .start_here_common+0x88/0x174
Instruction dump:
4e800421 e8410028 48000008 0fe00000 38210070 e8010010 7c0803a6 4e800020
7c0802a6 f8010010 f821ff91 e80298d0 <e9230178> 7fa90000 409e000c e92298d8

Am I doing something wrong?

Regards,

Markus Rothe

P.S.: Please CC me, as I'm not subscribed to the list.

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Oops: mounting floppy disk on PPC64 (power3)
  2006-03-31 21:38 Oops: mounting floppy disk on PPC64 (power3) Markus Rothe
@ 2006-03-31 22:50   ` Nathan Lynch
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Lynch @ 2006-03-31 22:50 UTC (permalink / raw)
  To: Markus Rothe; +Cc: linuxppc-dev, linux-kernel

Hello.

Markus Rothe wrote:
> 
> this is kernel 2.6.16.1 compiled with gcc 4.1.0 (gentoo patches). I never 
> tried to mount a floppy on this system before, so I don't know if it Oops'ed 
> in previous kernel versions, too.
> 
> power3 ~ # uname -a
> Linux power3 2.6.16.1 #1 Fri Mar 31 21:08:43 UTC 2006 ppc64 POWER3 (630+) CHRP 
> IBM,7044-170 GNU/Linux
> power3 ~ # modprobe floppy
> power3 ~ # mount /mnt/floppy/
> Oops: Kernel access of bad area, sig: 11 [#1]
> NUMA PSERIES
> Modules linked in: floppy
> NIP: C0000000000201E8 LR: D0000000000C43A4 CTR: C0000000000201D8
> REGS: c0000000003df470 TRAP: 0300   Not tainted  (2.6.16.1)
> MSR: A000000000001032 <ME,IR,DR>  CR: 48000082  XER: 00000000
> DAR: 0000000000000178, DSISR: 0000000040000000
> TASK = c0000000003fc9b0[0] 'swapper' THREAD: c0000000003dc000
> GPR00: C00000000042FC08 C0000000003DF6F0 C0000000004D3310 0000000000000000
> GPR04: C00000000161D000 0000000000000400 0000000000000002 0000000000000750
> GPR08: 0000000000000064 D0000000000D4AE0 D0000000000D5F20 C0000000000201D8
> GPR12: D0000000000CB280 C0000000003FCF80 0000000000000000 0000000000000000
> GPR16: 0000000000000000 0000000000000000 4000000001400000 C0000000003595E0
> GPR20: C0000000003D1F28 00000000017D1A80 C0000000003D1A80 0000000000000060
> GPR24: 00000000000003F0 A000000000009032 0000000000000044 00000000000000D9
> GPR28: 0000000000000400 0000000000000002 D0000000000DB880 C00000000161D000
> NIP [C0000000000201E8] .dma_map_single+0x10/0x70
> LR [D0000000000C43A4] .setup_rw_floppy+0x2c0/0xaa8 [floppy]
> Call Trace:
> [C0000000003DF6F0] [D0000000000C5790] .start_motor+0x108/0x158 [floppy] 
> (unreli)
> [C0000000003DF760] [D0000000000C43A4] .setup_rw_floppy+0x2c0/0xaa8 [floppy]
> [C0000000003DF810] [C000000000044714] .run_timer_softirq+0x174/0x20c
> [C0000000003DF8B0] [C00000000003FC68] .__do_softirq+0x80/0x128
> [C0000000003DF940] [C00000000003FD5C] .do_softirq+0x4c/0x68
> [C0000000003DF9C0] [C00000000001C9E8] .timer_interrupt+0x360/0x388
> [C0000000003DFA90] [C0000000000034B8] decrementer_common+0xb8/0x100
> --- Exception: 901 at .ppc64_runlatch_off+0x0/0x50
>     LR = .default_idle+0x48/0x70
> [C0000000003DFD80] [C000000000016764] .default_idle+0x68/0x70 (unreliable)
> [C0000000003DFE00] [C0000000000166E8] .cpu_idle+0x40/0x54
> [C0000000003DFE70] [C0000000000092B0] .rest_init+0x3c/0x54
> [C0000000003DFEF0] [C0000000003B16D4] .start_kernel+0x1f0/0x208
> [C0000000003DFF90] [C000000000008514] .start_here_common+0x88/0x174
> Instruction dump:
> 4e800421 e8410028 48000008 0fe00000 38210070 e8010010 7c0803a6 4e800020
> 7c0802a6 f8010010 f821ff91 e80298d0 <e9230178> 7fa90000 409e000c e92298d8
> 
> Am I doing something wrong?

Nope.

I believe this was fixed in Linus' tree as of a couple days ago:

diff-tree b239cbe957ae730caa8af2f169a4d35b8c1bb299 (from
69ed3324983bb937d78a857Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date:   Tue Mar 28 14:40:58 2006 +1100

    [PATCH] powerpc: make ISA floppies work again

    We used to assume that a DMA mapping request with a NULL dev was
    for
    ISA DMA.  This assumption was broken at some point.  Now we
    explicitly
    pass the detected ISA PCI device in the floppy setup.

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Paul Mackerras <paulus@samba.org>


Maybe you could verify with latest -git, or 2.6.17-rc1 when it's
released?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Oops: mounting floppy disk on PPC64 (power3)
@ 2006-03-31 22:50   ` Nathan Lynch
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Lynch @ 2006-03-31 22:50 UTC (permalink / raw)
  To: Markus Rothe; +Cc: linux-kernel, linuxppc-dev

Hello.

Markus Rothe wrote:
> 
> this is kernel 2.6.16.1 compiled with gcc 4.1.0 (gentoo patches). I never 
> tried to mount a floppy on this system before, so I don't know if it Oops'ed 
> in previous kernel versions, too.
> 
> power3 ~ # uname -a
> Linux power3 2.6.16.1 #1 Fri Mar 31 21:08:43 UTC 2006 ppc64 POWER3 (630+) CHRP 
> IBM,7044-170 GNU/Linux
> power3 ~ # modprobe floppy
> power3 ~ # mount /mnt/floppy/
> Oops: Kernel access of bad area, sig: 11 [#1]
> NUMA PSERIES
> Modules linked in: floppy
> NIP: C0000000000201E8 LR: D0000000000C43A4 CTR: C0000000000201D8
> REGS: c0000000003df470 TRAP: 0300   Not tainted  (2.6.16.1)
> MSR: A000000000001032 <ME,IR,DR>  CR: 48000082  XER: 00000000
> DAR: 0000000000000178, DSISR: 0000000040000000
> TASK = c0000000003fc9b0[0] 'swapper' THREAD: c0000000003dc000
> GPR00: C00000000042FC08 C0000000003DF6F0 C0000000004D3310 0000000000000000
> GPR04: C00000000161D000 0000000000000400 0000000000000002 0000000000000750
> GPR08: 0000000000000064 D0000000000D4AE0 D0000000000D5F20 C0000000000201D8
> GPR12: D0000000000CB280 C0000000003FCF80 0000000000000000 0000000000000000
> GPR16: 0000000000000000 0000000000000000 4000000001400000 C0000000003595E0
> GPR20: C0000000003D1F28 00000000017D1A80 C0000000003D1A80 0000000000000060
> GPR24: 00000000000003F0 A000000000009032 0000000000000044 00000000000000D9
> GPR28: 0000000000000400 0000000000000002 D0000000000DB880 C00000000161D000
> NIP [C0000000000201E8] .dma_map_single+0x10/0x70
> LR [D0000000000C43A4] .setup_rw_floppy+0x2c0/0xaa8 [floppy]
> Call Trace:
> [C0000000003DF6F0] [D0000000000C5790] .start_motor+0x108/0x158 [floppy] 
> (unreli)
> [C0000000003DF760] [D0000000000C43A4] .setup_rw_floppy+0x2c0/0xaa8 [floppy]
> [C0000000003DF810] [C000000000044714] .run_timer_softirq+0x174/0x20c
> [C0000000003DF8B0] [C00000000003FC68] .__do_softirq+0x80/0x128
> [C0000000003DF940] [C00000000003FD5C] .do_softirq+0x4c/0x68
> [C0000000003DF9C0] [C00000000001C9E8] .timer_interrupt+0x360/0x388
> [C0000000003DFA90] [C0000000000034B8] decrementer_common+0xb8/0x100
> --- Exception: 901 at .ppc64_runlatch_off+0x0/0x50
>     LR = .default_idle+0x48/0x70
> [C0000000003DFD80] [C000000000016764] .default_idle+0x68/0x70 (unreliable)
> [C0000000003DFE00] [C0000000000166E8] .cpu_idle+0x40/0x54
> [C0000000003DFE70] [C0000000000092B0] .rest_init+0x3c/0x54
> [C0000000003DFEF0] [C0000000003B16D4] .start_kernel+0x1f0/0x208
> [C0000000003DFF90] [C000000000008514] .start_here_common+0x88/0x174
> Instruction dump:
> 4e800421 e8410028 48000008 0fe00000 38210070 e8010010 7c0803a6 4e800020
> 7c0802a6 f8010010 f821ff91 e80298d0 <e9230178> 7fa90000 409e000c e92298d8
> 
> Am I doing something wrong?

Nope.

I believe this was fixed in Linus' tree as of a couple days ago:

diff-tree b239cbe957ae730caa8af2f169a4d35b8c1bb299 (from
69ed3324983bb937d78a857Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date:   Tue Mar 28 14:40:58 2006 +1100

    [PATCH] powerpc: make ISA floppies work again

    We used to assume that a DMA mapping request with a NULL dev was
    for
    ISA DMA.  This assumption was broken at some point.  Now we
    explicitly
    pass the detected ISA PCI device in the floppy setup.

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Paul Mackerras <paulus@samba.org>


Maybe you could verify with latest -git, or 2.6.17-rc1 when it's
released?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Oops: mounting floppy disk on PPC64 (power3)
  2006-03-31 22:50   ` Nathan Lynch
  (?)
@ 2006-04-01  7:43   ` Markus Rothe
  -1 siblings, 0 replies; 4+ messages in thread
From: Markus Rothe @ 2006-04-01  7:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

On Friday 31 March 2006 22:50, Nathan Lynch wrote:
> Maybe you could verify with latest -git, or 2.6.17-rc1 when it's
> released?

Yes, it is fixed.

Thanks for help!

Markus Rothe

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-01  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-31 21:38 Oops: mounting floppy disk on PPC64 (power3) Markus Rothe
2006-03-31 22:50 ` Nathan Lynch
2006-03-31 22:50   ` Nathan Lynch
2006-04-01  7:43   ` Markus Rothe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.