You are not logged in.

#1 2007-12-23 01:51:36

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

[Solved] Update broke some things

Okay, I just ran pacman -Syu and among the kernel and ndiswrapper updates some important stuff got broken.

1.   When I try to boot up it gets to the file systems spits out a bunch of stuff and gives me this error

/etc/rc.sysinit  line 271     5915 segmentation fault     /bin/mount -o remount, rw

What do i have to do to that line to let it boot normally?


2.   This isnt a fatal error, just an annoyance.  but in that same file on line 350 it says: /usr/bin/kbd_mod no such file or directory. 

Can I delete this line?

3.  and finally once again, these updates broke the wireless.  When I run netcfg2 mynetwork I get a wireless association failed error.   

Any help on this?

Last edited by semperfiguy (2007-12-28 14:50:04)

Offline

#2 2007-12-24 10:26:53

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: [Solved] Update broke some things

You might try reinstalling initscripts

pacman -Sy initscripts


-- archlinux 是一个极好的 linux

Offline

#3 2007-12-24 13:17:36

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] Update broke some things

No dice.  I get the same error.  What is the problem with this line that it keeps seg faulting?

/usr/bin/mount -o remount,rw

Last edited by semperfiguy (2007-12-24 13:17:46)

Offline

#4 2007-12-24 16:25:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] Update broke some things

Try:

touch /forcefsck
shutdown -r now
pacman -Sf util-linux-ng kbd

Offline

#5 2007-12-24 17:08:57

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] Update broke some things

Installing kbd fixed the second "problem" guess I should have figured that one... lol.

Its still seg faulting on "normal" boot though.  Can I run the command it keeps getting stuck on in the terminal as root?

/bin/mount -o remount, rw

or is that going to horribly screw me up?

Offline

#6 2007-12-24 18:12:11

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] Update broke some things

No, it's not gonna screw you up. It needs a mount-point (/) too, though, in order to work.

Offline

#7 2007-12-25 00:12:10

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] Update broke some things

These are the three lines right before it.

/etc/rc.sysinit

stat_busy "Mounting Local Filesystems"
/bin/mount -n -o remount,rw /
/bin/rm -f /etc/mtab*
# make sure / gets written to /etc/mtab
/bin/mount -o remount,rw /

The line giving me grief is last. 271.  Isnt that redundent, the almost exact line is above there with the -n switch.  could this be the problem?

Last edited by semperfiguy (2007-12-25 00:13:43)

Offline

#8 2007-12-25 00:21:41

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [Solved] Update broke some things

It's not redundant.

/etc/mtab is a text file containing the current mounts. (mount table)

The first line mounts / so it can remove /etc/mtab. The -n line tells it not to write to mtab (it's going to be removed anyway)

Second line removes any old mtab

Third line remounts /, establishing / in /etc/mtab.

Last edited by iphitus (2007-12-25 00:22:02)

Offline

#9 2007-12-25 00:43:02

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] Update broke some things

Ahh okay... Why is it seg faulting then?  I ran it in teminal and there were no errors.

Offline

#10 2007-12-25 02:44:47

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [Solved] Update broke some things

It happened to me few times that after 'pacman -Syu' I ended in console on reboot. As if pacman sometimes fails to install packages properly or corrupts my files smile.

Offline

#11 2007-12-25 03:08:36

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] Update broke some things

Did you get to a working console?  I can't even get past the mounting local filesystems section.  I just get a huge error message dump ending with that part I posted.

Offline

#12 2007-12-25 03:20:58

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [Solved] Update broke some things

Yes, most of the time. Maybe once I ended with broken kernel. Otherwise it broke my 'glibc' or 'stdlibc++', 'libopengl' and 'nvidia'. Doing pacman -S some_package always fixed it.

I would boot with arch cd into my system and check pacman.log if I couldn't boot. You can try to downgrade or reinstall some packages. And try to find what exactly put you in this problem.

Post your '/etc/fstab' please.

Last edited by dante4d (2007-12-25 03:22:45)

Offline

#13 2007-12-25 03:31:15

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] Update broke some things

Well right now I can boot using the fallback option in grub.

Here is fstab

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/sda1 /boot ext3 defaults 0 1
/dev/sda2 / ext3 defaults 0 1
/dev/sda3 /home ext3 defaults 0 1
/dev/sda5 swap swap defaults 0 0

I did an pacman -Syu update a few days ago when I first posted this thread, installed about 18 packages.  Then when I tried to boot up again, I started getting the segfault error.

Heres the /var/log/pacman.log of the night it broke:

[2007-12-22 19:53] synchronizing package lists
[2007-12-22 19:53] starting full system upgrade
[2007-12-22 19:56] upgraded cairomm (1.4.4-1 -> 1.4.6-1)
[2007-12-22 19:56] upgraded dialog (1.1_20070604-3 -> 1.1_20071028-1)
[2007-12-22 19:56] upgraded easytag (2.1.2-1 -> 2.1.4-1)
[2007-12-22 19:56] upgraded flashplugin (9.0.48.0-1 -> 9.0.115.0-1)
[2007-12-22 19:57] 
[2007-12-22 19:57] ===> Important Fontconfig configuration change <===
[2007-12-22 19:57] 
[2007-12-22 19:57] The way fontconfig is configured has been changed.
[2007-12-22 19:57] Configuration is done via /etc/fonts/conf.avail and conf.d.
[2007-12-22 19:57] Read /etc/fonts/conf.avail/README for more information.
[2007-12-22 19:57] 
[2007-12-22 19:57] Configuration via /etc/fonts/local.conf is still possible,
[2007-12-22 19:57] but is no longer recommended for options available in conf.avail.
[2007-12-22 19:57] 
[2007-12-22 19:57] updating font cache... done.
[2007-12-22 19:57] upgraded fontconfig (2.4.2-1 -> 2.5.0-1)
[2007-12-22 19:58] 
[2007-12-22 19:58] --> printing support in gimp depends on gutenprint. Install it if you need
[2007-12-22 19:58] --> printing.
[2007-12-22 19:58] 
[2007-12-22 19:58] update desktop mime database...
[2007-12-22 19:58] upgraded gimp (2.4.2-1 -> 2.4.3-1)
[2007-12-22 19:58] >>>
[2007-12-22 19:58] >>> If you use the LILO bootloader, you should run 'lilo' before rebooting.
[2007-12-22 19:58] >>>
[2007-12-22 19:58] >>> Updating module dependencies. Please wait ...
[2007-12-22 19:58] >>> MKINITCPIO SETUP
[2007-12-22 19:58] >>> ----------------
[2007-12-22 19:58] >>> If you use LVM2, Encrypted root or software RAID,
[2007-12-22 19:58] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2007-12-22 19:58] >>> More information about mkinitcpio setup can be found here:
[2007-12-22 19:58] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2007-12-22 19:58] 
[2007-12-22 19:58] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2007-12-22 19:58] ==> Building image "default"
[2007-12-22 19:58] ==> Running command: /sbin/mkinitcpio -k 2.6.23-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2007-12-22 19:58] :: Begin build
[2007-12-22 19:58] :: Parsing hook [base]
[2007-12-22 19:58] :: Parsing hook [udev]
[2007-12-22 19:58] :: Parsing hook [autodetect]
[2007-12-22 19:58] :: Parsing hook [pata]
[2007-12-22 19:59] :: Parsing hook [scsi]
[2007-12-22 19:59] :: Parsing hook [sata]
[2007-12-22 19:59] :: Parsing hook [usbinput]
[2007-12-22 19:59] ==> FAIL
[2007-12-22 19:59] ==> Building image "fallback"
[2007-12-22 19:59] ==> Running command: /sbin/mkinitcpio -k 2.6.23-ARCH -c /etc/mkinitcpio.d/kernel26-fallback.conf -g /boot/kernel26-fallback.img
[2007-12-22 19:59] :: Begin build
[2007-12-22 19:59] :: Parsing hook [base]
[2007-12-22 19:59] :: Parsing hook [udev]
[2007-12-22 19:59] :: Parsing hook [ide]
[2007-12-22 19:59] :: Parsing hook [pata]
[2007-12-22 19:59] :: Parsing hook [scsi]
[2007-12-22 19:59] :: Parsing hook [sata]
[2007-12-22 19:59] :: Parsing hook [usbinput]
[2007-12-22 19:59] :: Parsing hook [raid]
[2007-12-22 19:59] :: Parsing hook [filesystems]
[2007-12-22 20:00] :: Generating module dependencies
[2007-12-22 20:00] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2007-12-22 20:00] ==> SUCCESS
[2007-12-22 20:00] upgraded kernel26 (2.6.23.8-1 -> 2.6.23.12-2)
[2007-12-22 20:00] upgraded libmikmod (3.1.11-3 -> 3.1.11-4)
[2007-12-22 20:00] upgraded libpng (1.2.23-1 -> 1.2.24-1)
[2007-12-22 20:00] upgraded ndiswrapper-utils (1.49-2 -> 1.51-1)
[2007-12-22 20:00] module configuration already contains alias directive
[2007-12-22 20:00] 
[2007-12-22 20:00] upgraded ndiswrapper (1.49-3 -> 1.51-1)
[2007-12-22 20:00] >> The bonjour plugin is now included in pidgin. If you wish to use
[2007-12-22 20:00] >> it, please install avahi.
[2007-12-22 20:00] upgraded pidgin (2.3.0-2 -> 2.3.1-1)
[2007-12-22 20:00] upgraded tzdata (2007j-1 -> 2007j-2)
[2007-12-22 20:00] upgraded xkeyboard-config (1.0-1 -> 1.1-1)
[2007-12-22 20:00] installed xbitmaps (1.0.1-1)
[2007-12-22 20:00] :: Could not detect nvidia-utils on system
[2007-12-22 20:00] :: Will attempt to use built-in libwfb
[2007-12-22 20:00] upgraded xorg-server (1.4-6 -> 1.4.0.90-2)
[2007-12-22 20:00] upgraded xorg-xauth (1.0.1-1 -> 1.0.2-1)
[2007-12-22 20:00] upgraded xorg-xinit (1.0.7-1 -> 1.0.7-2)

EDIT:  Wow, I guess pacman does make mistakes.  Ran pacman -S kernel26 and it fixed the problem.  Thank You for your help.

Last edited by semperfiguy (2007-12-25 03:41:42)

Offline

#14 2007-12-25 17:30:34

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: [Solved] Update broke some things

No problem, glad to help smile.

Btw good practice is to edit finished thread as '[SOLVED] Update broke some things'.

Last edited by dante4d (2007-12-25 18:02:02)

Offline

Board footer

Powered by FluxBB