Bug 105446

Summary: No function: dosbootdisk
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Holger Sickenberg <holgi>
Component: BasesystemAssignee: Steffen Winterfeldt <snwint>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: snwint
Version: Beta 2   
Target Milestone: ---   
Hardware: i386   
OS: All   
Whiteboard:
Found By: System Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 97395    
Attachments: hwinfo.txt
dmesg.txt

Description Holger Sickenberg 2005-08-18 09:52:25 UTC
creating a dosbootdisk with /usr/bin/dosbootdisk will not write any data to floppy
Comment 1 Holger Sickenberg 2005-08-18 09:53:13 UTC
Created attachment 46446 [details]
hwinfo.txt
Comment 2 Holger Sickenberg 2005-08-18 09:53:32 UTC
Created attachment 46447 [details]
dmesg.txt
Comment 3 Steffen Winterfeldt 2005-08-18 09:59:55 UTC
Are there /dev/fd* device files? Do they work? 
Comment 4 Steffen Winterfeldt 2005-08-18 10:10:26 UTC
On my test machine  
  
a) the floppy module wasn't loaded at all -> so no floppy support 
b) after manually loading it, udev created only fd0u*, not fd0h* 
Comment 5 Holger Sickenberg 2005-08-18 10:26:35 UTC
I do have floppy devices:
fornax:~ # ll /dev/fd*
lrwxrwxrwx  1 root root      13 Aug 18 08:47 /dev/fd -> /proc/self/fd
brw-rw----+ 1 col  disk  2,   0 Aug 18 08:47 /dev/fd0
-rw-r--r--  1 root root 1474560 Aug 18 11:40 /dev/fd0h1440
b---------  1 root root  2,  84 Aug 18 08:47 /dev/fd0u1040
b---------  1 root root  2,  88 Aug 18 08:47 /dev/fd0u1120
brw-------  1 col  root  2,  28 Aug 18 08:47 /dev/fd0u1440
b---------  1 root root  2, 124 Aug 18 08:47 /dev/fd0u1600
b---------  1 root root  2,  44 Aug 18 08:47 /dev/fd0u1680
b---------  1 root root  2,  60 Aug 18 08:47 /dev/fd0u1722
b---------  1 root root  2,  76 Aug 18 08:47 /dev/fd0u1743
b---------  1 root root  2,  96 Aug 18 08:47 /dev/fd0u1760
b---------  1 root root  2, 116 Aug 18 08:47 /dev/fd0u1840
b---------  1 root root  2, 100 Aug 18 08:47 /dev/fd0u1920
b---------  1 root root  2,  12 Aug 18 08:47 /dev/fd0u360
brw-------  1 col  root  2,  16 Aug 18 08:47 /dev/fd0u720
b---------  1 root root  2, 120 Aug 18 08:47 /dev/fd0u800
b---------  1 root root  2,  52 Aug 18 08:47 /dev/fd0u820
b---------  1 root root  2,  68 Aug 18 08:47 /dev/fd0u830

mdir a: and mkdosfs /dev/fd0 work fine
Comment 6 Steffen Winterfeldt 2005-08-18 10:36:51 UTC
No you don't. Read comment 4, b).  
Comment 7 Holger Sickenberg 2005-08-18 10:50:21 UTC
We have machines here that don't have /dev/fd* diveses, but on my machine they
are available - see listing above.
Comment 8 Hannes Reinecke 2005-08-18 11:00:21 UTC
From linux/Documentation/devices.txt:

		 40 = /dev/fd?h1440	5.25" 1440K in a 1200K drive(1)

		 28 = /dev/fd?u1440	3.5"  1440K High Density(1)


You sure you want to write to /dev/fd0h1440?
And if so, _please_ let me have a look at this machine.
I've been wanting to get my hands on a 5 1/2 " disk driver for _ages_.
If not you should probably fix the program ...

hare@lammermuir:~>WhoMaintains dosbootdisk
dosbootdisk:    dosbootdisk-1.1-38
package 'dosbootdisk'   maintained by 'snwint@suse.de'

Ah. 
Comment 9 Steffen Winterfeldt 2005-08-18 11:41:41 UTC
Hehe, I'm the maintainer, not the author. 
Anyway, your're right. Changed the devie name. 
Comment 10 Holger Sickenberg 2005-09-12 14:34:59 UTC
Tested with RC1