Ændre filsystem fra Read Only til Read and Write?

Alle tekniske spørgsmål som ikke hører ind under de andre fora.
superstoffer
Indlæg: 4
Tilmeldt: 9. jul 2009, 18:29
IRC nickname: superstoffer

Ændre filsystem fra Read Only til Read and Write?

Indlæg af superstoffer »

Hej UbuntuDK,

Jeg har et halv-stort problem med min Ubuntu-box... Jeg plejer at forbinde via NX Client, men efter upgrade til 9.04 er systemet blevet Read Only (ro) og jeg kan ikke forbinde, men får flg. fejl:

/usr/bin/X11/xauth: error in locking authority file /var/lib/nxserver/home/.Xauthority

Jeg kan derfor ikke forbinde, kun via SSH, og kan ikke ændre i filer på den...

Min etc/fstab ser sådan ud:

/dev/sda1 / ext3 default,rw,errors=remount-ro 0 1
/dev/sda2 /home ext3 defaults 0 2
/dev/sda3 none swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0

Nogen, der kan hjælpe mig med at remounte, så jeg kan komme på systemet igen...?
lath
Indlæg: 5095
Tilmeldt: 27. apr 2008, 02:16
IRC nickname: lars_t_h
Geografisk sted: Fyn

Re: Ændre filsystem fra Read Only til Read and Write?

Indlæg af lath »

superstoffer skrev:Hej UbuntuDK,

Jeg har et halv-stort problem med min Ubuntu-box... Jeg plejer at forbinde via NX Client, men efter upgrade til 9.04 er systemet blevet Read Only (ro) og jeg kan ikke forbinde, men får flg. fejl:

/usr/bin/X11/xauth: error in locking authority file /var/lib/nxserver/home/.Xauthority

Jeg kan derfor ikke forbinde, kun via SSH, og kan ikke ændre i filer på den...

Min etc/fstab ser sådan ud:

/dev/sda1 / ext3 default,rw,errors=remount-ro 0 1
/dev/sda2 /home ext3 defaults 0 2
/dev/sda3 none swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0

Nogen, der kan hjælpe mig med at remounte, så jeg kan komme på systemet igen...?


/dev/sda1 / ext3 default,rw,errors=remount-ro 0 1
fortæller at root filsystemet (altså "/") remountes som read-only i tilfælde af fejl (errors=remount-ro)

Derfor kan
/var/lib/nxserver/home/.Xauthority
filen ikke låses da root filsystem er read-only.

Så hvilken fejl er årsagen til dit problem?

Post lige indholdet af filen:
/var/log/dmesg


/Lars
Jeg er Software ingeniør (Diplomingeniør) i Informationsteknologi og indlejede systemer, hvor indlejrede systemer er computer (microcontroller) + elektronik i for eksempel et TV, en router, en vaskemaskine og den slags
superstoffer
Indlæg: 4
Tilmeldt: 9. jul 2009, 18:29
IRC nickname: superstoffer

Re: Ændre filsystem fra Read Only til Read and Write?

Indlæg af superstoffer »

Hej Lars,

Tak for dit svar. Umiddelbart ligger der en fejl i /etc/fstab iform af "default" fremfor "defaults" for sda1.
Det er lidt svært at c/p indholdet fra /var/log/dmesg, da det bliver en 442 linjers tekst - nogen gode tips til at kopiere det ud?

/Christoffer
superstoffer
Indlæg: 4
Tilmeldt: 9. jul 2009, 18:29
IRC nickname: superstoffer

Re: Ændre filsystem fra Read Only til Read and Write?

Indlæg af superstoffer »

