LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2006, 02:31 PM   #1
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Rep: Reputation: 15
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?
 
Old 01-26-2006, 03:39 PM   #2
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
Hmmm... is the fs on sda5 really jfs? Maybe whatever wrote this fstab detected the fs wrong?
 
Old 01-26-2006, 03:50 PM   #3
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
Old 01-26-2006, 04:28 PM   #4
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 01-27-2006, 09:55 PM   #5
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Original Poster
Rep: Reputation: 15
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
 
Old 01-31-2006, 08:46 PM   #6
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 05:21 PM
Read-only mount error at boot cheetahman SUSE / openSUSE 7 03-21-2005 07:16 PM
Read-only mount error at boot cheetahman SUSE / openSUSE 9 03-07-2005 03:33 AM
runaway mount process Pico_01 Linux - Software 0 02-12-2004 08:10 PM
mount error during boot mcd Linux - Software 0 08-14-2003 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration