You are not logged in.

#1 2011-08-08 18:35:26

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

linux 3.0 and madwifi

Hi everybody,
I was trying to update my archlinux which implies the update of the kernel. However, I'm not able to update it because of the madwifi which requires the kernel26.
I've got this error:

:: madwifi: requiert kernel26>=2.6.39
:: madwifi: requiert kernel26<2.6.40

Someone has a solution please ?

Offline

#2 2011-08-08 18:42:51

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: linux 3.0 and madwifi

Remove madwifi. It is obsolete, and has been replaced by the kernel's ath*k drivers.

Last edited by tomk (2011-08-08 18:43:22)

Offline

#3 2011-08-08 18:51:55

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

That's what i've read before but once i removed it, my networkmanager stop working. Well, im gonna remove it and see what will happen.
Thanks

Offline

#4 2011-08-08 19:24:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: linux 3.0 and madwifi

OK - remove it AND reconfigure your wireless to use the appropriate ath*k driver (I thought that second bit was understood).

Offline

#5 2011-08-09 18:01:33

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

It's working fine. madwifi was just installed without being used.

Well, I don't know if it is the case for several people but the upgrade from kernel26 to linux (3.0) doesn't work.
Fortunetly, I've a kernel from an abs build (2.6). I booted this kernel to take a look at "pacman.log".
The build terminated with many errors:
file : could not find any magic files !
invalid kernel specifier

In /boot, there a symlink to initramfs but the file doesn't exist. I tried to regenerate it using mkinitcpio but with no result.
Someone has an idea ? (i forgot to copy the pacman.log file in windows partition :s)

Last edited by pi4n0zik (2011-08-09 18:01:59)

Offline

#6 2011-08-09 20:21:00

scjet
Banned
Registered: 2011-07-23
Posts: 172

Re: linux 3.0 and madwifi

pi4n0zik wrote:

It's working fine. madwifi was just installed without being used.

Well, I don't know if it is the case for several people but the upgrade from kernel26 to linux (3.0) doesn't work.
Fortunetly, I've a kernel from an abs build (2.6). I booted this kernel to take a look at "pacman.log".
The build terminated with many errors:
file : could not find any magic files !
invalid kernel specifier

In /boot, there a symlink to initramfs but the file doesn't exist. I tried to regenerate it using mkinitcpio but with no result.
Someone has an idea ? (i forgot to copy the pacman.log file in windows partition :s)


I has a similar thingy with the 2.6 -> 3.0 upgrade, but then -> http://www.archlinux.org/news/changes-t … filenames/
-modified grub (menu.1st) accordingly and now everything worked fine for me..
  Of course, this may not have been your only issue at that time, but ... ?
wink

Last edited by scjet (2011-08-09 20:25:13)


The "BSD" things in life are "Free", and "Open", and so is "Arch"

Offline

#7 2011-08-09 20:35:05

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

The problem is not due to menu.lst. The problem comes from the build of the new kernel. Files initramfs in /boot don't exist because they were not generated. I tried to do it manually with mkinitcpio but I got the same error.
Im gonna paste the content of pacman.log related to this issue
[2011-08-09 22:25] Running 'pacman -S core/linux'
[2011-08-09 22:26] >>> Updating module dependencies. Please wait ...
[2011-08-09 22:26] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2011-08-09 22:26] ==> Building image from preset: 'default'
[2011-08-09 22:26]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2011-08-09 22:26] file: could not find any magic files!
[2011-08-09 22:26] ==> ERROR: invalid kernel specifier: `/boot/vmlinuz-linux'
[2011-08-09 22:26] ==> Building image from preset: 'fallback'
[2011-08-09 22:26]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2011-08-09 22:26] file: could not find any magic files!
[2011-08-09 22:26] ==> ERROR: invalid kernel specifier: `/boot/vmlinuz-linux'
[2011-08-09 22:26] upgraded linux (3.0.1-1 -> 3.0.1-1)

Offline

#8 2011-08-09 21:19:20

seant_tre
Member
Registered: 2010-12-19
Posts: 3

Re: linux 3.0 and madwifi

same problem here. After kernel upgrade mkinitcpio give errors...
i chrooted and tryed to start it again without success...
Also if menu.lst is correct arch cant boot due the missing ramfs.
Any idea?

Offline

#9 2011-08-09 21:30:33

scjet
Banned
Registered: 2011-07-23
Posts: 172

Re: linux 3.0 and madwifi

this is what mine looked like after a sucessful kernel upgrade just now, on another test machine:

