new kernel 3.2 does not boot on the dockstar

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

new kernel 3.2 does not boot on the dockstar

Postby cyberic » Sun Jan 22, 2012 11:57 am

I had a 3.1.7-2 kernel ooting ok, but this morning, I did a complete upgrade, which updated linux to 3.2.1-1.
And the dockstar does no longer boot

Here is what I got with he old kernel on the netconsole:
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.1.7-2-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2851368 Bytes = 2.7 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

And with the new one:
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.2.1-1-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2952128 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Unfortunately I don't have a ca-42 do do further debug

But I kept the old kernel so I still boot

Should I fill a bug report?
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Re: new kernel 3.2 does not boot on the dockstar

Postby kmihelich » Sun Jan 22, 2012 4:37 pm

I confirmed that it isn't booting on a dockstar I just pulled out. Looking into the issue now.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: new kernel 3.2 does not boot on the dockstar

Postby BinaryJay » Sun Jan 22, 2012 5:29 pm

A few other problems I've noticed after updating.

1) MPD is broken because for some reason alsa isn't working with either of my different audio devices on both of my V2 plugs any more. The same configuration had previously worked for a very long time.

output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib pcm_direct.c:1505:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
alsa: Error opening default ALSA device: No such device

---
alsactl init 0
alsactl: init:1762: Cannot find soundcard '0'...
---

dmesg

