linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: root mounted read only on kernel 2.6.0-test4-bk2
@ 2003-08-27 17:34 Andreas Feldmann
  0 siblings, 0 replies; only message in thread
From: Andreas Feldmann @ 2003-08-27 17:34 UTC (permalink / raw)
  To: mingo, linux-raid, neilb

[1.] One line summary of the problem:
	sometimes when I boot up my computer the root device /dev/md1 is 
mounted read-only.

[2.] Full description of the problem/report:
	sometimes when I boot up my computer the root device /dev/md1 is 
mounted read-only. it has until now never occured wih the other raid 
device /dev/md0 (on which I have a lvm installed). since the computer 
can't write to /var/log when the bug occures it prints out the error 
message in the virtual terminals:
"EXT3-fs error (device md1) in start_transaction: Readonly filesystem"
and sometimes he writes:
"EXT3-fs error (device md1) in ext3_delete_inode: Readonly filesystem"
the mount command says that /dev/md1 is mountes read write (option rw). 
what I do about it is I reboot the system. then normaly the root device 
is mounted rw as it should.

[3.] Keywords (i.e., modules, networking, kernel): ext3, boot, unstable 
kernel, software raid.

[4.] Kernel version (from /proc/version):
aef@chaos:~ > cat /proc/version
Linux version 2.6.0-test4-bk2 (root@chaos.diy) (gcc version 3.2.3 
20030415 (Debian prerelease)) #2 Sun Aug 24 22:52:50 CEST 2003

[5.] Output of Oops.. message (if applicable) with symbolic information
      resolved (see Documentation/oops-tracing.txt)

[6.] A small shell script or example program which triggers the
      problem (if possible)

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
root@chaos:/usr/src/linux/scripts # sh ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux chaos.diy 2.6.0-test4-bk2 #2 Sun Aug 24 22:52:50 CEST 2003 i686 
GNU/Linux

Gnu C                  3.2.3
Gnu make               3.79.1
util-linux             2.11n
mount                  2.11n
e2fsprogs              1.34-WIP
PPP                    2.4.1
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 2.0.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.0
Modules Loaded         nls_iso8859_1 isofs zlib_inflate lp parport_pc 
parport fan thermal processor button snd_ens1371 snd_rawmidi 
snd_ac97_codec snd_seq_device snd_pcm_oss snd_pcm snd_page_alloc 
snd_timer snd_mixer_oss snd via_rhine mii crc32 ppp_generic slhc autofs4 
cpuid hid ehci_hcd uhci_hcd usbcore nvidia agpgart ipv6 sg sr_mod cdrom 
ide_scsi scsi_mod

[7.2.] Processor information (from /proc/cpuinfo):
root@chaos:/usr/src/linux/scripts # cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2200+
stepping        : 1
cpu MHz         : 1800.276
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3530.75

