Floppy problems
Quoted 1 line · On Sat, 20 Nov 1999 David A. Gatwood writes:
It is very weird. Again, other G3 users, does your floppy drive work?
No, mine doesn't work either. I've reported and asked several times here, but never got replies (other than: use gdb.. duh)
See, eg,
* To: [email protected]
* Subject: /dev/fd0 close () hangs -- how to debug?
* From: Jan Nieuwenhuizen <[email protected]>
* Date: Tue, 16 Nov 1999 12:14:57 +0100
_________________________________________________________________
Hi,
I've never gotten my floppy drive to work under Linuxppc, it works fine under MacOS. When accessing the floppy, it sounds ok, but the close () system call doesn't return. After this, the fd0 device can't be accessed again because it's busy. The process can't be killed.
[...]
Greetings,
Jan.
Signature · 4 lines
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien/ | http://www.lilypond.org/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Jan Nieuwenhuizen
Quoted 1 line · On Sat, 20 Nov 1999 David A. Gatwood writes:
It is very weird. Again, other G3 users, does your floppy drive work?
No, mine doesn't work either. I've reported and asked several times here, but never got replies (other than: use gdb.. duh)
Something to check: look inside and see what the drive used is. As far as I know, it should be either the standard Panasonic or the mostly standard Mitsubishi, but if it's a different drive, there could be some issues. And again, you should try MkLinux and see if it can handle the drive so that if so, the LinuxPPC coders can use that as a working reference to see what's wrong in the drivers. (Of course, if MkLinux doesn't work, there's probably a hardware bug, since we use Copland's floppy driver.)
David
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 8 lines · David A. Gatwood
Quoted 4 lines
Quoted 1 line
It is very weird. Again, other G3 users, does your floppy drive work?
No, mine doesn't work either. I've reported and asked several times here, but never got replies (other than: use gdb.. duh)
Something to check: look inside and see what the drive used is. As far as I know, it should be either the standard Panasonic or the mostly standard Mitsubishi, but if it's a different drive, there could be some issues.
Yes, it's a Mitsubishi.
Quoted 4 lines
And again, you should try MkLinux and see if it can handle the drive so that if so, the LinuxPPC coders can use that as a working reference to see what's wrong in the drivers. (Of course, if MkLinux doesn't work, there's probably a hardware bug, since we use Copland's floppy driver.)
Ok, I checked: it works fine under Mklinux. (must address as /dev/fd0H1440, because fd0 is 'no such device'. Also, X didn't work anymore, but these maybe mk-newbe problems.)
On another unrelated note: while I was at it I tried to mount a home-brew CD-ROM under Mklinux. It failed gracefully, printing these errors:
<lev 2> block_read_reply: rdev 16:00 rsector 0x40 size 0x400 err=0x9c4=2500 "unknown error code"
isofs_read_super: bread failed, dev 16:00 iso_blknum 16 block 32
block_ioctl(dev=16:00, cmd=0x20001260) not implemented Trying to mount this particular CD-ROM under linuxppc-Q3's 2.2.6 or 2.3.23 freezes the kernel (not pingable, nothing in logs).
Jan.
Signature · 4 lines
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien/ | http://www.lilypond.org/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Jan Nieuwenhuizen
Quoted 3 lines
Something to check: look inside and see what the drive used is. As far as I know, it should be either the standard Panasonic or the mostly standard Mitsubishi, but if it's a different drive, there could be some issues.
Yes, it's a Mitsubishi.
Hmm. That's the same drive used in the majority of PCI PowerMacs. Odd.
Quoted 7 lines
Quoted 4 lines
And again, you should try MkLinux and see if it can handle the drive so that if so, the LinuxPPC coders can use that as a working reference to see what's wrong in the drivers. (Of course, if MkLinux doesn't work, there's probably a hardware bug, since we use Copland's floppy driver.)
Ok, I checked: it works fine under Mklinux. (must address as
/dev/fd0H1440, because fd0 is 'no such device'.
Yeah. I still haven't gotten around to changing that. Mach takes control of device size handling, so all of the /dev/fd0H*'s work the same except fd0, which for some reason, they didn't attach to the driver....
Quoted 2 lines
Also, X didn't work anymore, but these
maybe mk-newbe problems.)
Heheh. Let me guess. Just hangs? Should be fixed in the latest vmlinux server sources, but nobody's built since then.... (mental note, build kernel/server pair tonight.)
Quoted 10 lines
On another unrelated note: while I was at it I tried to mount a home-brew CD-ROM under Mklinux. It failed gracefully, printing these errors:
<lev 2> block_read_reply: rdev 16:00 rsector 0x40 size 0x400 err=0x9c4=2500 "unknown error code" isofs_read_super: bread failed, dev 16:00 iso_blknum 16 block 32 block_ioctl(dev=16:00, cmd=0x20001260) not implementedTrying to mount this particular CD-ROM under linuxppc-Q3's 2.2.6 or 2.3.23 freezes the kernel (not pingable, nothing in logs).
Eek. :-)
David
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 1 line · David A. Gatwood
Hmm. That's the same drive used in the majority of PCI PowerMacs. Odd.
Thanks for answering so quickly. Is there anything one/I can do except for just looking at the code?
(did you see my 'bug report'? all seems to go well, until close (),
which just blocks. I'm at loss, there).
Quoted 3 lines
Yeah. I still haven't gotten around to changing that. Mach takes control of device size handling, so all of the /dev/fd0H*'s work the same except fd0, which for some reason, they didn't attach to the driver....
Ok.
Quoted 1 line
Heheh. Let me guess. Just hangs? Should be fixed in the latest vmlinux
Yep.
Quoted 2 lines
server sources, but nobody's built since then.... (mental note, build kernel/server pair tonight.)
Could you drop me an url?
Quoted 4 lines
Quoted 2 lines
Trying to mount this particular CD-ROM under linuxppc-Q3's 2.2.6 or 2.3.23 freezes the kernel (not pingable, nothing in logs).
Eek. :-)
You take the words right out of my mouth :-)
Jan.
Signature · 4 lines
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien/ | http://www.lilypond.org/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 8 lines · Jan Nieuwenhuizen
Quoted 1 line · David A. Gatwood
Hmm. That's the same drive used in the majority of PCI PowerMacs. Odd.
Thanks for answering so quickly. Is there anything one/I can do except for just looking at the code?
(did you see my 'bug report'? all seems to go well, until close (),
which just blocks. I'm at loss, there).
That's the strangest thing I've ever seen, that's for sure. I have no idea where to look to track that down. You might run gdb on the program and trace your way into the call and see if you can come up with anything useful that way. Dunno. If close() is really failing, I'd guess it's probably a buffer cache problem.
Quoted 8 lines
Quoted 1 line
Heheh. Let me guess. Just hangs? Should be fixed in the latest vmlinux
Yep.
Quoted 2 lines
server sources, but nobody's built since then.... (mental note, build kernel/server pair tonight.)
Could you drop me an url?
I'll start building GENERIC #09 alpha kernels shortly, ramping up for MkLinux R1. Probably be on ftp://globegate.utm.edu/pub/MkLinux/alpha. The GENERIC #08 alphas are all there right now, and they'll be moving into a separate directory, or maybe just ripped out and archived. I haven't decided yet.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Trying to mount this particular CD-ROM under linuxppc-Q3's 2.2.6 or 2.3.23 freezes the kernel (not pingable, nothing in logs).
Eek. :-)
You take the words right out of my mouth :-)
Later,
David
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 8 lines
I've never gotten my floppy drive to work under Linuxppc, it works fine under MacOS. When accessing the floppy, it sounds ok, but the close () system call doesn't return. After this, the fd0 device can't be accessed again because it's busy. The process can't be killed.
[...]
Same problem here, mainly on write accesses.
Pmac 7300 with all kernels.
Bye.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
I finally got my floppy working on a 8500 running LinuxPPC '99 Q3, but if I try a mkfs /dev/fd0 on my 9600 with the same Linux, it gets to the part where it's "writing superblock" and just hangs. I don't understand why it would work on the 8500, but not on the 9600. Same install, same kernel, maybe it's the different motherboard?
Any input would be greatly appreciated...
------------------------------------
Jeff Hubbach | Computer Science Student | Montana State University | http://www.cs.montana.edu/~hubbach |
------------------------------------
Quoted 10 lines · Giuliano Pochini
Quoted 5 lines
I've never gotten my floppy drive to work under Linuxppc, it works fine under MacOS. When accessing the floppy, it sounds ok, but the close () system call doesn't return. After this, the fd0 device can't be accessed again because it's busy. The process can't be killed.
[...]Same problem here, mainly on write accesses.
Pmac 7300 with all kernels.
Bye.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/