PROBLEM: kernel-2.4.0-test1 allows me to mount a partition more than once

From: Matthew Cordes (mcorde61@maine.edu)
Date: Thu Jun 22 2000 - 22:56:44 EST


Hello all,

I have a bug to submit...

1. Using kernel-2.4.0-test1 mount allows me to mount a partition
more than once.

2. Here is an example:

        $> mount /mnt/cdrom
        $> mount /mnt/cdrom
        $> mount
        ...
        /dev/hde9 on /mnt/cdrom type ext2 (rw)
        /dev/hde9 on /mnt/cdrom type ext2 (rw)

This occurs for both root and non-root users.
Even with a partition mounted more than once there doesn't seem to be any
difficulty accessing the data within, but the problem comes when a non-root
user wishes to unmount the device, they receive the message

        $> umount /mnt/cdrom
        umount: it seems /mnt/cdrom is mounted multiple times

The last devel kernel I used was 2.3.34 and I just moments ago booted my
machine with that kernel and mount acted correctly ( producing an error
about /mnt/cdrom already being mounted )

4. 2.4.0-test1

7.1
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux dt0f0nac 2.4.0-test1 #15 Thu Jun 22 17:24:37 EDT 2000 i686 unknown
Kernel modules 2.3.11
Gnu C 2.95.2
Binutils 2.9.5.0.46
Linux C Library 2.1.3
Dynamic linker ldd: version 1.9.11
Procps 2.0.6
Mount 2.10f
Net-tools 2.05
Kbd 0.99
Sh-utils 2.0i
Modules Loaded nls_cp437 vfat fat ipt_REJECT iptable_filter
ip_tables af_packet serial 3c59x

7.2
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 447.696907
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr
bogomips : 891.29

7.3
nls_cp437 4212 1 (autoclean)
vfat 10508 1 (autoclean)
fat 33248 0 (autoclean) [vfat]
ipt_REJECT 1252 2
iptable_filter 2088 0 (unused)
ip_tables 12116 2 [ipt_REJECT iptable_filter]
af_packet 8152 1 (autoclean)
serial 40900 0 (autoclean)
3c59x 21812 1

7.4
/proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0cf8-0cff : PCI conf1
1000-10ff : Initio Corporation 360P
1400-143f : Ensoniq ES1371 [AudioPCI-97]
1440-147f : 3Com Corporation 3c900 10BaseT [Boomerang]
  1440-147f : eth0
1480-14bf : Promise Technology, Inc. 20262
  1480-1487 : ide2
  1488-148f : ide3
  1490-14bf : PDC20262
14c0-14df : Intel Corporation 82371AB PIIX4 USB
14e0-14ef : Intel Corporation 82371AB PIIX4 IDE
  14e0-14e7 : ide0
  14e8-14ef : ide1
14f0-14f3 : Promise Technology, Inc. 20262
14f4-14f7 : Promise Technology, Inc. 20262
  14f6-14f6 : ide2
14f8-14ff : Promise Technology, Inc. 20262
1800-1807 : Promise Technology, Inc. 20262
  1800-1807 : ide2
7000-701f : Intel Corporation 82371AB PIIX4 ACPI
8000-803f : Intel Corporation 82371AB PIIX4 ACPI
9000-9fff : PCI Bus #01
  9000-90ff : ATI Technologies Inc 3D Rage Pro AGP 1X/2X

/proc/iomem
00000000-0009e7ff : System RAM
0009e800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000c97ff : Extension ROM
000f0000-000fffff : System ROM
00100000-040fd7ff : System RAM
  00100000-001e994f : Kernel code
  001e9950-001fa3af : Kernel data
040fd800-040ff7ff : ACPI Tables
040ff800-040ffbff : ACPI Non-volatile Storage
040ffc00-0fffffff : System RAM
f4000000-f401ffff : Promise Technology, Inc. 20262
f4020000-f4020fff : Initio Corporation 360P
f4100000-f5ffffff : PCI Bus #01
  f4100000-f4100fff : ATI Technologies Inc 3D Rage Pro AGP 1X/2X
  f5000000-f5ffffff : ATI Technologies Inc 3D Rage Pro AGP 1X/2X
f6000000-f6ffffff : 3Dfx Interactive, Inc. Voodoo 2
f7000000-f7ffffff : 3Dfx Interactive, Inc. Voodoo 2 (#2)
f8000000-fbffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
fffe7000-ffffffff : reserved

7.5

00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
(rev 02)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge
(rev 02) (prog
-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop-
ParErr- Stepping-
 SERR+ FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 128
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: f4100000-f5ffffff
        Prefetchable memory behind bridge: fff00000-000fffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+

00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
(prog-if 80 [Mast
er])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 14e0 [size=16]

00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
(prog-if 00 [UHC
I])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin D routed to IRQ 9
        Region 4: I/O ports at 14c0 [size=32]

00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-

00:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev
04)
        Subsystem: Gateway 2000 Tabor2
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbo
rt- >SERR- <PERR-
        Latency: 96 (3000ns min, 32000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 1400 [size=64]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
PME(D0+,D1-,D2+,D3hot+,D3c
old-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.0 Ethernet controller: 3Com Corporation 3c900 10BaseT [Boomerang]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 64 (750ns min, 2000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 1440 [size=64]
        Expansion ROM at <unassigned> [disabled] [size=64K]

00:0e.0 Multimedia video controller: 3Dfx Interactive, Inc. Voodoo 2 (rev
02)
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbo
rt- >SERR- <PERR-
        Region 0: Memory at f6000000 (32-bit, prefetchable) [size=16M]

00:0f.0 Multimedia video controller: 3Dfx Interactive, Inc. Voodoo 2 (rev
02)
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbo
rt- >SERR- <PERR-
        Region 0: Memory at f7000000 (32-bit, prefetchable) [size=16M]

00:10.0 Unknown mass storage controller: Promise Technology, Inc. 20262
(rev 01)
        Subsystem: Promise Technology, Inc.: Unknown device 4d33
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at 1800 [size=8]
        Region 1: I/O ports at 14f4 [size=4]
        Region 2: I/O ports at 14f8 [size=8]
        Region 3: I/O ports at 14f0 [size=4]
        Region 4: I/O ports at 1480 [size=64]
        Region 5: Memory at f4000000 (32-bit, non-prefetchable)
[size=128K]
        Expansion ROM at <unassigned> [disabled] [size=64K]

00:11.0 SCSI storage controller: Initio Corporation 360P (rev 02)
        Subsystem: Unknown device 9292:0202
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping-
 SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 64, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 1000 [size=256]
        Region 1: Memory at f4020000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=32K]

01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP
1X/2X (rev 5c
) (prog-if 00 [VGA])
        Subsystem: ATI Technologies Inc: Unknown device 0084
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+
 SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MA
bort- >SERR- <PERR-
        Latency: 66 (2000ns min), cache line size 08
        Region 0: Memory at f5000000 (32-bit, non-prefetchable)
[size=16M]
        Region 1: I/O ports at 9000 [size=256]
        Region 2: Memory at f4100000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [50] AGP version 1.0
                Status: RQ=255 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

7.7 I'm using Debian 2.2 ( if that matters at all ) on a intel p2-450

-matt

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:25 EST