Fedora Linux Support Community & Resources Center
  #1  
Old 1st March 2012, 02:35 PM
Hirudo Offline
Registered User
 
Join Date: Mar 2012
Location: USA
Posts: 1
windows_7firefox
F15 on ARM with iscsi root and dhcp

Running on a Sheevaplug, using the F15 root fs from http://fedoraproject.org/wiki/Architectures/ARM, and the 2.6.35 kernel from git://git.marvell.com/orion.git with a cgroups patch to make systemd happy. root fs is on iscsi.

initramfs created using dracut with -a iscsi

I'm having the following problems:

1) Can't figure out how to properly get DHCP to work after the initramfs is done. Right now I set the ifcfg file to just ignore the interface. That way the box comes up properly, but none of the DHCP-supplied settings get applied (DNS servers, NTP server, NIS server) ; additionally, since no DHCP client seems to be running anymore, there's nothing to renew the lease on the service when needed.

2) Can't reboot the system. Something tries to stop the network, so after that everything flips out:

Stopping LSB: Bring up/down networking...
Stopping LSB: Starts and stops login iSCSI daemon....
Stopped LSB: Starts and stops login iSCSI daemon..
Shutting down interface eth0: connection1:0: detected conn error (1011)
INFO: task jbd2/sda-8:1097 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
jbd2/sda-8 D c03d4a6c 0 1097 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c03d4b70>] (io_schedule+0x48/0x7c)
[<c03d4b70>] (io_schedule+0x48/0x7c) from [<c0083894>] (sync_page+0x50/0x5c)
[<c0083894>] (sync_page+0x50/0x5c) from [<c03d5468>] (__wait_on_bit+0x54/0xa0)
[<c03d5468>] (__wait_on_bit+0x54/0xa0) from [<c0083a78>] (wait_on_page_bit+0x8c/0x9c)
[<c0083a78>] (wait_on_page_bit+0x8c/0x9c) from [<c00840d8>] (filemap_fdatawait_range+0x68/0x138)
[<c00840d8>] (filemap_fdatawait_range+0x68/0x138) from [<c0084214>] (filemap_fdatawait+0x6c/0x70)
[<c0084214>] (filemap_fdatawait+0x6c/0x70) from [<c0146d98>] (jbd2_journal_commit_transaction+0xa24/0x1594)
[<c0146d98>] (jbd2_journal_commit_transaction+0xa24/0x1594) from [<c014a3e4>] (kjournald2+0xb4/0x254)
[<c014a3e4>] (kjournald2+0xb4/0x254) from [<c005202c>] (kthread+0x78/0x80)
[<c005202c>] (kthread+0x78/0x80) from [<c002c2e0>] (kernel_thread_exit+0x0/0x8)
INFO: task flush-8:0:1102 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
flush-8:0 D c03d4a6c 0 1102 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c01457e0>] (do_get_write_access+0x25c/0x490)
[<c01457e0>] (do_get_write_access+0x25c/0x490) from [<c0145b54>] (jbd2_journal_get_write_access+0x24/0x38)
[<c0145b54>] (jbd2_journal_get_write_access+0x24/0x38) from [<c012f864>] (__ext4_journal_get_write_access+0x4c/0x5c)
[<c012f864>] (__ext4_journal_get_write_access+0x4c/0x5c) from [<c0131850>] (ext4_mb_mark_diskspace_used+0x6c/0x3e4)
[<c0131850>] (ext4_mb_mark_diskspace_used+0x6c/0x3e4) from [<c0136530>] (ext4_mb_new_blocks+0x1c8/0x3d4)
[<c0136530>] (ext4_mb_new_blocks+0x1c8/0x3d4) from [<c012e50c>] (ext4_ext_map_blocks+0x13b8/0x177c)
[<c012e50c>] (ext4_ext_map_blocks+0x13b8/0x177c) from [<c011c914>] (ext4_map_blocks+0xec/0x1b4)
[<c011c914>] (ext4_map_blocks+0xec/0x1b4) from [<c011ea5c>] (mpage_da_map_blocks+0xf4/0x7c8)
[<c011ea5c>] (mpage_da_map_blocks+0xf4/0x7c8) from [<c011f810>] (ext4_da_writepages+0x268/0x400)
[<c011f810>] (ext4_da_writepages+0x268/0x400) from [<c008ad58>] (do_writepages+0x24/0x38)
[<c008ad58>] (do_writepages+0x24/0x38) from [<c00ca8fc>] (writeback_single_inode+0xc8/0x250)
[<c00ca8fc>] (writeback_single_inode+0xc8/0x250) from [<c00cb340>] (writeback_inodes_wb+0x32c/0x43c)
[<c00cb340>] (writeback_inodes_wb+0x32c/0x43c) from [<c00cb59c>] (wb_writeback+0x14c/0x1e8)
[<c00cb59c>] (wb_writeback+0x14c/0x1e8) from [<c00cb944>] (wb_do_writeback+0x200/0x228)
[<c00cb944>] (wb_do_writeback+0x200/0x228) from [<c00cb98c>] (bdi_writeback_task+0x20/0x128)
[<c00cb98c>] (bdi_writeback_task+0x20/0x128) from [<c0095cec>] (bdi_start_fn+0x78/0xf0)
[<c0095cec>] (bdi_start_fn+0x78/0xf0) from [<c005202c>] (kthread+0x78/0x80)
[<c005202c>] (kthread+0x78/0x80) from [<c002c2e0>] (kernel_thread_exit+0x0/0x8)
<28>systemd[1]: network.service stopping timed out. Terminating.
Stopped LSB: Bring up/down networking.
Stopping LSB: start and stop ip6tables firewall...
Stopping LSB: start and stop iptables firewall...
<29>systemd[1]: Unit network.service entered failed state.
Stopped LSB: start and stop iptables firewall.
Stopped LSB: start and stop ip6tables firewall.
Stopping Apply System Clock UTC Offset...
Stopped Apply System Clock UTC Offset.
Starting Update RTC With System Clock...
Stopping Apply Kernel Variables...
Stopped Apply Kernel Variables.
Stopping Setup Virtual Console...
Stopped Setup Virtual Console.
Stopping Enable all detected swap partitions...
Stopped Enable all detected swap partitions.
Starting Notify Audit System and Update UTMP about System Shutdown...
Stop<29>ping Runtime Dirsystemdectory...
Stopp[1]: ing Initialize sUnit systemd-readahead-collect.service entered failed state.torage subsystems (RAID, LVM, etc.)...
Stopped Initialize storage subsystems (RAID, LVM, etc.).
Stopping Remount Root FS...
Stopped Remount Root FS.
Stopping Media Director
y...
Stopping Initialize storage subsystems (RAID, LVM, etc.)...
Stopped Initialize storage subsystems (RAID, LVM, etc.).
Stopping Wait for storage scan...
Stopped Wait for storage scan.
Stopping Remount API VFS...
Stopped Remount API VFS.
Stopping Collect Read-Ahead Data...
Stopped Collect Read-Ahead Data.
Stopping Bootup hack...
Stopped Bootup hack.
INFO: task jbd2/sda-8:1097 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
jbd2/sda-8 D c03d4a6c 0 1097 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c03d4b70>] (io_schedule+0x48/0x7c)
[<c03d4b70>] (io_schedule+0x48/0x7c) from [<c0083894>] (sync_page+0x50/0x5c)
[<c0083894>] (sync_page+0x50/0x5c) from [<c03d5468>] (__wait_on_bit+0x54/0xa0)
[<c03d5468>] (__wait_on_bit+0x54/0xa0) from [<c0083a78>] (wait_on_page_bit+0x8c/0x9c)
[<c0083a78>] (wait_on_page_bit+0x8c/0x9c) from [<c00840d8>] (filemap_fdatawait_range+0x68/0x138)
[<c00840d8>] (filemap_fdatawait_range+0x68/0x138) from [<c0084214>] (filemap_fdatawait+0x6c/0x70)
[<c0084214>] (filemap_fdatawait+0x6c/0x70) from [<c0146d98>] (jbd2_journal_commit_transaction+0xa24/0x1594)
[<c0146d98>] (jbd2_journal_commit_transaction+0xa24/0x1594) from [<c014a3e4>] (kjournald2+0xb4/0x254)
[<c014a3e4>] (kjournald2+0xb4/0x254) from [<c005202c>] (kthread+0x78/0x80)
[<c005202c>] (kthread+0x78/0x80) from [<c002c2e0>] (kernel_thread_exit+0x0/0x8)
INFO: task flush-8:0:1102 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
flush-8:0 D c03d4a6c 0 1102 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c01457e0>] (do_get_write_access+0x25c/0x490)
((CUT))
<28>systemd[1]: var-run.mount unmounting timed out. Stopping.Stopped Runtime Directory.
Stopped Media Directory.

