проблема с fstab (видимо)

Cent OS, Scientific Linux

Модератор: Модераторы разделов

trva
Сообщения: 5

проблема с fstab

Сообщение trva »

Поставил FC6 и стал настраивать: выкачал много пакетов из инета (а трафик для меня на вес золота)
Для монтирования виндовых разделов заменил /etc/fstab на этот файл из FC5 ни сделав ни резервной копии оригинала и ни учтя изменения в разделах - дурак
На данный момент восстановил загрузку системы, но не все так гладко есть две проблемы:

1. При запуске системы пишет: "Подключаются пространства подкачки из /etc/fstab [СБОЙ]"
пробовал выполнять mkswap /dev/hda4 и swapon -a при загрузке системы все равно Сбой, как заставит своп подключаться?

2. При выключении пишет: "Turning off quotas: quotaoff: Error checking device name: LABEL=/ quotaoff: Can`t get device name for LABEL=/" Что это значит и как от этого избавиться?

Вот мой /etc/fstab:
LABEL=/ / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/hda4 swap swap defaults 0 0
/dev/hda1 /media/winxp ntfs ro,umask=0222 0 0
/dev/hda5 /media/win2k ntfs ro,umask=0222 0 0
/dev/hda6 /media/data vfat noexec,rw,codepage=866,iocharset=utf8,umask=002 0 0
/dev/hdb1 /media/vol1 ntfs ro,umask=0222 0 0
/dev/hdb5 /media/vol2 ntfs ro,umask=0222 0 0
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: проблема с fstab

Сообщение BlackStar »

В моем rc.sysinit своп подключается командой: swapon -a -e

Приведи вывод команд : cat /proc/swaps, dmesg после загрузки системы.
LightLang Team
Спасибо сказали:
Аватара пользователя
Swi
Сообщения: 49
ОС: FedoraCore 6

Re: проблема с fstab

Сообщение Swi »

приведи вывод fdisk -l (или -f) не помню.
Федораст - это звучит гордо...

FeoraCore 6

Asus K8N | AMD64 2800+ | 512Mb | nVidia GForce MX400 64Mb | WD120Gb | ASUS DVD+/-RW | ASUS DVD-ROM
Спасибо сказали:
trva
Сообщения: 5

Re: проблема с fstab

Сообщение trva »

проблема #2 устранена
осталось только подключение swap

