fdisk broken? [SOLVED]

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: fdisk broken?

Postby moonman » Sun Nov 25, 2012 12:49 pm

$this->bbcode_second_pass_quote('bodhi', '')$this->bbcode_second_pass_quote('xenoxaos', 'I') reconfigured the kernel. pacman -Syu and you should no longer get any mtdblock errors


xenoxaos, what was the reason for this error? how did you reconfigure the kernel?

Thx


mtd is not compiled into the kernel anymore and built as a module
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: fdisk broken?

Postby xenoxaos » Sun Nov 25, 2012 2:31 pm

$this->bbcode_second_pass_quote('moonman', '')$this->bbcode_second_pass_quote('bodhi', '')$this->bbcode_second_pass_quote('xenoxaos', 'I') reconfigured the kernel. pacman -Syu and you should no longer get any mtdblock errors


xenoxaos, what was the reason for this error? how did you reconfigure the kernel?

Thx


mtd is not compiled into the kernel anymore and built as a module

mtd IS built into the kernel...MTD_BLOCKDEV is built as a module. Treating nand as a block device is stupid and should only be used if the filesystem in use know's it's a dumb nand block device...which most don't.

So, unless you're using a jffs root filesystem (you should probably be using ubifs anyway), you don't need mtdblock at all.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am
Top

Re: fdisk broken? [SOLVED]

Postby moonman » Sun Nov 25, 2012 9:07 pm

Yeah, at 5:49 am I did feel like looking up what exactly you changed in that config even though an hour earlier I did the same :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: fdisk broken?

Postby bodhi » Sun Nov 25, 2012 10:34 pm

$this->bbcode_second_pass_quote('xenoxaos', '
')mtd IS built into the kernel...MTD_BLOCKDEV is built as a module. Treating nand as a block device is stupid and should only be used if the filesystem in use know's it's a dumb nand block device...which most don't.

So, unless you're using a jffs root filesystem (you should probably be using ubifs anyway), you don't need mtdblock at all.


Ah! thank you for explanation. I was not able to find the answer why this occurs for a long while.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am
Top

Previous

Return to User Questions

Who is online

Users browsing this forum: No registered users and 3 guests