<28>systemd[1]: media.mount unmounting timed out. Stopping.
<29>systemd[1]: Unit var-run.mount entered failed state.
<29>systemd[1]: Unit media.mount entered failed state.
INFO: task jbd2/sda-8:1097 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
jbd2/sda-8 D c03d4a6c 0 1097 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c03d4b70>] (io_schedule+0x48/0x7c)
((CUT))
INFO: task hwclock:2231 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
hwclock D c03d4a6c 0 2231 1 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c01457e0>] (do_get_write_access+0x25c/0x490)
((CUT))
INFO: task jbd2/sda-8:1097 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
jbd2/sda-8 D c03d4a6c 0 1097 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c03d4b70>] (io_schedule+0x48/0x7c)
((CUT))
INFO: task flush-8:0:1102 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
flush-8:0 D c03d4a6c 0 1102 2 0x00000000
[<c03d4a6c>] (schedule+0x2c4/0x380) from [<c01457e0>] (do_get_write_access+0x25c/0x490)
((CUT))
[<c00cb340>] (writeback_inodes_wb+0x32c/0x43c) from [<c00cb59c>] (wb_writeback+0x14c/0x1e8)
[<c00cb59c>] (wb_writeback+0x14c/0x1e8) from [<c00cb944>] (wb_do_writeback+0x200/0x228)
[<c00cb944>] (wb_do_writeback+0x200/0x228) from [<c00cb98c>] (bdi_writeback_task+0x20/0x128)
[<c00cb98c>] (bdi_writeback_task+0x20/0x128) from [<c0095cec>] (bdi_start_fn+0x78/0xf0)
[<c0095cec>] (bdi_start_fn+0x78/0xf0) from [<c005202c>] (kthread+0x78/0x80)
[<c005202c>] (kthread+0x78/0x80) from [<c002c2e0>] (kernel_thread_exit+0x0/0x8)

