Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fweb -ftracer -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -fweb -ftracer -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac alsa audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd dvdr eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imlib ipv6 java joystick jpeg junit lcms libwww lua lzw lzw-tiff mad matroska mng mozilla mp3 mpeg musepack ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl png ppds python quicktime readline sdl spell sqlite ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xml2 xpm xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS When booted in gentoo-sources-2.6.15-r4 and r5, all folders mounted from my secondary ReiserFS 3.6 partition at /dev/hdb1 are read-only. When I boot into gentoo-sources-2.6.15-r1 the problem goes away. My main ReiserFS 3.6 partition at /dev/hda4 has no such issues in any of the kernels. My /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details # /etc/fstab: static file system information. # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $ # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail and tail freely. # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda1 /media/ntfs ntfs noauto,ro,umask=0222,uid=root,gid=users,user $/dev/hda2 /boot ext2 noauto,noatime 1 2 /dev/hda4 / reiserfs noatime 0 1 /dev/hda3 none swap sw 0 0 /dev/hdb1 /home/ryan/media reiserfs noatime 0 2 /dev/fd0 /media/floppy auto noauto,user 0 0 # NOTE: The next line is critical for boot! none /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) # Adding the following line to /etc/fstab should take care of this: none /dev/shm tmpfs defaults 0 0 /dev/hdc /media/cdrecorder auto user,exec,noauto,managed 0 0
(In reply to comment #0) > # <fs> <mountpoint> <type> <opts> <dump/pass> > /dev/hda4 / reiserfs noatime 0 1 > /dev/hdb1 /home/ryan/media reiserfs noatime 0 2 Just noting that both are wrong, dump/pass should be 0 0 (http://www.namesys.com/faq.html#fstab).
(In reply to comment #1) > Just noting that both are wrong, dump/pass should be 0 0 > (http://www.namesys.com/faq.html#fstab). s/should/can/ - the whole point of that FAQ is to show that you don't _have_ to run an fsck for a journaled fs. Of course it is up to the admin if he want to force an fsck to be run (I use do that here for all my reiserfs partitions). Not that should have anything to do with this bug report...
See if you can remount it as read-write: mount -o remount,rw /home/ryan/media Also, please attach full dmesg output from that session.
The posted command didn't solve the problem. dmesg output for session: Bootdata ok (command line is root=/dev/hda4 vga=792) Linux version 2.6.15-gentoo-r5 (root@epoch) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 PREEMPT Mon Feb 13 09:49:08 EST 2006 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003ff30000 (usable) BIOS-e820: 000000003ff30000 - 000000003ff40000 (ACPI data) BIOS-e820: 000000003ff40000 - 000000003fff0000 (ACPI NVS) BIOS-e820: 000000003fff0000 - 0000000040000000 (reserved) BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved) ACPI: RSDP (v002 ACPIAM ) @ 0x00000000000fa8b0 ACPI: XSDT (v001 A M I OEMXSDT 0x05000418 MSFT 0x00000097) @ 0x000000003ff30100 ACPI: FADT (v003 A M I OEMFACP 0x05000418 MSFT 0x00000097) @ 0x000000003ff30290 ACPI: MADT (v001 A M I OEMAPIC 0x05000418 MSFT 0x00000097) @ 0x000000003ff30390 ACPI: OEMB (v001 A M I OEMBIOS 0x05000418 MSFT 0x00000097) @ 0x000000003ff40040 ACPI: DSDT (v001 A0058 A0058002 0x00000002 MSFT 0x0100000d) @ 0x0000000000000000 On node 0 totalpages: 257343 DMA zone: 3028 pages, LIFO batch:0 DMA32 zone: 254315 pages, LIFO batch:31 Normal zone: 0 pages, LIFO batch:0 HighMem zone: 0 pages, LIFO batch:0 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 15:12 APIC version 16 ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Setting APIC routing to flat Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 50000000 (gap: 40000000:bff80000) Built 1 zonelists Kernel command line: root=/dev/hda4 vga=792 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) time.c: Using 1.193182 MHz PIT timer. time.c: Detected 2202.916 MHz processor. time.c: Using PIT/TSC based timekeeping. Console: colour dummy device 80x25 Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) Memory: 1027384k/1047744k available (1948k kernel code, 19676k reserved, 1244k data, 160k init) Calibrating delay using timer specific routine.. 4412.82 BogoMIPS (lpj=2206412) Mount-cache hash table entries: 256 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) mtrr: v2.0 (20020519) CPU: AMD Athlon(tm) 64 Processor 3200+ stepping 00 Using local APIC timer interrupts. Detected 12.516 MHz APIC timer. testing NMI watchdog ... OK. NET: Registered protocol family 16 ACPI: bus type pci registered PCI: Using configuration type 1 ACPI: Subsystem revision 20050902 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) Boot video device is 0000:01:00.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 *11 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10 11 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 *7 10 11 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnP ACPI: found 12 devices SCSI subsystem initialized PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: f9100000-fd2fffff PREFETCH window: cff00000-efefffff PCI: Setting latency timer of device 0000:00:01.0 to 64 IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered Real Time Clock Driver v1.12 vesafb: framebuffer at 0xd0000000, mapped to 0xffffc20000080000, using 6144k, total 131072k vesafb: mode is 1024x768x32, linelength=4096, pages=1 vesafb: scrolling: redraw vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0 vesafb: Mode is not VGA compatible Console: switching to colour frame buffer device 128x48 fb0: VESA VGA frame buffer device PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A mice: PS/2 mouse device common for all mice loop: loaded (max 8 devices) Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:0f.1 GSI 16 sharing vector 0xA9 and IRQ 16 ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 16 PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 0 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1 ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide0... input: AT Translated Set 2 keyboard as /class/input/input0 hda: WDC WD400BB-00CAA0, ATA DISK drive hdb: WDC WD1200JB-00EVA0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdc: LITE-ON DVDRW SOHW-1653S, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100) hda: cache flushes not supported hda: hda1 hda2 hda3 hda4 hdb: max request size: 1024KiB hdb: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hdb: cache flushes supported hdb: hdb1 device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com oprofile: using NMI interrupt. NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 6, 262144 bytes) Losing some ticks... checking if CPU frequency changed. TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 ReiserFS: hda4: found reiserfs format "3.6" with standard journal ReiserFS: hda4: using ordered data mode ReiserFS: hda4: journal params: device hda4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: hda4: checking transaction log (hda4) ReiserFS: hda4: Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly. Freeing unused kernel memory: 160k freed Adding 29728k swap on /dev/hda3. Priority:-1 extents:1 across:29728k hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 GSI 17 sharing vector 0xB1 and IRQ 17 ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 17 skge 1.3 addr 0xfdb00000 irq 17 chip Yukon-Lite rev 7 skge eth0: addr 00:11:2f:8d:8e:5c powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.4) powernow-k8: 0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV) powernow-k8: 1 : fid 0xa (1800 MHz), vid 0xa (1300 mV) powernow-k8: 2 : fid 0xc (2000 MHz), vid 0x6 (1400 mV) powernow-k8: 3 : fid 0xe (2200 MHz), vid 0x2 (1500 mV) cpu_init done, current fid 0xe, vid 0x0 powernow-k8: ph2 null fid transition 0xe usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v2.3 GSI 18 sharing vector 0xB9 and IRQ 18 ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 18 PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 2 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:10.0: irq 18, io base 0x0000b400 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 18 PCI: Via IRQ fixup for 0000:00:10.1, from 11 to 2 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.1: irq 18, io base 0x0000b800 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected input: ImPS/2 Logitech Wheel Mouse as /class/input/input1 ACPI: PCI Interrupt 0000:00:10.2[B] -> GSI 21 (level, low) -> IRQ 18 PCI: Via IRQ fixup for 0000:00:10.2, from 10 to 2 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.2: irq 18, io base 0x0000c000 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.3[B] -> GSI 21 (level, low) -> IRQ 18 PCI: Via IRQ fixup for 0000:00:10.3, from 10 to 2 uhci_hcd 0000:00:10.3: UHCI Host Controller uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.3: irq 18, io base 0x0000c400 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected usb 1-2: new low speed USB device using uhci_hcd and address 2 ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 18 PCI: Via IRQ fixup for 0000:00:10.4, from 5 to 2 ehci_hcd 0000:00:10.4: EHCI Host Controller ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5 ehci_hcd 0000:00:10.4: irq 18, io mem 0xfdf00000 ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 hub 5-0:1.0: USB hub found hub 5-0:1.0: 8 ports detected usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver usb 1-2: new low speed USB device using uhci_hcd and address 3 input: Nyko AIRFLOW as /class/input/input2 input: USB HID v1.10 Gamepad [Nyko AIRFLOW] on usb-0000:00:10.0-2 ReiserFS: hdb1: found reiserfs format "3.6" with standard journal ReiserFS: hdb1: using ordered data mode ReiserFS: hdb1: journal params: device hdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: hdb1: checking transaction log (hdb1) ReiserFS: hdb1: Using r5 hash to sort names GSI 19 sharing vector 0xC1 and IRQ 19 ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 19 (level, low) -> IRQ 19 Installing spdif_bug patch: Audigy 2 ZS [SB0350] nvidia: module license 'NVIDIA' taints kernel. GSI 20 sharing vector 0xC9 and IRQ 20 ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 20 NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-8178 Wed Dec 14 16:58:07 PST 2005 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 skge eth0: enabling interface skge eth0: Link is up at 100 Mbps, full duplex, flow control none NTFS driver 2.1.25 [Flags: R/O MODULE]. NTFS volume version 3.0. ReiserFS: hdb1: found reiserfs format "3.6" with standard journal ReiserFS: hdb1: using ordered data mode ReiserFS: hdb1: journal params: device hdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: hdb1: checking transaction log (hdb1) ReiserFS: hdb1: Using r5 hash to sort names
I did some additional testing. vanilla-sources-2.6.15.4 suffers from the issue still, vanilla-sources-2.6.16_rc4 does not however.
i might be experiencing the same issue here, though the problem in my case is attributes. in my /home partition (which is /dev/sda3, and is reiserfs 3.6), files are mysteriously changing attributes all over the place. the -i (immutable) flag is what write-protects files, and i never turn it one. and yet, files and folders keep popping up with the -i flag set. this started when i upgraded the kernel to 2.6.15-gentoo-r4, i think. could this be a bug with the gentoo kernel patches?
I don't know about your issue, but I experience mine with vanilla 2.6.15.4 so I don't think it is something the Gentoo sources is adding in that is causing my problem
Please try applying this patch to 2.6.15: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=89edc3d2b429136a0e25f40275fd82dc58f147fd;hp=3c791925da0e6108cda15e3c2c7bfaebcd9ab9cf
Alright, that seems to have fixed my Reiser issues. That Reiser partition now supports reading/writing.
Will be fixed in 2.6.15.5
Thanks for reporting and testing. Fixed in genpatches-2.6.15-9 (gentoo-sources-2.6.15-r6).