lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 31 Jan 2009 22:29:15 +0100
From:	Philippe De Muyter <phdm@...qel.be>
To:	linux-kernel@...r.kernel.org, abelay@....edu, bjorn.helgaas@...com
Subject: [BUG] pnpbios breaks floppy support

Hello linux experts,

Today I tried to upgrade a PC's kernel from 2.6.11 to 2.6.22, and
I saw some strange messages when booting :

	Floppy drive(s): fd0 is 1.44M
	floppy0: Floppy io-port 0x03f2 in use

Previously, I had :

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

Needless to say, my floppy hardware works perfectly, and my floppy
was usable with the old kernel, while the floppy is now inaccessible
with the new kernel.  Even /dev/fd0 does not exist anymore.

Searching for a cause to that problem, I saw the following messages
before the floppy probe in the new kernel :

	PnPBIOS: Scanning system for PnP BIOS support...
	PnPBIOS: Found PnP BIOS installation structure at 0xc00fd5e0
	PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x5ba3, dseg 0xf0000
	PnPBIOS: 17 nodes reported by PnP BIOS; 17 recorded by driver
	[...]
	pnp: 00:07: ioport range 0x3f0-0x3f1 has been reserved
	pnp: 00:07: ioport range 0x3f3-0x3f3 has been reserved
	[...]

Searching the web and the outdated pnp kernel documentation, I
finally found an option to add to my kernel parameters line :

	pnpbios=off

Now my floppy works again, but I am not really satisfied.

What do I loose with the 'pnpbios=off' option ?

Isn't there a smoother option to allow pnpbios but avoiding to reserve
floppy's io-ports ?

Should I modify rather /drivers/block/floppy.c or /drivers/pnp/*.c
to make pnpbios and floppy driver coexist peacefully ? And is there
an example of such modifications for other standard peripherals ?

Thanks for reading this far

Philippe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