Help & lead me to the end. VFS: readonly/fs couldn't mount.


 
Thread Tools Search this Thread
Operating Systems Linux Gentoo Help & lead me to the end. VFS: readonly/fs couldn't mount.
# 1  
Old 10-12-2012
Question Help & lead me to the end. VFS: readonly/fs couldn't mount.

In a case of root=/dev/ram0 real_root=/dev/sda2
No filesystem could mount root, tried: ext3 ext2...
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
http://imageplay.net/img/tya22288136/IMG0204A.jpg (real_root - real panic)

The case of omitting real_root and using just root=/dev/sda2
VFS: Mounted root (ext2 filesystem) readonly on device 8:2
http://imageplay.net/img/tya22288134/IMG0203A.jpg - after the last line hangs without panic (alt+sysrq+b helps)

List of all partitions (before kernel panic string):
0800 62522712 sda driver: sd
0801 204800 sda1 00000000-........0
0802 53928280 sda2 0...............0
0803 8388608 sda3 0........0
panic.....
Pid: 1, comm: swapper/0 Not tainted 3.4.9-gentoo #7

But, firstly about my system (wgetpaste -c lspci)
Paste #50707 at spacepaste
Code:
# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RX780/RX790 Chipset Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD790 PCI to PCI bridge (external gfx0 port A)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD790 PCI to PCI bridge (PCI express gpp port B)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD790 PCI to PCI bridge (PCI express gpp port C)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD790 PCI to PCI bridge (PCI express gpp port F)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 8400 GS] (rev a2)
02:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9120 SATA 6Gb/s Controller (rev 12)
04:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 01)
05:06.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)

Paste #50727 at spacepaste
Paste #50703 at spacepaste
Paste #50705 at spacepaste
.config :
Paste #50708 at spacepaste
grub.conf
Paste #50709 at spacepaste
/etc/fstab (May it be wrong without /shm?)
Paste #50710 at spacepaste
Paste #50711 at spacepaste
Paste #50721 at spacepaste
/etc/portage/make.conf
Paste #50712 at spacepaste
dmesg (right after boot from installation usb)
Paste #50726 at spacepaste

And in the hope of "Chapter 7", Linux Sea - my case could be some overlooked controller for my SSD Crucial M4 64. I need to clarify SSD is different with HDD in Kernel Setup? Or slightly.. mb AHCI+SATA+RAID is a must chain? As I have an AMD (asrock mb) I couldn't find where is my missed option PIIX (Intel PIIX or AMD analogy).
RAM and root file system support seem to be not very far from working system:
KRN - Imgur

- genkernel failed in the same way (VFS). That's why i began my long path make && make_modules
I've done the kernel without initramfs[*] and 2 partitions in ext2 (/boot ,/ ) in order to lessen the possibility of fail (esp on SSD). I can't fild those two in kernel except for Marvell:
Code:
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9120 SATA 6Gb/s Controller (rev 12)

I have no HDD only SSD and bootable flash minimal x86_64. Is an "PIIX4 PATA/SATA support" approprietable to me?
Why bzImage is in arch/x86/boot/bzImage (x86_64 only links to x86). And what i'm doing - recompiling kernel again & again with replaceing with cp.


Based on Pappy Kernel Seeds. ((Thanks to all you.. to this forum, the art of not being rude to ppl. with creative environment))

Last edited by Xcislav; 10-12-2012 at 01:49 PM..
# 2  
Old 03-08-2013
Test this, boot with a live Gentoo the same kernel. If this works, copy the running Kernelconfiguration to your system. Yes there are a lot of things there, but only for testing it should work.
Code:
add some chroot....
zcat /proc/config.gz > /usr/src/linux/.config
make -j? && make modules_install

Do this not work, add all available SATAdriver to your kernel, but not as modul. Maybe this is the problem. On my installations satadriver are the most problems.

For information: When you use an SSD, use the noop sheduler for HDDs, and set the "discard" Option in fstab for ssd.

Greetings
darktux
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. SCO

Grep to ignore suffix & find end of line

In COBOL, a hyphen can be used in a field name and in a specific program some field names would be identical to others except a suffix was added--sometimes a suffix to a suffix was used. For example, assume I am looking for AAA, AAA-BBB, and AAA-BBB-CCC and don't want to look at AAA-BBB-CCC... (7 Replies)
Discussion started by: wbport
7 Replies

2. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

3. Web Development

NFS Share & Mount problem

Hi, I want to mount an NFS Shared folder on Windows XP to vxWorks. There doesnt seem to be a problem with the sharing. Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term: hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies

4. Debian

Force readonly mount always.

I would want one of my partition to be mounted read only always... How to do that ? 1. /etc/fstab I know that, in options we can give ro -- so when the machine boots up or 'mount -a' it will be mounted read only. But i dont want that to be mounted when machine boots up. We will mount that... (3 Replies)
Discussion started by: thegeek
3 Replies

5. Shell Programming and Scripting

gzip having '&' at the end.

why do we put & at the end of gzip like below. ZIPDIR=/HOME/USR ZIPFILE=11302009.dat gzip ${ZIPDIR}/${ZIPFILE} & Thanks in Advance. (2 Replies)
Discussion started by: Reddy482
2 Replies

6. UNIX for Dummies Questions & Answers

Question: Help need to remove blank line & sed: Couldn't re-allocate memory error.

I've shell script where i used the below command to take the line which contains patterns. sed -n "/$year 05:/,/$year 17:/p" trace.log | grep -f patterns.txt > output.log This was working fine for long time, but now a days this script is not working with and throwing error like sed:... (8 Replies)
Discussion started by: senthil.ak
8 Replies

7. Solaris

mount & umount in sigle-user mode

In Solaris 8, when I boot to single user mode, mount a device and then reboot or init 0, the system unmount it automatically. However, in Solaris 10 it does not seem to do the same. Here is what I did: {0} ok boot -s # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0.... (11 Replies)
Discussion started by: StarSol
11 Replies

8. Filesystems, Disks and Memory

Mount, Divvy & SCO

The second hard drive (hd1a) in my SCO 5.0.5 suddenly has the wrong name (d1257all) and all of it's mount points (/u1 /u2 & /u3) are gone. Like someone went in and removed everything from divvy. I have good backups and the primary hard drive is good, can I just re divvy and restore from backup or... (0 Replies)
Discussion started by: deloev
0 Replies
Login or Register to Ask a Question