[7.3.] Module information (from /proc/modules):
root@chaos:/proc # cat modules
nls_iso8859_1 3968 0 - Live 0xe0a47000
isofs 35960 0 - Live 0xe0a5d000
zlib_inflate 22400 1 isofs, Live 0xe0a4c000
lp 9760 0 - Live 0xe0904000
parport_pc 23364 1 - Live 0xe0989000
parport 28864 2 lp,parport_pc, Live 0xe0993000
fan 3976 0 - Live 0xe0827000
thermal 13832 0 - Live 0xe0947000
processor 14232 1 thermal, Live 0xe0942000
button 6100 0 - Live 0xe0923000
snd_ens1371 19844 0 - Live 0xe093c000
snd_rawmidi 25280 1 snd_ens1371, Live 0xe0934000
snd_ac97_codec 53892 1 snd_ens1371, Live 0xe097a000
snd_seq_device 8132 1 snd_rawmidi, Live 0xe0908000
snd_pcm_oss 52740 0 - Live 0xe096c000
snd_pcm 99968 2 snd_ens1371,snd_pcm_oss, Live 0xe0952000
snd_page_alloc 11780 1 snd_pcm, Live 0xe0911000
snd_timer 25728 1 snd_pcm, Live 0xe092c000
snd_mixer_oss 19392 1 snd_pcm_oss, Live 0xe090b000
snd 51140 8 
snd_ens1371,snd_rawmidi,snd_ac97_codec,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss, 
Live 0xe0915000
via_rhine 20488 0 - Live 0xe08f5000
mii 5184 1 via_rhine, Live 0xe08f2000
crc32 4352 1 via_rhine, Live 0xe085f000
ppp_generic 27784 0 - Live 0xe08fc000
slhc 7488 1 ppp_generic, Live 0xe0895000
autofs4 16384 0 - Live 0xe0862000
cpuid 2496 0 - Live 0xe083b000
hid 33280 0 - Live 0xe088b000
ehci_hcd 24704 0 - Live 0xe0883000
uhci_hcd 30664 0 - Live 0xe087a000
usbcore 109460 5 hid,ehci_hcd,uhci_hcd, Live 0xe089a000
nvidia 1702188 10 - Live 0xe0ac4000
agpgart 31912 0 - Live 0xe0871000
ipv6 241212 55 - Live 0xe08b6000
sg 33356 0 - Live 0xe0867000
sr_mod 15584 0 - Live 0xe0830000
cdrom 35680 1 sr_mod, Live 0xe0852000
ide_scsi 16000 0 - Live 0xe082b000
scsi_mod 76564 3 sg,sr_mod,ide_scsi, Live 0xe083e000

[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
root@chaos:/proc # cat ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
dc00-dcff : 0000:00:12.0
   dc00-dcff : via-rhine
e000-e01f : 0000:00:10.0
   e000-e01f : uhci-hcd
e400-e41f : 0000:00:10.1
   e400-e41f : uhci-hcd
e800-e81f : 0000:00:10.2
   e800-e81f : uhci-hcd
ec00-ec3f : 0000:00:0b.0
   ec00-ec3f : Ensoniq AudioPCI
fc00-fc0f : 0000:00:11.1
   fc00-fc07 : ide0
   fc08-fc0f : ide1

root@chaos:/proc # cat iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000d2000-000d7fff : reserved
000f0000-000fffff : System ROM
00100000-1ffeffff : System RAM
   00100000-002c792f : Kernel code
   002c7930-0035953f : Kernel data
1fff0000-1fff7fff : ACPI Tables
1fff8000-1fffffff : ACPI Non-volatile Storage
cdc00000-ddcfffff : PCI Bus #01
   d0000000-d7ffffff : 0000:01:00.0
   ddc80000-ddcfffff : 0000:01:00.0
dde00000-dfefffff : PCI Bus #01
   de000000-deffffff : 0000:01:00.0
dffffe00-dffffeff : 0000:00:12.0
   dffffe00-dffffeff : via-rhine
dfffff00-dfffffff : 0000:00:10.3
   dfffff00-dfffffff : ehci_hcd
e0000000-e1ffffff : 0000:00:00.0
fec00000-fec00fff : reserved
fee00000-fee00fff : reserved
fff80000-ffffffff : reserved

[7.5.] PCI information ('lspci -vvv' as root)
root@chaos:/proc # lspci -vvv
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3116
         Subsystem: Unknown device 1849:3156
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
         Latency: 8
         Region 0: Memory at e0000000 (32-bit, prefetchable) [size=32M]
         Capabilities: [a0] AGP version 2.0
                 Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
         Capabilities: [c0] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] 
(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- <MAbort+ >SERR- <PERR-
         Latency: 0
         Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
         I/O behind bridge: 0000f000-00000fff
         Memory behind bridge: dde00000-dfefffff
         Prefetchable memory behind bridge: cdc00000-ddcfffff
         BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
         Capabilities: [80] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
         Subsystem: Ensoniq: Unknown device 8001
         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- 
<TAbort+ <MAbort+ >SERR- <PERR-
         Latency: 32 (3000ns min, 32000ns max)
         Interrupt: pin A routed to IRQ 19
         Region 0: I/O ports at ec00 [size=64]
         Capabilities: [dc] Power Management version 1
                 Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80) 
(prog-if 00 [UHCI])
         Subsystem: VIA Technologies, Inc. UHCI USB
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32, cache line size 08
         Interrupt: pin A routed to IRQ 21
         Region 4: I/O ports at e000 [size=32]
         Capabilities: [80] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.1 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80) 
(prog-if 00 [UHCI])
         Subsystem: VIA Technologies, Inc. UHCI USB
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32, cache line size 08
         Interrupt: pin B routed to IRQ 21
         Region 4: I/O ports at e400 [size=32]
         Capabilities: [80] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80) 
(prog-if 00 [UHCI])
         Subsystem: VIA Technologies, Inc. UHCI USB
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32, cache line size 08
         Interrupt: pin C routed to IRQ 21
         Region 4: I/O ports at e800 [size=32]
         Capabilities: [80] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.3 USB Controller: VIA Technologies, Inc.: Unknown device 3104 (rev 
82) (prog-if 20)
         Subsystem: VIA Technologies, Inc.: Unknown device 3104
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32, cache line size 10
         Interrupt: pin D routed to IRQ 21
         Region 0: Memory at dfffff00 (32-bit, non-prefetchable) [size=256]
         Capabilities: [80] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3177
         Subsystem: Unknown device 1849:3177
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping+ SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 0
         Capabilities: [c0] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) 
(prog-if 8a [Master SecP PriP])
         Subsystem: Unknown device 1849:0571
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32
         Interrupt: pin A routed to IRQ 255
         Region 4: I/O ports at fc00 [size=16]
         Capabilities: [c0] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:12.0 Ethernet controller: VIA Technologies, Inc. Ethernet Controller 
(rev 74)
         Subsystem: VIA Technologies, Inc. Ethernet Controller
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 32 (750ns min, 2000ns max), cache line size 08
         Interrupt: pin A routed to IRQ 23
         Region 0: I/O ports at dc00 [size=256]
         Region 1: Memory at dffffe00 (32-bit, non-prefetchable) [size=256]
         Capabilities: [40] Power Management version 2
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 
0253 (rev a3) (prog-if 00 [VGA])
         Subsystem: CardExpert Technology: Unknown device 0002
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium 
 >TAbort- <TAbort- <MAbort- >SERR- <PERR-
         Latency: 248 (1250ns min, 250ns max)
         Interrupt: pin A routed to IRQ 16
         Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=16M]
         Region 1: Memory at d0000000 (32-bit, prefetchable) [size=128M]
         Region 2: Memory at ddc80000 (32-bit, prefetchable) [size=512K]
         Expansion ROM at dfee0000 [disabled] [size=128K]
         Capabilities: [60] Power Management version 2
                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [44] AGP version 2.0
                 Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
                 Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

[7.6.] SCSI information (from /proc/scsi/scsi)
root@chaos:/proc # cat scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: SONY     Model: CD-ROM CDU5211   Rev: YYS7
   Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
   Vendor: YAMAHA   Model: CRW8824E         Rev: 1.00
   Type:   CD-ROM                           ANSI SCSI revision: 02

[7.7.] Other information that might be relevant to the problem
        (please look in /proc and include all information that you
        think to be relevant):
root@chaos:/proc # cat dma
  4: cascade

root@chaos:/proc # cat mdstat
Personalities : [raid0] [multipath]
md1 : active raid0 hdc3[1] hda5[0]
       979648 blocks 4k chunks

md0 : active raid0 hdc2[1] hda6[0]
       148874240 blocks 4k chunks

unused devices: <none>

[X.] Other notes, patches, fixes, workarounds:
-- 

"One world, one web, one program"  -- Microsoft promotional ad
"Ein Volk, ein Reich, ein Fuehrer"  -- Adolf Hitler

computers and internet gave you freedom. TCPA would TAKE your FREEDOM!
http://www.againsttcpa.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-27 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-27 17:34 PROBLEM: root mounted read only on kernel 2.6.0-test4-bk2 Andreas Feldmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).