You are not logged in.

#1 2012-01-23 22:53:12

arlite
Member
From: .de
Registered: 2008-05-02
Posts: 31

can't mount floppy, throws trace in dmesg

Hello!

Mounting floppy disks doesn't work on my setup (ARCH x86_64, linux 3.2.1-1 and linux-lts 3.0.17-1).

I try to mount with

mount /dev/fd0

The floppy drive gives a short noise and lights its LED, but the floppy is not mounted, at least it is not listed by the output of mount.

But these lines get added to /var/log/kernel.log:

LTS-Kernel

Jan 23 20:06:35 localhost kernel: [  267.880026] ------------[ cut here ]------------                                                                                   
Jan 23 20:06:35 localhost kernel: [  267.880040] WARNING: at drivers/block/floppy.c:1041 setup_rw_floppy+0x350/0x360 [floppy]()
Jan 23 20:06:35 localhost kernel: [  267.880043] Hardware name: MS-7512
Jan 23 20:06:35 localhost kernel: [  267.880044] floppy_disable_hlt() scheduled for removal in 2012
Jan 23 20:06:35 localhost kernel: [  267.880046] Modules linked in: ipv6 f71882fg coretemp ext4 jbd2 crc16 ext2 usbhid hid snd_hda_codec_hdmi snd_hda_codec_realtek r8169 snd_hda_intel snd_hda_codec iTCO_wdt mii iTCO_vendor_support i2c_i801 snd_hwdep pcspkr evdev floppy button snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore cpufreq_stats cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table processor mperf fuse loop ext3 jbd mbcache uhci_hcd ehci_hcd usbcore ata_piix sd_mod ahci sr_mod libahci cdrom pata_jmicron pata_acpi libata scsi_mod radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core intel_agp intel_gtt
Jan 23 20:06:35 localhost kernel: [  267.880098] Pid: 0, comm: kworker/0:0 Not tainted 3.0.17-1-lts #1
Jan 23 20:06:35 localhost kernel: [  267.880101] Call Trace:
Jan 23 20:06:35 localhost kernel: [  267.880103]  <IRQ>  [<ffffffff8105c81f>] warn_slowpath_common+0x7f/0xc0
Jan 23 20:06:35 localhost kernel: [  267.880115]  [<ffffffff8105c916>] warn_slowpath_fmt+0x46/0x50
Jan 23 20:06:35 localhost kernel: [  267.880120]  [<ffffffffa0304740>] setup_rw_floppy+0x350/0x360 [floppy]
Jan 23 20:06:35 localhost kernel: [  267.880125]  [<ffffffff8106c9a1>] run_timer_softirq+0x131/0x440
Jan 23 20:06:35 localhost kernel: [  267.880130]  [<ffffffffa03043f0>] ? fd_watchdog+0xb0/0xb0 [floppy]
Jan 23 20:06:35 localhost kernel: [  267.880134]  [<ffffffff81063e30>] __do_softirq+0xb0/0x270
Jan 23 20:06:35 localhost kernel: [  267.880139]  [<ffffffff813f891c>] call_softirq+0x1c/0x30
Jan 23 20:06:35 localhost kernel: [  267.880143]  [<ffffffff8100da75>] do_softirq+0x65/0xa0
Jan 23 20:06:35 localhost kernel: [  267.880146]  [<ffffffff8106433e>] irq_exit+0x9e/0xc0
Jan 23 20:06:35 localhost kernel: [  267.880149]  [<ffffffff813f9173>] do_IRQ+0x63/0xe0
Jan 23 20:06:35 localhost kernel: [  267.880153]  [<ffffffff813f6e53>] common_interrupt+0x13/0x13
Jan 23 20:06:35 localhost kernel: [  267.880155]  <EOI>  [<ffffffff810133c3>] ? native_sched_clock+0x13/0x80
Jan 23 20:06:35 localhost kernel: [  267.880165]  [<ffffffffa0285e96>] ? acpi_idle_enter_simple+0xf5/0x12d [processor]
Jan 23 20:06:35 localhost kernel: [  267.880170]  [<ffffffffa0285e92>] ? acpi_idle_enter_simple+0xf1/0x12d [processor]
Jan 23 20:06:35 localhost kernel: [  267.880175]  [<ffffffff81315fdd>] cpuidle_idle_call+0x9d/0x350
Jan 23 20:06:35 localhost kernel: [  267.880179]  [<ffffffff8100a21a>] cpu_idle+0xba/0x100
Jan 23 20:06:35 localhost kernel: [  267.880184]  [<ffffffff813e6342>] start_secondary+0x202/0x209
Jan 23 20:06:35 localhost kernel: [  267.880187] ---[ end trace 54f4304f5d9719dd ]---


ARCH-Kernel