$this->bbcode_second_pass_code('', '
[ 16.842405] snd_usb_audio: Unknown symbol snd_ctl_add (err 0)
[ 16.842438] snd_usb_audio: Unknown symbol snd_pcm_lib_free_vmalloc_buffer (e$
[ 16.842463] snd_usb_audio: Unknown symbol snd_pcm_new (err 0)
[ 16.842493] snd_usb_audio: Unknown symbol snd_card_register (err 0)
[ 16.842506] snd_usb_audio: Unknown symbol snd_card_free (err 0)
[ 16.842524] snd_usb_audio: Unknown symbol snd_card_proc_new (err 0)
[ 16.842544] snd_usb_audio: Unknown symbol snd_pcm_stop (err 0)
[ 16.842556] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_minmax (err $
[ 16.842593] snd_usb_audio: Unknown symbol snd_pcm_format_physical_width (err$
[ 16.842611] snd_usb_audio: Unknown symbol snd_ctl_find_id (err 0)
[ 16.842635] snd_usb_audio: Unknown symbol snd_ctl_new1 (err 0)
[ 16.842665] snd_usb_audio: Unknown symbol _snd_pcm_lib_alloc_vmalloc_buffer $
[ 16.842678] snd_usb_audio: Unknown symbol snd_component_add (err 0)
[ 16.842696] snd_usb_audio: Unknown symbol snd_pcm_hw_rule_add (err 0)
[ 16.842714] snd_usb_audio: Unknown symbol snd_ctl_enum_info (err 0)
[ 16.842726] snd_usb_audio: Unknown symbol snd_iprintf (err 0)
[ 16.842743] snd_usb_audio: Unknown symbol snd_ctl_boolean_mono_info (err 0)
[ 16.842765] snd_usb_audio: Unknown symbol snd_pcm_lib_ioctl (err 0)
[ 16.842777] snd_usb_audio: Unknown symbol snd_hwdep_new (err 0)
[ 16.842805] snd_usb_audio: Unknown symbol snd_pcm_new_stream (err 0)
[ 16.842831] snd_usb_audio: Unknown symbol snd_pcm_lib_get_vmalloc_page (err
[ 16.842844] snd_usb_audio: Unknown symbol snd_card_free_when_closed (err 0)
[ 16.842857] snd_usb_audio: Unknown symbol snd_ctl_notify (err 0)
[ 16.842873] snd_usb_audio: Unknown symbol snd_pcm_set_ops (err 0)
[ 16.842897] snd_usb_audio: Unknown symbol snd_pcm_hw_constraint_list (err 0)
[ 16.842917] snd_usb_audio: Unknown symbol snd_device_new (err 0)
[ 16.842930] snd_usb_audio: Unknown symbol snd_pcm_rate_to_rate_bit (err 0)
[ 16.842969] snd_usb_audio: Unknown symbol snd_pcm_suspend_all (err 0)
[ 16.842988] snd_usb_audio: Unknown symbol snd_card_disconnect (err 0)
[ 16.843041] snd_usb_audio: Unknown symbol snd_usbmidi_create (err 0)
[ 16.843054] snd_usb_audio: Unknown symbol snd_card_create (err 0)
[ 16.843069] snd_usb_audio: Unknown symbol snd_pcm_period_elapsed (err 0)
[ 16.843100] snd_usb_audio: Unknown symbol snd_pcm_format_name (err 0)
[ 16.843112] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect (err 0)
')

lsmod predictably shows snd_usb_audio not loaded

[root@Musicbox dev]# lsmod
Module Size Used by
ipv6 254908 14
md4 3031 0
hmac 2403 1
cifs 249156 2
mv_cesa 9269 0
fuse 59016 0


Actually tried downgrading to last kernel version and it's still a problem so maybe I just didn't notice, I'm not sure when exactly this broke then. Is this something more to do with the recent move to kmod over module-init-tools?

2) mt-daapd is broken because of messing library dependency

/usr/sbin/mt-daapd: error while loading shared libraries: libgdbm.so.3: cannot open shared object file: No such file or directory

The file is missing and I'm not sure what package contains it.

3) That plug did not come back at all after rebooting. I'm not sure how or why but after many attempts at booting it finally came back up. I then restarted it again and it failed for many more tries to boot up, when it came up yet again for reasons unknown I have left it but this may be related to the original post.
BinaryJay
 
Posts: 87
Joined: Mon Dec 06, 2010 10:27 pm

Re: new kernel 3.2 does not boot on the dockstar

Postby pennguin » Sun Jan 22, 2012 8:47 pm

Although on GoFlex Net, I have similar problems after upgrading to 3.2. There are a lot of unknown symbols errors for different kernel modules:
$this->bbcode_second_pass_code('', '[ 8.331716] dvb_usb_dw2102: Unknown symbol dvb_usb_generic_rw (err 0)
[ 8.331770] dvb_usb_dw2102: Unknown symbol i2c_transfer (err 0)
[ 8.331782] dvb_usb_dw2102: Unknown symbol dvb_usb_device_init (err 0)
[ 8.331793] dvb_usb_dw2102: Unknown symbol dvb_usb_device_exit (err 0)
[ 21.020606] nfs: Unknown symbol nlmclnt_proc (err 0)
[ 21.021144] nfs: Unknown symbol gss_mech_list_pseudoflavors (err 0)
[ 21.022059] nfs: Unknown symbol gss_svc_to_pseudoflavor (err 0)
[ 21.023157] nfs: Unknown symbol gss_mech_get_by_OID (err 0)
[ 21.023640] nfs: Unknown symbol svc_gss_principal (err 0)
[ 21.023724] nfs: Unknown symbol gss_mech_put (err 0)
[ 21.023839] nfs: Unknown symbol nlmclnt_init (err 0)
[ 21.023875] nfs: Unknown symbol nlmclnt_done (err 0)
[ 21.067953] nfsd: Unknown symbol nlmsvc_unlock_all_by_ip (err 0)
[ 21.068288] nfsd: Unknown symbol nlmsvc_unlock_all_by_sb (err 0)
[ 21.068314] nfsd: Unknown symbol locks_end_grace (err 0)
[ 21.068340] nfsd: Unknown symbol lockd_down (err 0)
[ 21.068374] nfsd: Unknown symbol lockd_up (err 0)
[ 21.068751] nfsd: Unknown symbol locks_in_grace (err 0)
[ 21.068808] nfsd: Unknown symbol gss_mech_get_by_pseudoflavor (err 0)
[ 21.069352] nfsd: Unknown symbol gss_pseudoflavor_to_service (err 0)
[ 21.069501] nfsd: Unknown symbol nlmsvc_ops (err 0)
[ 21.069528] nfsd: Unknown symbol svc_gss_principal (err 0)
[ 21.069573] nfsd: Unknown symbol gss_mech_put (err 0)
[ 21.069667] nfsd: Unknown symbol locks_start_grace (err 0)
[ 21.069742] nfsd: Unknown symbol svcauth_gss_flavor (err 0)
[ 21.336783] nfsd: Unknown symbol nlmsvc_unlock_all_by_ip (err 0)
[ 21.337110] nfsd: Unknown symbol nlmsvc_unlock_all_by_sb (err 0)
[ 21.337136] nfsd: Unknown symbol locks_end_grace (err 0)
[ 21.337163] nfsd: Unknown symbol lockd_down (err 0)
[ 21.337196] nfsd: Unknown symbol lockd_up (err 0)
[ 21.337572] nfsd: Unknown symbol locks_in_grace (err 0)
[ 21.337631] nfsd: Unknown symbol gss_mech_get_by_pseudoflavor (err 0)
[ 21.338172] nfsd: Unknown symbol gss_pseudoflavor_to_service (err 0)
[ 21.338320] nfsd: Unknown symbol nlmsvc_ops (err 0)
[ 21.338348] nfsd: Unknown symbol svc_gss_principal (err 0)
[ 21.338392] nfsd: Unknown symbol gss_mech_put (err 0)
[ 21.338486] nfsd: Unknown symbol locks_start_grace (err 0)
[ 21.338561] nfsd: Unknown symbol svcauth_gss_flavor (err 0)
')

Fortunately it boots without any problems.

Edit:
Removing kmod and downgrading these packages to following versions seems to be working workaround:
module-init-tools-3.16-3-arm.pkg.tar.xz mkinitcpio-0.8.0-3-any.pkg.tar.xz udev-175-1-arm.pkg.tar.xz
Works even on linux 3.2.
pennguin
 
Posts: 9
Joined: Tue Nov 08, 2011 1:33 pm

Re: new kernel 3.2 does not boot on the dockstar

Postby BinaryJay » Mon Jan 23, 2012 1:18 am

Unfortunately the plug I tried the above downgrade suggestion on will no longer boot at all and just goes into the cloudengines environment.

--> Was just due to filesystem corruption, gotta love that. At any rate, the problem with the usb sound module remains.


modprobe snd_usb_audio
FATAL: Error inserting snd_usb_audio (/lib/modules/3.2.1-1-ARCH/kernel/sound/usb/snd-usb-audio.ko.gz): Unknown symbol in module, or unknown parameter (see dmesg)

With everything up to date per the repository, modprobe snd_usb_audio returns no result but still doesn't load.
BinaryJay
 
Posts: 87
Joined: Mon Dec 06, 2010 10:27 pm

Re: new kernel 3.2 does not boot on the dockstar

Postby kmihelich » Mon Jan 23, 2012 4:46 am

My apologies that this upgrade wasn't exactly clean. OMAP and Tegra didn't experience any problems, they're actually running very well, so I just assumed v5 would be alright after I saw it come up fine on a GFN and PPv4 that I have on my desk.

Anyway, I'll just be candid about it: kmod sucks, at least on v5 right now. Again, I haven't had any of the symbol errors on OMAP/Tegra, so there's something fishy going on with kirkwood. The problems with 3.2 also aren't just happening to us, and there isn't exactly an easy button to push just yet. I'm still digging through and trying to find the fundamental problem, because flipping a few switches to make it "just work" isn't really my thing.

This issue has also been brought up here. To summarize, it seems to be an issue with some new additions, as well as the kernel decompression code. As time permits I'll be looking more into it, but for those inclined all of the current sources for the kernel PKGBUILD are in github if you want to try your hand at it. Any help is welcome.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: new kernel 3.2 does not boot on the dockstar

Postby emkay » Mon Jan 23, 2012 7:48 am

No problems with 3.2 on PPv4. I don't get no "Unknown symbol"s or can note any problems with kmod so far.

Thanks kmihelich for your great work so far!
emkay
 
Posts: 12
Joined: Wed Nov 30, 2011 10:45 pm

Re: new kernel 3.2 does not boot on the dockstar

Postby cyberic » Mon Jan 23, 2012 9:17 am

It could indeed be a kernel decompression problem.
On my dockstar, i have a usb key which flashes when it is accessed. When booting the 3.2, no light at all.
The kernel seems to hang very early...
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Re: new kernel 3.2 does not boot on the dockstar

Postby hojnikb » Mon Jan 23, 2012 2:28 pm

Having the same issues on dockstar here aswell: didnt realize that the kernel is broken.

Guess ill have to manually downgrade to get it working again.
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: new kernel 3.2 does not boot on the dockstar

Postby hojnikb » Mon Jan 23, 2012 2:33 pm

Anyone has a link to old kernel, i cant seem to find it ...
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 32 guests