and then it just hangs.


3) Can't figure out how to install mysql-server. It's available in the default yum repo but fails to install with:

Error: Package: mysql-server-5.5.14-2.fc15.0.arm1.armv5tel (fedora)
Requires: perl-DBD-MySQL
Error: Package: perl-DBI-1.616-3.fc15.armv5tel (fedora)
Requires: perl(Coro::Handle)
Error: Package: perl-DBI-1.616-3.fc15.armv5tel (fedora)
Requires: perl(Coro::Select)
Error: Package: perl-DBI-1.616-3.fc15.armv5tel (fedora)
Requires: perl(Coro)

Will I have to manually rebuild the perl package to get this solved?


Update: Managed to get #3 working. Found https://bugzilla.redhat.com/show_bug...iple&id=750805 ; downloading the latest perl-Coro source rpm and applying the second patch from the page allowed perl-Coro to build ; subsequently downloading the perl-DBD-Mysql source rpm and rebuilding then finally allowed mysql-server to install.


Any help will be appreciated.

Last edited by Hirudo; 1st March 2012 at 07:48 PM. Reason: Update on question 3
Reply With Quote
Reply

Tags
arm, dhcp, f15, iscsi, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pxeboot iscsi root. stoggy Installation, Upgrades and Live Media 11 22nd November 2011 01:37 AM
ISCSI on Fedora Core 9 (netbsd-iscsi vanheemst Installation, Upgrades and Live Media 3 19th November 2008 05:11 PM
FC4 kickstart for DHCP / NFS root installer raqtweak.com EOL (End Of Life) Versions 0 22nd November 2006 03:43 PM


Current GMT-time: 23:52 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat