LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount error during boot process (https://www.linuxquestions.org/questions/linux-newbie-8/mount-error-during-boot-process-408302/)

jborn 01-26-2006 02:31 PM

Mount error during boot process
 
During startup I am getting the following:

Mounting local filesystems: mount: wrong fs type, bad option, bad superblock on /dev/sda5
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail

from dmesg this seemed relevant but doesn't look bad either:
SCSI device sda: drive cache: write back
sda:<4>nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
sda1 sda2 sda3 sda4 <<4>nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
sda5 >
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed

df -k:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 10154020 7425336 2204564 78% /
/dev/sda1 101086 26161 69706 28% /boot
/dev/shm 512572 0 512572 0% /dev/shm

so the sda5 is not mounted:

cat /etc/fstab:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0 0
/dev/sda5 /var/video jfs defaults 0 0
/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0

What can I run to fix? to recover?

BinJajer 01-26-2006 03:39 PM

Hmmm... is the fs on sda5 really jfs? Maybe whatever wrote this fstab detected the fs wrong?

jborn 01-26-2006 03:50 PM

yep really jfs.. setting up a mythtv box. from the reports I've read most file operations are similiar with jfs, but when deleting large files it shines.

of course this may change my opinion of that.

BinJajer 01-26-2006 04:28 PM

Ok. Let's get on with it. Standard procedure:
uname -a
hw specs
and, if you can, check your /var/log/messages for sensitive info and send it to me to binjajer_at_gmail.com , I'll see if you did't mess anything up with your actions.

jborn 01-27-2006 09:55 PM

I don't have email set up on this computer yet, and haven't gotten to Samba yet either so I'll stick with the message boards

I've been slammed at work and have a five month old who doesn't sleep a lot. So if I don't get back to you promply with results/more information please don't take it personally.

And thanks for taking a look at this to try and help me out

uname -a
Linux kashyyyk 2.6.14-1.1656_FC4 #1 Thu Jan 5 22:13:55 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

Hardware Specs:

Motherboard: ASUS A8N-E
Processor: AMD 64 3000
Video Card Nvidia GeForce 6600 GT
Memory 2GB Don't remember brand name
Power Supply Seasonic S12
Seagate SATA 200GB
Hauppauge Win TV PVR-500 MCE
PCHDTV 3000

Information from /var/log/messages:

Jan 26 11:14:45 localhost kernel: SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
Jan 26 11:14:45 localhost kernel: SCSI device sda: drive cache: write back
Jan 26 11:14:45 localhost kernel: SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
Jan 26 11:14:45 localhost kernel: SCSI device sda: drive cache: write back
Jan 26 11:14:45 localhost kernel: sda:<4>nv_sata: Primary device added
Jan 26 11:14:45 localhost kernel: nv_sata: Primary device removed
Jan 26 11:14:45 localhost kernel: nv_sata: Secondary device added
Jan 26 11:14:45 localhost kernel: nv_sata: Secondary device removed
Jan 26 11:14:45 localhost kernel: sda1 sda2 sda3 sda4 <<4>nv_sata: Primary device added
Jan 26 11:14:45 localhost kernel: nv_sata: Primary device removed
Jan 26 11:14:45 localhost kernel: nv_sata: Secondary device added
Jan 26 11:14:45 localhost kernel: nv_sata: Secondary device removed
Jan 26 11:14:45 localhost kernel: sda5 >
Jan 26 11:14:45 localhost kernel: nv_sata: Primary device added
Jan 26 11:14:45 localhost kernel: nv_sata: Primary device removed
Jan 26 11:14:45 localhost kernel: nv_sata: Secondary device added
Jan 26 11:14:45 localhost kernel: nv_sata: Secondary device removed
Jan 26 11:14:45 localhost kernel: Attached scsi disk sda at scsi3, channel 0, id 0, lun 0
Jan 26 11:14:45 localhost kernel: EXT3-fs: INFO: recovery required on readonly filesystem.
Jan 26 11:14:45 localhost kernel: EXT3-fs: write access will be enabled during recovery.
Jan 26 11:14:45 localhost kernel: kjournald starting. Commit interval 5 seconds
Jan 26 11:14:45 localhost kernel: EXT3-fs: recovery complete.
Jan 26 11:14:45 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 26 11:14:45 localhost kernel: SELinux: Disabled at runtime.
Jan 26 11:14:46 localhost kernel: SELinux: Unregistering netfilter hooks
Jan 26 11:14:46 localhost kernel: Floppy drive(s): fd0 is 1.44M
Jan 26 11:14:46 localhost kernel: FDC 0 is a post-1991 82077
Jan 26 11:14:46 localhost kernel: forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.41.
Jan 26 11:14:46 localhost kernel: ACPI: PCI Interrupt Link [APCH] enabled at IRQ 21
Jan 26 11:14:46 localhost kernel: ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [APCH] -> GSI 21 (level, low) -> IRQ 233
Jan 26 11:14:46 localhost kernel: eth0: forcedeth.c: subsystem: 01043:8141 bound to 0000:00:0a.0
Jan 26 11:14:46 localhost kernel: ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 20
Jan 26 11:14:46 localhost kernel: ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [APCJ] -> GSI 20 (level, low) -> IRQ 50
Jan 26 11:14:46 localhost kernel: intel8x0_measure_ac97_clock: measured 55288 usecs
Jan 26 11:14:46 localhost kernel: intel8x0: clocking to 46970
Jan 26 11:14:46 localhost kernel: shpchp: shpc_init : shpc_cap_offset == 0
Jan 26 11:14:46 localhost kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jan 26 11:14:46 localhost kernel: i2c_adapter i2c-0: nForce2 SMBus adapter at 0x4c00
Jan 26 11:14:46 localhost kernel: i2c_adapter i2c-1: nForce2 SMBus adapter at 0x4c40
Jan 26 11:14:46 localhost kernel: Linux video capture interface: v1.00
Jan 26 11:14:46 localhost kernel: cx2388x v4l2 driver version 0.0.5 loaded
Jan 26 11:14:46 localhost kernel: ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
Jan 26 11:14:46 localhost kernel: ACPI: PCI Interrupt 0000:05:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 58
Jan 26 11:14:46 localhost kernel: CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
Jan 26 11:14:46 localhost kernel: TV tuner 52 at 0x1fe, Radio tuner -1 at 0x1fe
Jan 26 11:14:46 localhost kernel: cx88[0]/0: found at 0000:05:06.0, rev: 5, irq: 58, latency: 32, mmio: 0xd8000000
Jan 26 11:14:46 localhost kernel: tda9885/6/7: chip found @ 0x86
Jan 26 11:14:46 localhost kernel: cx88[0]/0: registered device video0 [v4l2]
Jan 26 11:14:46 localhost fstab-sync[2441]: removed all generated mount points
Jan 26 11:14:46 localhost kernel: cx88[0]/0: registered device vbi0
Jan 26 11:14:46 localhost kernel: cx88[0]/0: registered device radio0
Jan 26 11:14:47 localhost kernel: cx2388x dvb driver version 0.0.5 loaded
Jan 26 11:14:47 localhost kernel: ACPI: PCI Interrupt 0000:05:06.2[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 58
Jan 26 11:14:47 localhost kernel: cx88[0]/2: found at 0000:05:06.2, rev: 5, irq: 58, latency: 32, mmio: 0xd9000000
Jan 26 11:14:47 localhost kernel: cx88[0]/2: cx2388x based dvb card
Jan 26 11:14:47 localhost kernel: DVB: registering new adapter (cx88[0]).
Jan 26 11:14:47 localhost kernel: DVB: registering frontend 0 (Oren OR51132 VSB/QAM Frontend)...
Jan 26 11:14:47 localhost kernel: ACPI: PCI Interrupt Link [APCL] enabled at IRQ 23
Jan 26 11:14:47 localhost kernel: ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCL] -> GSI 23 (level, low) -> IRQ 217
Jan 26 11:14:47 localhost kernel: ehci_hcd 0000:00:02.1: EHCI Host Controller
Jan 26 11:14:47 localhost kernel: ehci_hcd 0000:00:02.1: debug port 1
Jan 26 11:14:47 localhost kernel: ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
Jan 26 11:14:47 localhost kernel: ehci_hcd 0000:00:02.1: irq 217, io mem 0xda005000
Jan 26 11:14:47 localhost kernel: ehci_hcd 0000:00:02.1: park 0
Jan 26 11:14:47 localhost kernel: ehci_hcd 0000:00:02.1: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
Jan 26 11:14:47 localhost kernel: hub 1-0:1.0: USB hub found
Jan 26 11:14:47 localhost kernel: hub 1-0:1.0: 10 ports detected
Jan 26 11:14:47 localhost kernel: ACPI: PCI Interrupt Link [APCF] enabled at IRQ 22
Jan 26 11:14:47 localhost kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 22 (level, low) -> IRQ 225
Jan 26 11:14:47 localhost kernel: ohci_hcd 0000:00:02.0: OHCI Host Controller
Jan 26 11:14:47 localhost kernel: ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
Jan 26 11:14:47 localhost kernel: ohci_hcd 0000:00:02.0: irq 225, io mem 0xda004000
Jan 26 11:14:47 localhost kernel: hub 2-0:1.0: USB hub found
Jan 26 11:14:47 localhost kernel: hub 2-0:1.0: 10 ports detected
Jan 26 11:14:47 localhost kernel: NET: Registered protocol family 10
Jan 26 11:14:47 localhost kernel: Disabled Privacy Extensions on device ffffffff8043c1c0(lo)
Jan 26 11:14:47 localhost kernel: IPv6 over IPv4 tunneling driver
Jan 26 11:14:47 localhost kernel: ACPI: Power Button (FF) [PWRF]
Jan 26 11:14:47 localhost kernel: ACPI: Power Button (CM) [PWRB]
Jan 26 11:14:47 localhost kernel: ibm_acpi: ec object not found
Jan 26 11:14:47 localhost kernel: md: Autodetecting RAID arrays.
Jan 26 11:14:47 localhost kernel: md: autorun ...
Jan 26 11:14:47 localhost kernel: md: ... autorun DONE.
Jan 26 11:14:47 localhost kernel: device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
Jan 26 11:14:47 localhost kernel: cdrom: open failed.
Jan 26 11:14:47 localhost kernel: EXT3 FS on sda2, internal journal
Jan 26 11:14:47 localhost kernel: kjournald starting. Commit interval 5 seconds
Jan 26 11:14:47 localhost kernel: EXT3 FS on sda1, internal journal
Jan 26 11:14:47 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 26 11:14:47 localhost kernel: JFS: nTxBlock = 8008, nTxLock = 64071
Jan 26 11:14:47 localhost kernel: parport: PnPBIOS parport detected.
Jan 26 11:14:47 localhost kernel: parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
Jan 26 11:14:47 localhost kernel: lp0: using parport0 (interrupt-driven).
Jan 26 11:14:47 localhost kernel: lp0: console ready
Jan 26 11:14:48 localhost fstab-sync[2456]: added mount point /media/cdrom for /dev/hdc

jborn 01-31-2006 08:46 PM

Dave Kleikamp from the JFS Discussion List fame solved this for me:

I first ran fsck and no error were return,

So the next was to fix the fstab file and change the following line from:
/dev/sda5 /var/video jfs defaults 0 0
to
/dev/sda5 /var/video jfs defaults 0 2
Which runs fsck before mounting.

And it all works again.

This all probably happened with an ungraceful shutdown at somepoint.


All times are GMT -5. The time now is 06:39 AM.