[root@homepc ~]# cat /proc/swaps
[root@homepc ~]# dmesg
Linux version 2.6.18-1.2849.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 12:45:28 EST 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
767MB LOWMEM available.
found SMP MP-table at 000f55f0
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 196592
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 192496 pages, LIFO batch:31
DMI 2.2 present.
Using APIC driver default
IO/L-APIC allowed because system is MP or new enough
ACPI: RSDP (v000 AWARD ) @ 0x000f7090
ACPI: RSDT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3000
ACPI: FADT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff3040
ACPI: MADT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2fff6b40
ACPI: DSDT (v001 AWARD AWRDACPI 0x00001000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, 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 dfl dfl)
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
Allocating PCI resources starting at 40000000 (gap: 30000000:cec00000)
Detected 2589.644 MHz processor.
Built 1 zonelists. Total pages: 196592
Kernel command line: ro root=/dev/hda3 rhgb quiet
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c07af000 soft=c078f000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 773028k/786368k available (2139k kernel code, 12732k reserved, 866k data, 244k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5181.66 BogoMIPS (lpj=2590830)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: bfebf3ff 00000000 00000000 00000080 00004400 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
ACPI: Core revision 20060707
CPU0: Intel® Celeron® CPU 2.60GHz stepping 09
Total of 1 processors activated (5181.66 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
sizeof(vma)=84 bytes
sizeof(page)=32 bytes
sizeof(inode)=424 bytes
sizeof(dentry)=148 bytes
sizeof(ext3inode)=600 bytes
sizeof(buffer_head)=52 bytes
sizeof(skbuff)=172 bytes
sizeof(task_struct)=1392 bytes
checking if image is initramfs... it is
Freeing initrd memory: 1354k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfbbd0, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Uncovering SIS962 that hid as a SIS503 (compatible=1)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:02.5
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 6 7 9 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 9 10 11 14 15)
Linux Plug and Play Support v0.97 © Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: e0000000-e2ffffff
PREFETCH window: d0000000-dfffffff
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 9, 2621440 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1165240539.626:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key CA06D81CB13FD94
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Fan [FAN] (on)
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x1
ACPI: Thermal Zone [THRM] (40 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 © Dave Jones
agpgart: Detected SiS 650 chipset
agpgart: AGP aperture is 256M @ 0xc0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 169
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST3120814A, ATA DISK drive
hdb: ST3200822A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TOSHIBA DVD-ROM SD-M1712, ATAPI CD/DVD-ROM drive
hdd: _NEC DVD_RW ND-3540A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 512KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 < hda5 hda6 > hda3 hda4
hdb: max request size: 512KiB
hdb: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(100)
hdb: cache flushes supported
hdb: hdb1 hdb2 < hdb5 >
ide-floppy driver 0.99.newide
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13: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
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 244k freed
Write protecting the kernel read-only data: 386k
input: AT Translated Set 2 keyboard as /class/input/input0
USB Universal Host Controller Interface driver v3.0
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 177
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:03.0: irq 177, io mem 0xe3023000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:03.1[B] -> GSI 21 (level, low) -> IRQ 185
ohci_hcd 0000:00:03.1: OHCI Host Controller
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.1: irq 185, io mem 0xe3020000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 193
ehci_hcd 0000:00:03.3: EHCI Host Controller
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 3
PCI: cache line size of 128 is not supported by device 0000:00:03.3
ehci_hcd 0000:00:03.3: irq 193, io mem 0xe3021000
ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
ohci_hcd 0000:00:03.0: wakeup
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
usb 1-1: new full speed USB device using ohci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
audit(1165240546.433:2): enforcing=1 old_enforcing=0 auid=4294967295
security: 3 users, 6 roles, 1560 types, 166 bools, 1 sens, 1024 cats
security: 58 classes, 48173 rules
SELinux: Completing initialization.
SELinux: Setting up existing superblocks.
SELinux: initialized (dev hda3, type ext3), uses xattr
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses genfs_contexts
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses task SIDs
SELinux: initialized (dev inotifyfs, type inotifyfs), uses genfs_contexts
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev cpuset, type cpuset), not configured for labeling
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
audit(1165240546.699:3): policy loaded auid=4294967295
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
pl2303 1-1:1.0: pl2303 converter detected
usb 1-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-9629 Wed Nov 1 19:30:07 PST 2006
input: PC Speaker as /class/input/input2
sis900.c: v1.08.10 Apr. 2 2006
ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 201
0000:00:04.0: VIA 6103 PHY transceiver found at address 1.
0000:00:04.0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xe800, IRQ 201, 00:0d:87:30:5b:6b.
hdc: ATAPI 48X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Linux video capture interface: v2.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 209
bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 209, latency: 32, mmio: 0xe3024000
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffc0ff [init]
tveeprom 0-0050: Huh, no eeprom present (err=-121)?
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:00:0a.1[A] -> GSI 18 (level, low) -> IRQ 209
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
bt878(0): Bt878 (rev 17) at 00:0a.1, irq: 209, latency: 32, memory: 0xe3025000
ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 209
intel8x0_measure_ac97_clock: measured 51595 usecs
intel8x0: clocking to 48000
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
lp0: using parport0 (interrupt-driven).
lp0: console ready
SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [FUTS]
ibm_acpi: ec object not found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
device-mapper: multipath: version 1.0.4 loaded
audit(1165229771.759:4): avc: denied { read } for pid=1417 comm="fsck" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:fsadm_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
EXT3 FS on hda3, internal journal
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
NTFS driver 2.1.27 [Flags: R/W MODULE].
NTFS volume version 3.1.
SELinux: initialized (dev hda1, type ntfs), uses genfs_contexts
NTFS volume version 3.1.
SELinux: initialized (dev hda5, type ntfs), uses genfs_contexts
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
SELinux: initialized (dev hda6, type vfat), uses genfs_contexts
NTFS volume version 3.1.
SELinux: initialized (dev hdb1, type ntfs), uses genfs_contexts
NTFS volume version 3.1.
SELinux: initialized (dev hdb5, type ntfs), uses genfs_contexts
audit(1165229773.311:5): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.313:6): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.313:7): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.313:8): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.314:9): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.314:10): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.314:11): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.314:12): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.315:13): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.315:14): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.315:15): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.315:16): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.316:17): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.316:18): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.316:19): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.316:20): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.316:21): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.316:22): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.317:23): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.317:24): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.317:25): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.318:26): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.318:27): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.318:28): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.318:29): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.319:30): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.319:31): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.319:32): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.321:33): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.321:34): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.321:35): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.321:36): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.321:37): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.321:38): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.322:39): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.322:40): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.322:41): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.323:42): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.323:43): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.324:44): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.324:45): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.324:46): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229773.325:47): avc: denied { read } for pid=1484 comm="pam_console_app" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:pam_console_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
audit(1165229774.358:48): avc: denied { read } for pid=1497 comm="swapon" name="fstab" dev=hda3 ino=3302384 scontext=system_u:system_r:fsadm_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
ip_tables: © 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (6143 buckets, 49144 max) - 228 bytes per conntrack
process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.lo.base_reachable_time; Use net.ipv6.neigh.lo.base_reachable_time_ms instead.
eth0: Media Link On 100mbps full-duplex
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
eth0: no IPv6 routers present
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

[root@homepc ~]# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 5227 41985846 7 HPFS/NTFS
/dev/hda2 5228 10460 42034072+ f W95 Ext'd (LBA)
/dev/hda3 * 10675 14593 31479367+ 83 Linux
/dev/hda4 10461 10674 1718955 82 Linux swap / Solaris
/dev/hda5 5228 7847 21045118+ 7 HPFS/NTFS
/dev/hda6 7848 10460 20988891 b W95 FAT32

Partition table entries are not in disk order

Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 12160 97675168+ 7 HPFS/NTFS
/dev/hdb2 12161 24320 97675200 5 Extended
/dev/hdb5 12161 24320 97675168+ 7 HPFS/NTFS
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: проблема с fstab

Сообщение BlackStar »

Как видно из вывода dmesg, SELinux запрещает вам выполнить swapon. Поэтому есть 2 пути решения проблемы: 1) Отключить SELinux. 2) Настроить SELinux.

В этом вам поможет утилита system-config-securitylevel.
LightLang Team
Спасибо сказали:
Аватара пользователя
Swi
Сообщения: 49
ОС: FedoraCore 6

Re: проблема с fstab

Сообщение Swi »

А еще сделай метку на hda4 и подключай swap по метке, тогда и fstab от старой системы подойдет к новой :) как бы ты винчестер не переразбивал или не менял вообще
Федораст - это звучит гордо...

FeoraCore 6

Asus K8N | AMD64 2800+ | 512Mb | nVidia GForce MX400 64Mb | WD120Gb | ASUS DVD+/-RW | ASUS DVD-ROM
Спасибо сказали:
trva
Сообщения: 5

Re: проблема с fstab

Сообщение trva »

правильный fstab выглядит так:

LABEL=/1 / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda4 swap swap defaults 0 0
Спасибо сказали: