Pacman Update Problem

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

Re: Pacman Update Problem

Postby karog » Tue Jun 05, 2012 7:09 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f you are one of the many that have had to modify the /etc/pacman.conf, then you will need to append a few lines to the bottom of that file to add the [alarm] repository.

$this->bbcode_second_pass_code('', '
[alarm]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist
')

If we had not needed to modify it for the Initscripts problem, this would not be an issue.

I added the repo, installed, hwids, libaccept4 and systemd-tools (removing udev-oxnas). When I boot, the LED flashes and then goes out. I can ping successfully but it refuses ssh.

I tried this twice by refreshing a test flash from the primary one with the same results both times.

I have another pogo I can plug the flash drive into to examine it. But I have no serial cable.

Any suggestions?

UPDATE:
Moving the flash to another pogo and looking at the messages.log I see:
$this->bbcode_second_pass_code('', '
Jun 5 15:07:45 p21 ntpd[789]: set local clock to Tue Jun 5 15:07:45 EDT 2012 (offset 1338923239.763607s)
Jun 5 15:07:46 p21 init: open(/dev/console): No such file or directory
Jun 5 15:07:46 p21 init: open(/dev/console): No such file or directory
Jun 5 15:07:46 p21 init: open(/dev/console): No such file or directory
Jun 5 15:07:46 p21 dhcpcd[754]: eth0: sending IPv6 Router Solicitation
Jun 5 15:07:50 p21 dhcpcd[754]: eth0: sending IPv6 Router Solicitation
Jun 5 15:07:50 p21 dhcpcd[754]: eth0: no IPv6 Routers available
Jun 5 15:07:56 p21 init: open(/dev/console): No such file or directory
Jun 5 15:07:56 p21 init: open(/dev/console): No such file or directory
Jun 5 15:07:56 p21 init: open(/dev/console): No such file or directory
')
kernel.log looks fine.

In errors.log I see:
$this->bbcode_second_pass_code('', '
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-cdrom_id.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-persistent-alsa.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-persistent-input.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-persistent-serial.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-persistent-storage-tape.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-persistent-storage.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/60-persistent-v4l.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/61-accelerometer.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/70-udev-acl.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/75-net-description.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/75-probe_mtd.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/75-tty-description.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/78-sound-card.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/80-drivers.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/81-arch.rules': No such file or directory
Jun 5 15:05:57 p21 udevd[362]: can not find '/lib/udev/rules.d/95-keyboard-force-release.rules': No such file or directory
')
The only thing in /lib/udev/rules.d is 60-pcmcia.rules.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: Pacman Update Problem

Postby WarheadsSE » Tue Jun 05, 2012 8:15 pm

Yes, the mysterious missing rules look to be an issue.

All of the below are part of the systemd-tools package
$this->bbcode_second_pass_code('', 'systemd-tools /usr/lib/udev/rules.d/
systemd-tools /usr/lib/udev/rules.d/42-usb-hid-pm.rules
systemd-tools /usr/lib/udev/rules.d/50-udev-default.rules
systemd-tools /usr/lib/udev/rules.d/60-cdrom_id.rules
systemd-tools /usr/lib/udev/rules.d/60-persistent-alsa.rules
systemd-tools /usr/lib/udev/rules.d/60-persistent-input.rules
systemd-tools /usr/lib/udev/rules.d/60-persistent-serial.rules
systemd-tools /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
systemd-tools /usr/lib/udev/rules.d/60-persistent-storage.rules
systemd-tools /usr/lib/udev/rules.d/60-persistent-v4l.rules
systemd-tools /usr/lib/udev/rules.d/61-accelerometer.rules
systemd-tools /usr/lib/udev/rules.d/70-power-switch.rules
systemd-tools /usr/lib/udev/rules.d/70-uaccess.rules
systemd-tools /usr/lib/udev/rules.d/71-seat.rules
systemd-tools /usr/lib/udev/rules.d/73-seat-late.rules
systemd-tools /usr/lib/udev/rules.d/75-net-description.rules
systemd-tools /usr/lib/udev/rules.d/75-probe_mtd.rules
systemd-tools /usr/lib/udev/rules.d/75-tty-description.rules
systemd-tools /usr/lib/udev/rules.d/78-sound-card.rules
systemd-tools /usr/lib/udev/rules.d/80-drivers.rules
systemd-tools /usr/lib/udev/rules.d/95-keyboard-force-release.rules
systemd-tools /usr/lib/udev/rules.d/95-keymap.rules
systemd-tools /usr/lib/udev/rules.d/95-udev-late.rules
systemd-tools /usr/lib/udev/rules.d/99-systemd.rules
')

Which.. tells me that /lib vs /usr/lib has reached my forehead. A wtf there.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pacman Update Problem

Postby WarheadsSE » Tue Jun 05, 2012 8:35 pm

Temporary cheater method:

- mount on other plug
- cd /path/to/flash
- rm -rf lib/udev/rules.d
- ln -s usr/lib/udev/rules.d lib/udev/rules.d

SUPER CHEATER NOT GOING TO SUPPORT THIS METHOD.

Note, however, that udev should be looking to /usr/lib ... did you re-install udev-oxnas ? You actually *dont* want to do that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pacman Update Problem

Postby karog » Tue Jun 05, 2012 9:04 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'T')emporary cheater method:

- mount on other plug
- cd /path/to/flash
- rm -rf lib/udev/rules.d
- ln -s usr/lib/udev/rules.d lib/udev/rules.d

SUPER CHEATER NOT GOING TO SUPPORT THIS METHOD.

Note, however, that udev should be looking to /usr/lib ... did you re-install udev-oxnas ? You actually *dont* want to do that.

No, I did not reinstall udev-oxnas. I removed it when it asked while installing systemd-tools and did nothing with it thereafter. I think I even checked with pacman -Qs udev to see what was there and only systemd-tools and udev-automount showed up.

Right now I am starting over by copying my primary flash to my test flash and then will do the steps again.

Without / before usr/lib in the ln -s, won't that make the link relative and wrong when booting from the drive?

UPDATE:
I used ln -s ../../usr/lib/udev/rules.d lib/udev/rules.d

It still did not work. Most of the device problems went away but these remained:
$this->bbcode_second_pass_code('', '
Jun 5 17:26:02 p21 agetty[803]: /dev/ttyS0: No such file or directory
Jun 5 17:26:02 p21 agetty[804]: /dev/tty1: No such file or directory
Jun 5 17:26:02 p21 agetty[805]: /dev/tty2: No such file or directory
Jun 5 17:26:13 p21 agetty[807]: /dev/ttyS0: No such file or directory
Jun 5 17:26:13 p21 agetty[808]: /dev/tty1: No such file or directory
Jun 5 17:26:13 p21 agetty[809]: /dev/tty2: No such file or directory
')
60-pcmcia.rules seems to be removed from the rules.d. That is, it was in the old /lib/udev/rules.d with associated programs in /lib/udev and installing systemd-tools does not remove it but also it does not appear in /usr/lib/udev/rules.d. That is the only one left behind. Is there no longer or was there never a need for it?

I am mystified why schn4rk above stated it worked for him but it is failing for me.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: Pacman Update Problem

Postby WarheadsSE » Tue Jun 05, 2012 10:25 pm

Because he may be on a different device. After all, you're posting in the wrong forum section for an oxnas.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pacman Update Problem

Postby karog » Tue Jun 05, 2012 11:08 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'B')ecause he may be on a different device. After all, you're posting in the wrong forum section for an oxnas.

Oh, sorry. I saw your mention in the 2nd message of this thread, of udev-oxnas and that you would be releasing a package. And that is the first message that schn4rk replied to. I got here via google of the problem. So it seemed like the correct thread. I didn't come in from the forum hierarchy.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm
Top

Re: Pacman Update Problem

Postby nmartinho » Tue Jun 05, 2012 11:24 pm

After pacman update, i'm also unable to access Pogo.
Led flashes during boot, but then no green Led.
I can Ping, but no SSH.

Please help.
nmartinho
 
Posts: 1
Joined: Tue Jun 05, 2012 11:17 pm

Re: Pacman Update Problem

Postby WarheadsSE » Wed Jun 06, 2012 12:52 am

Whee..

devtmpfs bites again.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pacman Update Problem

Postby igor76ve » Fri Jun 08, 2012 3:28 pm

Idem after upgrade pacman -Syu.... the pogo with usbpen don't restart (blinking the led for 30 secondo and turn off)
without the usbpen... blinking and stop.

:(((((
igor76ve
 
Posts: 3
Joined: Fri Jun 08, 2012 3:22 pm

Re: Pacman Update Problem

Postby saiph » Fri Jun 08, 2012 8:35 pm

When entering $this->bbcode_second_pass_code('', 'pacman -Sy systemd-tools')
I get the following output, including an error message:
$this->bbcode_second_pass_code('', '[root@archlinux ~]# pacman -Sy systemd-tools
:: Synchronizing package databases...
core 38.6 KiB 654K/s 00:00 [###########################################################################] 100%
extra 424.6 KiB 1131K/s 00:00 [###########################################################################] 100%
community 398.6 KiB 1218K/s 00:00 [###########################################################################] 100%
alarm 2.3 KiB 4.27M/s 00:00 [###########################################################################] 100%
aur 10.5 KiB 2018K/s 00:00 [###########################################################################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...
:: systemd-tools and udev are in conflict. Remove udev? [y/N] y

Targets (2): udev-182-2 [removal] systemd-tools-185-1

Total Installed Size: 2.93 MiB
Net Upgrade Size: 1.27 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity [###########################################################################] 100%
(1/1) loading package files [###########################################################################] 100%
(1/1) checking for file conflicts [###########################################################################] 100%
error: failed to commit transaction (conflicting files)
systemd-tools: /usr/share/man/man5/hostname.5.gz exists in filesystem
systemd-tools: /usr/share/man/man5/locale.conf.5.gz exists in filesystem
systemd-tools: /usr/share/man/man5/vconsole.conf.5.gz exists in filesystem
')

What is wrong?
saiph
 
Posts: 6
Joined: Thu Jun 07, 2012 11:57 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 33 guests