root fs on unknown block(8,18)

AmigaOne X1000 platform specific issues related to Linux only.

root fs on unknown block(8,18)

Postby kilaueabart » Mon Dec 07, 2015 3:25 am

Yesterday I tried running Ubuntu 15.10 for the first time since posting that long list of error messages on "(non-)boot messages" to see if it would reproduce exactly the same list.

No. This time it came up with:
(Two penguins)
NEMO SB600 IOB base e0000000
Kernel panic - not syncing:
VFS: Unable to mount root fs on unknown block(8,18)


Not being a linux maven, I interpret that to mean "You better reformat the partition and reinstall 15.10 from scratch." But perhaps someone knows a friendlier interpretation? Mine takes hours.

Not that it matters, but I first did that with a new version of kernel-3.19 because CFE had complained about the one in CF0: before. But then I tried kernel-4.1 with exactly the same output.
User avatar
kilaueabart
 
Posts: 417
Joined: Mon Mar 05, 2012 3:36 am

Re: root fs on unknown block(8,18)

Postby mechanic » Mon Dec 07, 2015 5:45 pm

It seems CF0 is rather picky. You can add files to it without problem, but if you delete one it may bung things up.
Use the advice Xeno gave me. Save what you need from CF0 and reformat it, then put stuff back on. Worked for me.

Also, you can make a small FAT partition on the HD and boot from that. Then your root would be sdx2.
A-Eon A1X1000
User avatar
mechanic
 
Posts: 481
Joined: Sat Jun 25, 2011 10:22 pm

Re: root fs on unknown block(8,18)

Postby kilaueabart » Tue Dec 08, 2015 4:14 am

mechanic wrote:Use the advice Xeno gave me. Save what you need from CF0 and reformat it, then put stuff back on. Worked for me.

Thanks for the suggestion. I have reformatted, and copied the three kernels I use back to it. In a little while I'll get up the nerve to try it out, first to be sure I can still get 12.04.
Also, you can make a small FAT partition on the HD and boot from that. Then your root would be sdx2.

This is over my head. Currently I boot with root as /dev/sdb1, presumably because that is where Ubuntu 12.04 LST resides. What would I put on sdx2? And should I interpret sdx2 as /dev/sdb3, in light of the fact that I have sdb2 full of Ubuntu 15.10 files?


I'll just add here: 12.04 boots fine, /dev/sdb2 gets the previously reported message. I didn't add the rest before. After the Kernel panic line is this stuff:

CPU: 1 PID: 1 Comm: swapper/o Not tainted 4.1.13_A-EON_AMIGA_one
Input: Logitech USB Receiver as /devices/pc10000:00/0000:00:11.0/0000:05:13/0/usb2/2-1/2-1:1.0/0000:046[???].0001/input/input0
Call Trace:
[c00000007a19f9d0] [c0000000009de7a0] .dump_stack+0x88/0xa8 (unreliable)
[c00000007a19fa50] [c0000000009db524] .panic+0xe8/0x260
[c00000007a19faf0] [c00000000111ef9c] .mount_block_root+0x2a0/0x2b8
[c00000007a19fbc0] [c00000000111f0e8] .mount_root+0x134/0x13c
[c00000007a19fc70] [c00000000111f280] .prepare_namespace+0x19/0x1dc
[c00000007a19fd00] [c00000000111eaf0] .kernel_init_freeable+0x210/0x224
[c00000007a19fdb0] [c000000000009c20] .kernel_init+0x20/0x118
[c00000007a19fe30] [c000000000007ea8] .ret_from_kernel_thread+0x58/0xb0
drm_kms_helper: panic occurred, switching back to text console
Rebooting in 180 seconds.._

I think it still means "Install 15:10 again from scratch."
User avatar
kilaueabart
 
Posts: 417
Joined: Mon Mar 05, 2012 3:36 am

Re: root fs on unknown block(8,18)

Postby mechanic » Tue Dec 08, 2015 3:41 pm

I use LinuxMint so I don't know how the Ubuntu installer works. However, you cannot have two root (/) partitions on the same drive unless they can't see each other at boot time. So just guessing here.

When you setup sdb2 for 15.10 did you (or were you able to) mark sdb1 as 'Do Not Use' in the HD selection and formatting section of the installer?

Also, if you have a SWAP partition on sdb then you can also mark any SWAP partitions on other drives as 'Do Not Use'.

Perhaps one of the Ubuntu guys could help better if this 2 roots is indeed your problem.
A-Eon A1X1000
User avatar
mechanic
 
Posts: 481
Joined: Sat Jun 25, 2011 10:22 pm


Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: Bing [Bot] and 4 guests