Nå jeg fandt ud af det:
BIOS EBDA/lowmem at: 0009fc00/0009fc00
Initializing cgroup subsys cpuset
Linux version 2.6.28.1-xxxx-std-ipv4-32 (root@kernel-32.ovh.net) (gcc version 4.3.2 (Debian 4.3.2-1) ) #2 SMP Fri Jan 30 09:55:02 UTC 2009
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
NSC Geode by NSC
Cyrix CyrixInstead
Centaur CentaurHauls
Transmeta GenuineTMx86
Transmeta TransmetaCPU
UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003ce31000 (usable)
BIOS-e820: 000000003ce31000 - 000000003d232000 (ACPI NVS)
BIOS-e820: 000000003d232000 - 000000003ddf2000 (usable)
BIOS-e820: 000000003ddf2000 - 000000003ddf4000 (reserved)
BIOS-e820: 000000003ddf4000 - 000000003de71000 (usable)
BIOS-e820: 000000003de71000 - 000000003def7000 (ACPI NVS)
BIOS-e820: 000000003def7000 - 000000003def8000 (usable)
BIOS-e820: 000000003def8000 - 000000003deff000 (ACPI data)
BIOS-e820: 000000003deff000 - 000000003df00000 (usable)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
DMI 2.4 present.
last_pfn = 0x3df00 max_arch_pfn = 0x1000000
kernel direct mapping tables up to 379fe000 @ 7000-d000
NX (Execute Disable) protection: active
ACPI: RSDP 000FE020, 0014 (r0 INTEL )
ACPI: RSDT 3DEFE038, 002C (r1 INTEL DG965CO 89 1000013)
ACPI: FACP 3DEFD000, 0074 (r1 INTEL DG965CO 89 MSFT 1000013)
ACPI: DSDT 3DEF9000, 312C (r1 INTEL DG965CO 89 MSFT 1000013)
ACPI: FACS 3DEBC000, 0040
ACPI: APIC 3DEF8000, 006C (r1 INTEL DG965CO 89 MSFT 1000013)
ACPI: Local APIC address 0xfee00000
101MB HIGHMEM available.
889MB LOWMEM available.
mapped low ram: 0 - 379fe000
low ram: 00000000 - 379fe000
bootmap 00009000 - 0000ff40
(8 early reservations) ==> bootmem [0000000000 - 00379fe000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
#2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
#3 [0000100000 - 00009e386c] TEXT DATA BSS ==> [0000100000 - 00009e386c]
#4 [00009e4000 - 00009ee000] INIT_PG_TABLE ==> [00009e4000 - 00009ee000]
#5 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
#6 [0000007000 - 0000009000] PGTABLE ==> [0000007000 - 0000009000]
#7 [0000009000 - 0000010000] BOOTMAP ==> [0000009000 - 0000010000]
found SMP MP-table at [c00fe200] 000fe200
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x000379fe
HighMem 0x000379fe -> 0x0003df00
Movable zone start PFN for each node
early_node_map[6] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x0003ce31
0: 0x0003d232 -> 0x0003ddf2
0: 0x0003ddf4 -> 0x0003de71
0: 0x0003def7 -> 0x0003def8
0: 0x0003deff -> 0x0003df00
On node 0 totalpages: 252431
free_area_init_node: node 0, pgdat c08d6e80, node_mem_map c1000000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3967 pages, LIFO batch:0
Normal zone: 1748 pages used for memmap
Normal zone: 221994 pages, LIFO batch:31
HighMem zone: 203 pages used for memmap
HighMem zone: 24487 pages, LIFO batch:3
Movable zone: 0 pages used for memmap
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 4, version 20, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 4 CPUs, 3 hotplug CPUs
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 40000000 (gap: 3df00000:c2080000)
PERCPU: Allocating 28672 bytes of per cpu data
NR_CPUS: 16, nr_cpu_ids: 4, nr_node_ids 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 250448
Kernel command line: auto BOOT_IMAGE=linux ro root=801
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Fast TSC calibration using PIT
Detected 1200.131 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
allocated 5073920 bytes of page_cgroup
please try cgroup_disable=memory option if you don't want
Memory: 986536k/1014784k available (6263k kernel code, 22996k reserved, 1949k data, 380k init, 98760k highmem)
virtual kernel memory layout:
fixmap : 0xffee9000 - 0xfffff000 (1112 kB)
pkmap : 0xffa00000 - 0xffc00000 (2048 kB)
vmalloc : 0xf81fe000 - 0xff9fe000 ( 120 MB)
lowmem : 0xc0000000 - 0xf79fe000 ( 889 MB)
.init : 0xc090f000 - 0xc096e000 ( 380 kB)
.data : 0xc071de65 - 0xc09053ec (1949 kB)
.text : 0xc0100000 - 0xc071de65 (6263 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
Calibrating delay loop (skipped), value calculated using timer frequency.. 2400.26 BogoMIPS (lpj=4800524)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
using mwait in idle threads.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20080926
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Celeron(R) CPU 220 @ 1.20GHz stepping 01
Brought up 1 CPUs
Total of 1 processors activated (2400.26 BogoMIPS).
net_namespace: 492 bytes
xor: automatically using best checksumming function: pIII_sse
pIII_sse : 4350.000 MB/sec
xor: using function: pIII_sse (4350.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1 for base access
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:00.0: reg 10 32bit mmio: [0x48000000-0x49ffffff]
pci 0000:00:02.5: reg 20 io port: [0x2490-0x249f]
pci 0000:00:02.5: PME# supported from D3cold
pci 0000:00:02.5: PME# disabled
pci 0000:00:03.0: reg 10 32bit mmio: [0x4a104000-0x4a104fff]
pci 0000:00:03.1: reg 10 32bit mmio: [0x4a103000-0x4a103fff]
pci 0000:00:03.2: reg 10 32bit mmio: [0x4a102000-0x4a102fff]
pci 0000:00:03.3: reg 10 32bit mmio: [0x4a101000-0x4a101fff]
pci 0000:00:03.3: PME# supported from D0 D3hot D3cold
pci 0000:00:03.3: PME# disabled
pci 0000:00:04.0: reg 10 io port: [0x2000-0x20ff]
pci 0000:00:04.0: reg 14 32bit mmio: [0x4a100000-0x4a100fff]
pci 0000:00:04.0: reg 30 32bit mmio: [0xfffe0000-0xffffffff]
pci 0000:00:04.0: supports D1 D2
pci 0000:00:04.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:04.0: PME# disabled
pci 0000:00:05.0: reg 10 io port: [0x24a8-0x24af]
pci 0000:00:05.0: reg 14 io port: [0x24b4-0x24b7]
pci 0000:00:05.0: reg 18 io port: [0x24a0-0x24a7]
pci 0000:00:05.0: reg 1c io port: [0x24b0-0x24b3]
pci 0000:00:05.0: reg 20 io port: [0x2480-0x248f]
pci 0000:00:05.0: reg 24 io port: [0x2400-0x247f]
pci 0000:00:05.0: PME# supported from D3cold
pci 0000:00:05.0: PME# disabled
pci 0000:00:1f.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1f.0: PME# disabled
pci 0000:01:00.0: reg 10 32bit mmio: [0x40000000-0x47ffffff]
pci 0000:01:00.0: reg 14 32bit mmio: [0x4a000000-0x4a01ffff]
pci 0000:01:00.0: reg 18 io port: [0x1000-0x107f]
pci 0000:01:00.0: supports D1 D2
pci 0000:00:01.0: bridge io port: [0x1000-0x1fff]
pci 0000:00:01.0: bridge 32bit mmio: [0x4a000000-0x4a0fffff]
pci 0000:00:01.0: bridge 32bit mmio pref: [0x40000000-0x47ffffff]
pci 0000:00:1f.0: bridge 32bit mmio: [0x3e000000-0x3e0fffff]
bus 00 -> node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 *11 12 14 15)
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 8 devices
ACPI: ACPI bus type pnp unregistered
system 00:05: ioport range 0x800-0x8fe has been reserved
system 00:05: ioport range 0x8ff-0x8ff has been reserved
system 00:05: ioport range 0x4d0-0x4d1 has been reserved
system 00:05: ioport range 0x4d6-0x4d6 has been reserved
system 00:05: ioport range 0x295-0x29e has been reserved
system 00:05: ioport range 0x2e8-0x2ef has been reserved
system 00:05: ioport range 0x481-0x48f has been reserved
system 00:06: iomem range 0x0-0x9ffff could not be reserved
system 00:06: iomem range 0xec000-0xfffff could not be reserved
system 00:06: iomem range 0x100000-0x3dffffff could not be reserved
system 00:06: iomem range 0xe0000000-0xefffffff has been reserved
system 00:06: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:06: iomem range 0xfee00000-0xfee00fff has been reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0: IO window: 0x1000-0x1fff
pci 0000:00:01.0: MEM window: 0x4a000000-0x4a0fffff
pci 0000:00:01.0: PREFETCH window: 0x00000040000000-0x00000047ffffff
pci 0000:00:1f.0: PCI bridge, secondary bus 0000:02
pci 0000:00:1f.0: IO window: disabled
pci 0000:00:1f.0: MEM window: 0x3e000000-0x3e0fffff
pci 0000:00:1f.0: PREFETCH window: disabled
pci 0000:00:01.0: setting latency timer to 64
pci 0000:00:1f.0: enabling device (0000 -> 0002)
pci 0000:00:1f.0: setting latency timer to 64
bus: 00 index 0 io port: [0x00-0xffff]
bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff]
bus: 01 index 0 io port: [0x1000-0x1fff]
bus: 01 index 1 mmio: [0x4a000000-0x4a0fffff]
bus: 01 index 2 mmio: [0x40000000-0x47ffffff]
bus: 01 index 3 mmio: [0x0-0x0]
bus: 02 index 0 mmio: [0x0-0x0]
bus: 02 index 1 mmio: [0x3e000000-0x3e0fffff]
bus: 02 index 2 mmio: [0x0-0x0]
bus: 02 index 3 mmio: [0x0-0x0]
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
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
NET: Registered protocol family 1
kvm: no hardware support
has_svm: not amd
kvm: no hardware support
Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
DLM (built Jan 19 2009 11:08:05) installed
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.10)
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
GFS2 (built Jan 19 2009 11:08:37) installed
Lock_DLM (built Jan 19 2009 11:08:40) installed
msgmni has been set to 1734
alg: No test for stdrng (krng)
async_tx: api initialized (sync-only)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
pci 0000:01:00.0: Boot video device
pcieport-driver 0000:00:1f.0: setting latency timer to 64
pcieport-driver 0000:00:1f.0: found MSI capability
pcieport-driver 0000:00:1f.0: irq 767 for MSI/MSI-X
pci_express 0000:00:1f.0:pcie00: allocate port service
processor ACPI_CPU:00: registered as cooling_device0
ACPI: Processor [CPU0] (supports 8 throttling states)
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Switched to high resolution mode on CPU 0
floppy0: no floppy controllers found
brd: module loaded
loop: module loaded
usbcore: registered new interface driver ub
Intel(R) PRO/1000 Network Driver - version 7.3.20-k3-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6
e1000e: Copyright (c) 1999-2008 Intel Corporation.
Intel(R) Gigabit Ethernet Network Driver - version 1.2.45-k2
Copyright (c) 2008 Intel Corporation.
pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k6-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
sis900.c: v1.08.10 Apr. 2 2006
sis900 0000:00:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
0000:00:04.0: SiS 900 on Foxconn 661 7MI transceiver found at address 1.
0000:00:04.0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0x2000, IRQ 19, 00:1c:c0:65:28:74
sky2 driver version 1.22
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Uniform Multi-Platform E-IDE driver
sis5513 0000:00:02.5: SiS 962/963 MuTIOL IDE UDMA133 controller
sis5513 0000:00:02.5: IDE controller (0x1039:0x5513 rev 0x01)
sis5513 0000:00:02.5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x2490-0x2497
ide1: BM-DMA at 0x2498-0x249f
Probing IDE interface ide0...
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
megasas: 00.00.04.01 Thu July 24 11:41:51 PST 2008
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.011.
Driver 'sd' needs updating - please use bus_type methods
sata_sis 0000:00:05.0: version 1.0
sata_sis 0000:00:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
sata_sis 0000:00:05.0: Detected SiS 180/181/964 chipset in SATA mode
scsi0 : sata_sis
scsi1 : sata_sis
ata1: SATA max UDMA/133 cmd 0x24a8 ctl 0x24b4 bmdma 0x2480 irq 17
ata2: SATA max UDMA/133 cmd 0x24a0 ctl 0x24b0 bmdma 0x2488 irq 17
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: ST3250410AS, 3.AAF, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA ST3250410AS 3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
Fusion MPT base driver 3.04.07
Copyright (c) 1999-2008 LSI Corporation
Fusion MPT SPI Host driver 3.04.07
Fusion MPT SAS Host driver 3.04.07
Fusion MPT misc device (ioctl) driver 3.04.07
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
slram: not enough parameters.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:03.3: enabling device (0100 -> 0102)
ehci_hcd 0000:00:03.3: PCI INT D -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:03.3: EHCI Host Controller
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.3: irq 23, io mem 0x4a101000
ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
coretemp coretemp.0: Using relative temperature scale!
w83627ehf: Found W83627DHG chip at 0x290
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1 498 MB/s
raid6: int32x2 475 MB/s
raid6: int32x4 396 MB/s
raid6: int32x8 342 MB/s
raid6: mmxx1 1535 MB/s
raid6: mmxx2 1767 MB/s
raid6: sse1x1 1059 MB/s
raid6: sse1x2 1372 MB/s
raid6: sse2x1 1985 MB/s
raid6: sse2x2 2222 MB/s
raid6: using algorithm sse2x2 (2222 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.5 loaded
device-mapper: multipath round-robin: version 1.0.0 loaded
No iBFT detected.
usbcore: registered new interface driver usbkbd
usbkbd: :USB HID Boot Protocol keyboard driver
usbcore: registered new interface driver usbmouse
usbmouse: v1.6:USB HID Boot Protocol mouse driver
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (15856 buckets, 63424 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
ClusterIP Version 0.8 loaded successfully
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
SCTP: Hash tables configured (established 65536 bind 65536)
Using IPI No-Shortcut mode
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 380k freed
Adding 522104k swap on /dev/sda3. Priority:-1 extents:1 across:522104k
EXT3 FS on sda1, internal journal
eth0: Media Link On 100mbps full-duplex
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
warning: `pure-ftpd' uses 32-bit capabilities (legacy support in use)
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: Ændre filsystem fra Read Only til Read and Write?

Indlæg af Christian.Arvai »

Hvis du en anden gang vil sende så lange resultater, kan du med fordel bruge http://pastebin.com/ og så kun sende et link herind, det gør at tråden som helhed er meget nemmere at overskue, både for dem som kan supporte og andre som følger med i tråden.

Se evt mere om dette i kap 3 i denne guide viewtopic.php?f=11&t=5191
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
lath
Indlæg: 5095
Tilmeldt: 27. apr 2008, 02:16
IRC nickname: lars_t_h
Geografisk sted: Fyn

Re: Ændre filsystem fra Read Only til Read and Write?

Indlæg af lath »

Dit system er en Debian (og ikke Ubuntu)?

Det ser også ud til at /dev/sda er en tilkoblet harddisk, og Linux kernen kan ikke lide den .
(linien: Driver 'sd' needs updating - please use bus_type methods)


Uniform Multi-Platform E-IDE driver
sis5513 0000:00:02.5: SiS 962/963 MuTIOL IDE UDMA133 controller
sis5513 0000:00:02.5: IDE controller (0x1039:0x5513 rev 0x01)
sis5513 0000:00:02.5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x2490-0x2497
ide1: BM-DMA at 0x2498-0x249f
Probing IDE interface ide0...
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports.
ide-gd driver 1.18
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
megasas: 00.00.04.01 Thu July 24 11:41:51 PST 2008
3ware Storage Controller device driver for Linux v1.26.02.002.
3ware 9000 Storage Controller device driver for Linux v2.26.02.011.
Driver 'sd' needs updating - please use bus_type methods
sata_sis 0000:00:05.0: version 1.0
sata_sis 0000:00:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
sata_sis 0000:00:05.0: Detected SiS 180/181/964 chipset in SATA mode
scsi0 : sata_sis
scsi1 : sata_sis
ata1: SATA max UDMA/133 cmd 0x24a8 ctl 0x24b4 bmdma 0x2480 irq 17
ata2: SATA max UDMA/133 cmd 0x24a0 ctl 0x24b0 bmdma 0x2488 irq 17
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: ST3250410AS, 3.AAF, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA ST3250410AS 3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk


Du skal tilføje de rigtige parametre ved boot, så sata driveren ved hvad den skal gøre - mere kan jeg ikke hjælpe dig da jeg ikke har den samme hardware som du har.

dog skrives der om ahci driveren følgende på http://ata.wiki.kernel.org/index.php/AHCI:
If NCQ or hotplug do not to work for you, make sure the controller's BIOS setting is AHCI mode (not Legacy IDE mode).

... så i BIOS bør du lige tjekke at den indstilling er korrekt.

/Lars
Jeg er Software ingeniør (Diplomingeniør) i Informationsteknologi og indlejede systemer, hvor indlejrede systemer er computer (microcontroller) + elektronik i for eksempel et TV, en router, en vaskemaskine og den slags
superstoffer
Indlæg: 4
Tilmeldt: 9. jul 2009, 18:29
IRC nickname: superstoffer

Re: Ændre filsystem fra Read Only til Read and Write?

Indlæg af superstoffer »

Det har vist sig at være umuligt for mig at få det til virke, så har valgt reinstall via min udbyders kontrolpanel...

Tak for indlæggene allesammen... :)