Read-only file system
I intsalled both suse8.2 and windowsXP with NTFS format which is /dev/hda2. When I mount it with mount -t ntfs -w /dev/hda2 /mnt, I can read files in /mnt, but cannot write. Strangely, when I type: mount -t iso9660 /dev/cdrom /mnt, I got the follwoing message. Can you provide some advice please? mount: block device /dev/cdrom is write-protected, mounting read-only mount: No medium found Dechao __________________________________________________ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html
The 03.05.29 at 12:04, dechao wang wrote:
I intsalled both suse8.2 and windowsXP with NTFS format which is /dev/hda2. When I mount it with mount -t ntfs -w /dev/hda2 /mnt, I can read files in /mnt, but cannot write.
The kernel does not have write support for ntfs by default, it is dangerous. -- Cheers, Carlos Robinson
On Thu, 2003-05-29 at 12:04, dechao wang wrote:
I intsalled both suse8.2 and windowsXP with NTFS format which is /dev/hda2. When I mount it with mount -t ntfs -w /dev/hda2 /mnt, I can read files in /mnt, but cannot write.
NTFS support in Linux is flaky at best. You can usually read NTFS file systems without adverse effects, but you are advised not to write to NTFS file systems.
Strangely, when I type: mount -t iso9660 /dev/cdrom /mnt, I got the follwoing message. Can you provide some advice please? mount: block device /dev/cdrom is write-protected,
The device is read-only. And as it is a cdrom, I would expect that.
mounting read-only
File system is hence mounted read only.
mount: No medium found
No CD in drive?
I use SLPro 8.2 and not seen any problems mounting cdroms so unsure what
the problem is. You might want to post dmesg output from the time you
did the command resulting in the error, and perhaps from
/var/log/messages as well.
HTH,
--
Anders Karlsson
Hi Anders,
many thanks for your help. The following is the output
of dmesg.
----------
igger[0x3])
Using ACPI (MADT) for SMP configuration information
Building zonelist for node : 0
Kernel command line: root=/dev/hda9 vga=0x31a
hdd=ide-scsi hddlun=0 splash=silent splash=silent
ide_setup: hdd=ide-scsi
ide_setup: hddlun=0
bootsplash: silent mode.
bootsplash: silent mode.
Initializing CPU#0
Detected 3049.527 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 6081.74 BogoMIPS
Memory: 509008k/523708k available (1854k kernel code,
10100k reserved, 592k data, 184k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7,
524288 bytes)
Inode cache hash table entries: 32768 (order: 6,
262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096
bytes)
Buffer-cache hash table entries: 32768 (order: 5,
131072 bytes)
Page-cache hash table entries: 131072 (order: 7,
524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000
00000000 00000000
CPU: Common caps: bfebfbff 00000000
00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch
(rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000
00000000 00000000
CPU: Common caps: bfebfbff 00000000
00000000 00000000
CPU0: Intel(R) Pentium(R) 4 CPU 3.06GHz stepping 07
per-CPU timeslice cutoff: 1463.08 usecs.
task migration cache decay timeout: 10 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000040
ESR value after enabling vector: 00000000
Booting processor 1/1 eip 3000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 6094.84 BogoMIPS
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
Intel machine check reporting enabled on CPU#1.
CPU: After generic, caps: bfebfbff 00000000
00000000 00000000
CPU: Common caps: bfebfbff 00000000
00000000 00000000
CPU1: Intel(R) Pentium(R) 4 CPU 3.06GHz stepping 07
Total of 2 processors activated (12176.58 BogoMIPS).
cpu_sibling_map[0] = 1
cpu_sibling_map[1] = 0
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19,
2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 16.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00178020
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0020
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 0 0 0 0 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 003 03 1 1 0 0 0 1 1 71
0a 003 03 0 0 0 0 0 1 1 79
0b 003 03 0 0 0 0 0 1 1 81
0c 003 03 0 0 0 0 0 1 1 89
0d 003 03 0 0 0 0 0 1 1 91
0e 003 03 0 0 0 0 0 1 1 99
0f 003 03 0 0 0 0 0 1 1 A1
10 000 00 1 0 0 0 0 0 0 00
11 000 00 1 0 0 0 0 0 0 00
12 000 00 1 0 0 0 0 0 0 00
13 000 00 1 0 0 0 0 0 0 00
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 3049.5789 MHz.
..... host bus clock speed is 132.5902 MHz.
cpu: 0, clocks: 1325902, slice: 441967
CPU0T0:1325888,T1:883920,D:1,S:441967,C:1325902
cpu: 1, clocks: 1325902, slice: 441967
CPU1T0:1325888,T1:441952,D:2,S:441967,C:1325902
checking TSC synchronization across CPUs: passed.
migration_task 0 on cpu=0
migration_task 1 on cpu=1
ACPI: Subsystem revision 20030228
PCI: PCI BIOS revision 2.10 entry at 0xfbe8e, last
bus=2
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S3 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI
Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table
[\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10
11 12 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10
*11 12 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 7 9 10
11 12 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10
11 12 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10
11 12 15, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10
11 12 15, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10
11 12 15, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10
11 12 15, disabled)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xa9 -> IRQ
16)
00:00:01[A] -> 2-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xb1 -> IRQ
17)
00:00:01[B] -> 2-17 -> IRQ 17
Pin 2-17 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb9 -> IRQ
18)
00:00:1e[C] -> 2-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xc1 -> IRQ
19)
00:00:1e[D] -> 2-19 -> IRQ 19
Pin 2-19 already programmed
Pin 2-18 already programmed
Pin 2-16 already programmed
Pin 2-18 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-18 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option
'pci=noacpi' or even 'acpi=off'
PCI: Via IRQ fixup for 02:01.0, from 10 to 3
PCI: Via IRQ fixup for 02:01.1, from 3 to 2
PCI: Via IRQ fixup for 02:02.0, from 3 to 2
PCI: Via IRQ fixup for 02:02.1, from 11 to 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society
NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
apm: disabled - APM is not SMP safe.
mxt_scan_bios: enter
Starting kswapd
bigpage subsystem: allocated 0 bigpages (=0MB).
kinoded started
VFS: Disk quotas vdquot_6.5.1
aio_setup: num_physpages = 32731
aio_setup: sizeof(struct page) = 48
vesafb: framebuffer at 0xf0000000, mapped to
0xe0815000, size 131072k
vesafb: mode is 1280x1024x16, linelength=2560,
pages=50
vesafb: protected mode interface info at c000:57ce
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Looking for splash picture.... silenjpeg size 43799
bytes, found (1280x1024, 32818 bytes, v3).
Got silent jpeg.
Got silent jpeg.
Console: switching to colour frame buffer device
148x51
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6
MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 64000K
size 1024 blocksize
loop: loaded (max 16 devices)
Uniform Multi-Platform E-IDE driver Revision:
7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 4
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings:
hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings:
hdc:DMA, hdd:DMA
hda: IC35L120AVV207-0, ATA DISK drive
blk: queue c04410a0, I/O limit 4095Mb (mask
0xffffffff)
hdc: SAMSUNG DVD-ROM SD-616T, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST GCE-8481B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 234375000 sectors (120000 MB) w/1821KiB Cache,
CHS=14589/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10
hda11 hda12 hda13 >
ide-floppy driver 0.99.newide
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k
scsi_hostadapter, errno = 2
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind
32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 384k freed
VFS: Mounted root (ext2 filesystem).
VFS: Mounted root (ext2 filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 184k freed
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Adding Swap: 2048248k swap-space (priority 42)
hdc: attached ide-cdrom driver.
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI
devices
Vendor: HL-DT-ST Model: CD-RW GCE-8481B Rev: C102
Type: CD-ROM ANSI SCSI
revision: 02
Intel(R) PRO/100 Network Driver - version 2.1.29-k3
Copyright (c) 2002 Intel Corporation
e100: selftest OK.
e100: eth0: Intel(R) 8255x Based Network Connection
Hardware receive checksums enabled
ohci1394: $Rev: 758 $ Ben Collins
mount: No medium found
No CD in drive?
I use SLPro 8.2 and not seen any problems mounting cdroms so unsure what the problem is. You might want to post dmesg output from the time you did the command resulting in the error, and perhaps from /var/log/messages as well.
__________________________________________________ Yahoo! Plus - For a better Internet experience http://uk.promotions.yahoo.com/yplus/yoffer.html
On Thu, 2003-05-29 at 07:56, dechao wang wrote:
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Try mounting the cdrom using the /dev/sr0 device and check the link for /dev/cdrom. It should point to /dev/sr0.
----------
mount: No medium found
No CD in drive?
NTFS should be left as read only until the gurus find out how to write to this type of partition. And NO i don't yahoo. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998
participants (4)
-
Anders Karlsson
-
Carlos E. R.
-
dechao wang
-
Ken Schneider