Jan 23 20:12:21 localhost kernel: [   89.790017] ------------[ cut here ]------------                                                                                      
Jan 23 20:12:21 localhost kernel: [   89.790030] WARNING: at drivers/block/floppy.c:1041 setup_rw_floppy+0x350/0x360 [floppy]()                                            
Jan 23 20:12:21 localhost kernel: [   89.790033] Hardware name: MS-7512
Jan 23 20:12:21 localhost kernel: [   89.790035] floppy_disable_hlt() scheduled for removal in 2012
Jan 23 20:12:21 localhost kernel: [   89.790037] Modules linked in: ipv6 f71882fg coretemp ext4 jbd2 crc16 ext2 usbhid hid snd_hda_codec_hdmi r8169 snd_hda_codec_realtek iTCO_wdt mii iTCO_vendor_support snd_hda_intel snd_hda_codec snd_hwdep i2c_i801 pcspkr evdev floppy button vboxnetadp(O) vboxnetflt(O) vboxdrv(O) snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore cpufreq_stats cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table processor mperf fuse loop ext3 jbd mbcache uhci_hcd ehci_hcd usbcore usb_common ata_piix sd_mod ahci libahci sr_mod cdrom pata_jmicron pata_acpi libata scsi_mod radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core intel_agp intel_gtt
Jan 23 20:12:21 localhost kernel: [   89.790095] Pid: 0, comm: swapper/0 Tainted: G           O 3.2.1-1-ARCH #1
Jan 23 20:12:21 localhost kernel: [   89.790097] Call Trace:
Jan 23 20:12:21 localhost kernel: [   89.790100]  <IRQ>  [<ffffffff81065fdf>] warn_slowpath_common+0x7f/0xc0
Jan 23 20:12:21 localhost kernel: [   89.790111]  [<ffffffff810660d6>] warn_slowpath_fmt+0x46/0x50
Jan 23 20:12:21 localhost kernel: [   89.790117]  [<ffffffffa04cb6f0>] setup_rw_floppy+0x350/0x360 [floppy]
Jan 23 20:12:21 localhost kernel: [   89.790122]  [<ffffffff81075821>] run_timer_softirq+0x131/0x440
Jan 23 20:12:21 localhost kernel: [   89.790128]  [<ffffffffa04cb3a0>] ? fd_watchdog+0xb0/0xb0 [floppy]
Jan 23 20:12:21 localhost kernel: [   89.790132]  [<ffffffff8106d6c0>] __do_softirq+0xb0/0x270
Jan 23 20:12:21 localhost kernel: [   89.790137]  [<ffffffff8142b32c>] call_softirq+0x1c/0x30
Jan 23 20:12:21 localhost kernel: [   89.790141]  [<ffffffff81017765>] do_softirq+0x65/0xa0
Jan 23 20:12:21 localhost kernel: [   89.790144]  [<ffffffff8106dbce>] irq_exit+0x9e/0xc0
Jan 23 20:12:21 localhost kernel: [   89.790148]  [<ffffffff8142bbe3>] do_IRQ+0x63/0xe0
Jan 23 20:12:21 localhost kernel: [   89.790152]  [<ffffffff8142882e>] common_interrupt+0x6e/0x6e
Jan 23 20:12:21 localhost kernel: [   89.790154]  <EOI>  [<ffffffff8101db43>] ? native_sched_clock+0x13/0x80
Jan 23 20:12:21 localhost kernel: [   89.790164]  [<ffffffffa0264f30>] ? acpi_idle_enter_simple+0xfa/0x13e [processor]
Jan 23 20:12:21 localhost kernel: [   89.790170]  [<ffffffffa0264f2c>] ? acpi_idle_enter_simple+0xf6/0x13e [processor]
Jan 23 20:12:21 localhost kernel: [   89.790175]  [<ffffffff81337e41>] cpuidle_idle_call+0xc1/0x350
Jan 23 20:12:21 localhost kernel: [   89.790180]  [<ffffffff8101422e>] cpu_idle+0xce/0x120
Jan 23 20:12:21 localhost kernel: [   89.790184]  [<ffffffff814035f2>] rest_init+0x96/0xa4
Jan 23 20:12:21 localhost kernel: [   89.790188]  [<ffffffff818c3c09>] start_kernel+0x3c4/0x3d1
Jan 23 20:12:21 localhost kernel: [   89.790192]  [<ffffffff818c3347>] x86_64_start_reservations+0x132/0x136
Jan 23 20:12:21 localhost kernel: [   89.790196]  [<ffffffff818c3140>] ? early_idt_handlers+0x140/0x140
Jan 23 20:12:21 localhost kernel: [   89.790199]  [<ffffffff818c344d>] x86_64_start_kernel+0x102/0x111
Jan 23 20:12:21 localhost kernel: [   89.790202] ---[ end trace 1c00bec8f77a84d4 ]---

The entry in my /etc/fstab

/dev/fd0                /media/floppy0          auto    user,noauto     0 0

The floppy disk drive is a NEC FD1231H. During loading floppy module these lines are added to syslog:

Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077

The error occurs with user's shell as well as with a root shell. I do not believe in hardware damage  as the drive works properly unter RedmondOS.

IMHO remarkable: despite of the trace in dmesg KDE SC’s kfloppy is able to do "Full format" with "Verify integrity" and "Volume label" without error message and with the soundscape of a properly working FDD.

Is anyone able to to retrace that?
What is the source of this error? Is this worth a bug report?

I know, floppy is legacy…

Offline

Board footer

Powered by FluxBB