Skip to contentSkip to conversation

ide-floppy.c vs devfs

DISCUSSION Jack Howarth 3 participants 4 messages Nov 11, 2001 – Nov 25, 2001

lore
Share & tools
lore
#0 lore raw

Paul,
Is ide-floppy supposed to be devfs friendly? I ask
because on Linux 2.4.15-pre2 (and previous kernels) on the Powermac (Debian ppc sid) I find that the ide-floppy driver only creates device for my ide zip if a zip disk is inserted at boot time. Otherwise the /dev/ide/host1/bus0/target1/lun0 directory doesn't contain a device node for the zip whereas the ide-cdrom driver creates a /dev/ide/host1/bus0/target0/lun0/cd fine without a cdrom disk inserted at boot time. I find that the only way I can get the zip device created at boot time without media inserted is to use ide-scsi emulation and turn off ide-floppy when I configure the kernel. Is this issue a known problem and does it exist for other arches than powerpc (Powermac)? Thanks in advance for any advice.
Jack
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D. 231 Albert Sabin Way
NMR Facility Director Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics phone: (513) 558-4420
Univ. of Cincinnati College of Medicine fax: (513) 558-8474

#1 lore raw
Quoted 8 lines · Jack Howarth

Paul,
Is ide-floppy supposed to be devfs friendly? I ask
because on Linux 2.4.15-pre2 (and previous kernels) on the Powermac (Debian ppc sid) I find that the ide-floppy driver only creates device for my ide zip if a zip disk is inserted at boot time. Otherwise the /dev/ide/host1/bus0/target1/lun0 directory doesn't contain a device node for the zip whereas the ide-cdrom

Quoted 8 lines

driver creates a /dev/ide/host1/bus0/target0/lun0/cd fine without a cdrom disk inserted at boot time. I find that the only way I can get the zip device created at boot time without media inserted is to use ide-scsi emulation and turn off ide-floppy when I configure the kernel. Is this issue a known problem and does it exist for other arches than powerpc (Powermac)? Thanks in advance for any advice.

Is this an LS-120 drive? If so, I'm soon getting one, so I can finally play with this.

				Regards,

					Richard....
Permanent: [email protected]
Current:   [email protected]
#2 lore raw
In reply to Jack Howarth

Hi Jack,

Try the devfs test version that I just uploaded to

http://paulbristow.net/linux/idefloppy.html

This is early days, and I'm not sure what the best approach is...

Feedback is greatly appreaciated.

Quoted 26 lines · Jack Howarth

Paul,
Is ide-floppy supposed to be devfs friendly? I ask
because on Linux 2.4.15-pre2 (and previous kernels)
on the Powermac (Debian ppc sid) I find that the
ide-floppy driver only creates device for my ide zip if a zip disk is inserted at boot time. Otherwise the /dev/ide/host1/bus0/target1/lun0 directory doesn't
contain a device node for the zip whereas the ide-cdrom
driver creates a /dev/ide/host1/bus0/target0/lun0/cd
fine without a cdrom disk inserted at boot time. I find
that the only way I can get the zip device created at
boot time without media inserted is to use ide-scsi emulation and turn off ide-floppy when I configure the kernel. Is this issue a known problem and does it
exist for other arches than powerpc (Powermac)? Thanks
in advance for any advice.
Jack
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D. 231 Albert Sabin Way
NMR Facility Director Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics phone: (513) 558-4420
Univ. of Cincinnati College of Medicine fax: (513) 558-8474
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 5 lines
Paul

Email: [email protected]
Web: http://paulbristow.net
ICQ: 11965223
#3 lore raw
Quoted 9 lines · Paul Bristow

Hi Jack,

Try the devfs test version that I just uploaded to

http://paulbristow.net/linux/idefloppy.html

This is early days, and I'm not sure what the best approach is...

Feedback is greatly appreaciated.

I haven't had time to look at this closely, but I question why you're trying to prevent grok_partitions() from doing it's thing. There's supposed to be a flag set for removable media which ensures media revalidation on scanning the parent directory or looking up an entry. I'd rather see that mechanism fixed.

				Regards,

					Richard....
Permanent: [email protected]
Current:   [email protected]