[rick@whatever boot]$ ls -la
total 14092
drwxr-xr-x  4 root root    4096 Aug  9 15:55 .
drwxr-xr-x 24 root root    4096 Jul 27 01:02 ..
drwxr-xr-x  2 root root    4096 Aug  9 15:55 grub
-rw-r--r--  1 root root 9834682 Aug  9 15:55 initramfs-linux-fallback.img
-rw-r--r--  1 root root 2240186 Aug  9 15:55 initramfs-linux.img
lrwxrwxrwx  1 root root      28 Aug  9 15:55 kernel26-fallback.img -> initramfs-linux-fallback.img
lrwxrwxrwx  1 root root      19 Aug  9 15:55 kernel26.img -> initramfs-linux.img
drwxr-xr-x  2 root root    4096 Aug  9 15:55 syslinux
lrwxrwxrwx  1 root root      13 Aug  9 15:55 vmlinuz26 -> vmlinuz-linux
-rw-r--r--  1 root root 2333056 Aug  6 10:22 vmlinuz-linux

...all my files are there, where they should be,  in /boot
so, I dunno?, but
uname -a: Linux whatever 3.0-ARCH #1 SMP PREEMPT Sat Aug 6 16:18:35 CEST 2011 x86_64 Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz GenuineIntel GNU/Linux
mine is just generic updgrade nuthin' fancy.

/boot/grub/menu.lst:
...
# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/9851c159-b45d-4ed2-8d3b-983ba9a66286 ro
initrd /boot/initramfs-linux.img
...
your's will obviously be different, but...? sry, if this don't help, again my 2 cents.

Last edited by scjet (2011-08-09 21:32:59)


The "BSD" things in life are "Free", and "Open", and so is "Arch"

Offline

#10 2011-08-09 21:40:22

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

The menu.lst is (and could be) the same. However, the /boot is totaly different. initramfs are missing. I don't if seant_tre has the same issues

Last edited by pi4n0zik (2011-08-09 21:59:09)

Offline

#11 2011-08-09 22:18:37

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

Does someone know what does "magic files" mean in this case ?

Offline

#12 2011-08-10 01:20:59

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: linux 3.0 and madwifi

Magic files belong to the 'file' package. Reinstalling would probably be in order here.

Offline

#13 2011-08-10 17:39:34

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

Well it's not because of 'file' command. I think that the solution is to reinstall arch

Offline

#14 2011-08-10 20:34:38

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: linux 3.0 and madwifi

http://projects.archlinux.org/mkinitcpio.git/tree/mkinitcpio#n87 wrote:
    read _ kernver < <(file -b "$BASEDIR$kernel" | grep -o 'version [^ ]\+')
    if [[ "$kernver" && -e "$BASEDIR/lib/modules/$kernver" ]]; then
        echo "$kernver"
        return 0
    fi

Please explain why you think that is this not related to file. Reinstalling arch is not a solution.

Last edited by falconindy (2011-08-10 20:46:37)

Offline

#15 2011-08-10 21:16:21

pi4n0zik
Member
Registered: 2011-06-23
Posts: 9

Re: linux 3.0 and madwifi

What I meant is that reinstalling 'file' command didn't solve the problem.
Well, I tried almost everything I know, recompiling the kernel26 ... chrooting from a liveCD ... nothing worked.

Offline

#16 2011-10-29 01:45:16

seant_tre
Member
Registered: 2010-12-19
Posts: 3

Re: linux 3.0 and madwifi

pi4n0zik wrote:

The menu.lst is (and could be) the same. However, the /boot is totaly different. initramfs are missing. I don't if seant_tre has the same issues

Hy..i red the bost only now... well..
here is my /boot :

drwxr-xr-x 2 root    1024 28 ago 13.45 grub
lrwxrwxrwx 1 root      28  9 ago 11.23 kernel26-fallback.img -> initramfs-linux-fallback.img
lrwxrwxrwx 1 root      19  9 ago 11.23 kernel26.img -> initramfs-linux.img
-rw-r--r-- 1 root 8389826  2 ott 19.45 kernel26-lts-fallback.img
-rw-r--r-- 1 root 2008620  2 ott 19.45 kernel26-lts.img
drwx------ 2 root   12288  3 apr  2011 lost+found
-rw-r--r-- 1 root 1574430 30 ago 09.02 System.map26-lts
lrwxrwxrwx 1 root      13  9 ago 11.23 vmlinuz26 -> vmlinuz-linux
-rw-r--r-- 1 root 2229328 30 ago 09.02 vmlinuz26-lts
-rw-r--r-- 1 root 3020080 19 ott 10.30 vmlinuz-linux


and everytime i try to update or recompile or just mkinitpcmio i have:

[root@ArchStation boot]# mkinitcpio -p linux -g /boot/initramfs-linux.img
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
file: could not find any magic files!
==> ERROR: invalid kernel specifier: `/boot/vmlinuz-linux'
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
file: could not find any magic files!
==> ERROR: invalid kernel specifier: `/boot/vmlinuz-linux'

really don't know what to do.
Actually, right now i am using 2.6.32-lts kernel to continue using arch...  maibe it causes that error?

Offline

Board footer

Powered by FluxBB