You are not logged in.

#1 2011-06-20 05:52:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

/sbin/modprobe runs at boot before udev [solved]

Subject says it all. Right after grub2 loads my desired entry, I see the Linux logos appear, followed by:

Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]

...then the normal boot process (daemons, etc).  I have no idea why this is the case but it's true on all my machines.

Here is an example entry from /boot/grub/grub.cfg (although I see nothing that would cause it):

menuentry 'Arch Linux, with Linux vmlinuz26-ck' --class archlinux --class gnu-linux --class gnu --class os {
  load_video
  set gfxpayload=keep
  insmod gzio
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt5)'
  search --no-floppy --fs-uuid --set=root 0fc4ed20-0b1e-4e26-860c-6e63dd3a35eb
  echo  'Loading Linux vmlinuz26-ck ...'
  linux /vmlinuz26-ck root=/dev/disk/by-uuid/6f20540d-6143-48e3-a5e7-54e09b65c5cf ro  quiet
  echo  'Loading initial ramdisk ...'
  initrd  /kernel26-ck.img
}

Last edited by graysky (2011-06-20 21:45:58)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2011-06-20 06:20:15

sumski
Member
From: Zagreb, Croatia
Registered: 2011-04-30
Posts: 114

Re: /sbin/modprobe runs at boot before udev [solved]

graysky , i'm having the same issue with kernel26-ck-core2 (frm repo)

Last edited by sumski (2011-06-20 06:20:30)

Offline

#3 2011-06-20 06:32:29

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: /sbin/modprobe runs at boot before udev [solved]

sumski wrote:

graysky , i'm having the same issue with kernel26-ck-core2 (frm repo)

EDIT: this happens with the official ARCH kernel (I just checked)!

Last edited by graysky (2011-06-20 06:51:31)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-06-20 07:02:21

sumski
Member
From: Zagreb, Croatia
Registered: 2011-04-30
Posts: 114

Re: /sbin/modprobe runs at boot before udev [solved]

I don't have this issue with kernel26-ARCH

Offline

#5 2011-06-20 07:54:44

Bonzodog
Member
From: Leicester, UK
Registered: 2008-02-14
Posts: 106

Re: /sbin/modprobe runs at boot before udev [solved]

I am also getting this error on boot, the insmod command is deprecated, why are they using it instead of modprobe?

Offline

#6 2011-06-20 08:25:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: /sbin/modprobe runs at boot before udev [solved]

Bonzodog wrote:

I am also getting this error on boot, the insmod command is deprecated, why are they using it instead of modprobe?

Grub2 based on your comments?  Which kernel?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2011-06-20 09:30:20

sumski
Member
From: Zagreb, Croatia
Registered: 2011-04-30
Posts: 114

Re: /sbin/modprobe runs at boot before udev [solved]

I also didn't mention i use GRUB2.
ck:

menuentry 'Arch Linux, with Linux vmlinuz26-ck' --class archlinux --class gnu-linux --class gnu --class os {                                                                            
        savedefault                                                                         
        load_video                                                                          
        insmod gzio                                                                         
        insmod part_msdos                                                                   
        insmod ext2                                                                         
        set root='(hd0,msdos1)'                                                             
        search --no-floppy --fs-uuid --set=root 0f27b89d-2ca2-4c69-8e00-1bf9e57cb03e        
        echo    'Loading Linux vmlinuz26-ck ...'                                            
        linux   /vmlinuz26-ck root=/dev/disk/by-uuid/eee61ccf-766f-4dcc-8287-d6cf3cfa1da2 ro  quiet nopat nomodeset acpi_osi=Linux acpi_backlight=vendor                                
        echo    'Loading initial ramdisk ...'                                               
        initrd  /kernel26-ck.img                                                            
}

ARCH:

menuentry 'Arch Linux, with Linux vmlinuz26' --class archlinux --class gnu-linux --class gnu --class os {                                                                               
        savedefault                                                                         
        load_video                                                                          
        insmod gzio                                                                         
        insmod part_msdos                                                                   
        insmod ext2                                                                         
        set root='(hd0,msdos1)'                                                             
        search --no-floppy --fs-uuid --set=root 0f27b89d-2ca2-4c69-8e00-1bf9e57cb03e        
        echo    'Loading Linux vmlinuz26 ...'                                               
        linux   /vmlinuz26 root=/dev/disk/by-uuid/eee61ccf-766f-4dcc-8287-d6cf3cfa1da2 ro  quiet nopat nomodeset acpi_osi=Linux acpi_backlight=vendor                                   
        echo    'Loading initial ramdisk ...'                                               
        initrd  /kernel26.img                                                               
} 

Offline

#8 2011-06-20 09:47:31

Bonzodog
Member
From: Leicester, UK
Registered: 2008-02-14
Posts: 106

Re: /sbin/modprobe runs at boot before udev [solved]

I am using a default grub 0.97 setup, not grub 2, yet I am suddenly getting this error....not sure whats going on here. The only thing I can think of is that I am running testing...I may cross post about this to the kernel forums, see if they can shed any light on it.

Offline

#9 2011-06-20 10:13:42

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: /sbin/modprobe runs at boot before udev [solved]

it's mkinitcpio 0.6.15 related. file a bug report.

Offline

#10 2011-06-20 19:45:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: /sbin/modprobe runs at boot before udev [solved]

@JB - glad to open one, but what would it say beyond what I posted in the first thread?  Can you elaborate?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#11 2011-06-20 21:14:40

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: /sbin/modprobe runs at boot before udev [solved]

/lib/initcpio/init line 56.

Offline

#12 2011-06-20 21:45:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: /sbin/modprobe runs at boot before udev [solved]


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#13 2011-06-26 16:40:56

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

Re: /sbin/modprobe runs at boot before udev [solved]

Offline

#14 2011-08-02 07:00:28

semeion
Member
From: Brazil
Registered: 2008-10-20
Posts: 65

Re: /sbin/modprobe runs at boot before udev [solved]

I still having same msg here in boot proccess.

Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]

Offline

#15 2011-08-02 07:03:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: /sbin/modprobe runs at boot before udev [solved]

semeion wrote:

I still having same msg here in boot proccess.

Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]

https://bbs.archlinux.org/viewtopic.php … 69#p968169

Offline

#16 2011-08-08 05:16:35

semeion
Member
From: Brazil
Registered: 2008-10-20
Posts: 65

Re: /sbin/modprobe runs at boot before udev [solved]

Working fine now, thank you!

Offline

Board footer

Powered by FluxBB