You are not logged in.
Hey, I am trying to convert to mkinitcpio, but i am having trouble.
When i boot my keyboard wont work at all so i can't login, in mkinitrd i solved this by adding REMOVE_USB=1 (can't remember why, but it works)
But when using mkinitcpio this option gone, i tried making
HOOKS="base udev ide scsi sata filesystems" (without the autodetect and usb)
but that didnt work either.
To make the kernel26.img i use pacman -S kernel26
Any ideas on how to fix this?
Offline
I've said this a few times before: once you are in normal userspace, mkinitcpio is done. Once you see the colored text at boot, mkinitcpio has already died. This is obviously a module issue, and a usb module at that.
Please run "mkinitcpio -M" and post the output - also, I would HIGHLY recommend leaving the autodetect hook in there, as it trims your mkinitcpio image down significantly (faster boot time).
Offline
[root@NetBox etc]# mkinitcpio -M
Modules autodetected:
ide-core
generic
e100
eepro100
mii
ata_piix
libata
usbcore
ehci-hcd
uhci-hcd
usbhid
It is probably the uhci_hcd that is the trouble, i have it !uhci_hcd (disabled) in rc.conf.
Offline
Hmmm where is the usb stuff coming from... odd. Can you post the output of "mkinitcpio -v" - it will do a dry run in verbose mode, telling you everything it's doing.
Side note, is your drive ide, scsi, or sata? You have all three hooks listed - if you're customizing, you should only list the ones you need. Additionally, I think the scsi hook may be loading usb modules...
Offline
I think (not 100%) that it is sata.
(Isn't there any [spoiler] tag to hide a long text and then so it shows when you press a button?)
I added autodetect to my mkinitcpio.conf.
Oh, and i have usb keyboard & mouse, i think that's why the usb thing messes it up.
[root@NetBox modules]# mkinitcpio -v -k 2.6.17-ARCH
:: Begin build
:: Parsing hook [base]
adding dir /proc
adding dir /sys
adding dir /dev
adding node /dev/null
adding node /dev/zero
adding node /dev/console
adding dir /lib
adding file /lib/klibc-3OrkjcaxWbCiPvaKpOOe_iKCpn8.so
adding dir /bin
adding file /bin/cat
adding file /bin/chroot
adding file /bin/dd
adding file /bin/false
adding file /bin/fstype
adding file /bin/gunzip
adding file /bin/gzip
adding file /bin/halt
adding file /bin/insmod
adding file /bin/ipconfig
adding file /bin/kill
adding file /bin/kinit
adding file /bin/kinit.shared
adding file /bin/ln
adding file /bin/losetup
adding file /bin/mdassemble
adding file /bin/minips
adding file /bin/mkdir
adding file /bin/mkfifo
adding file /bin/mknod
adding file /bin/moddeps
adding file /bin/modprobe
adding file /bin/mount
adding file /bin/nfsmount
adding file /bin/nuke
adding file /bin/parseblock
adding file /bin/pivot_root
adding file /bin/poweroff
adding file /bin/readlink
adding file /bin/reboot
adding file /bin/replace
adding file /bin/resume
adding file /bin/run-init
adding file /bin/sh
adding file /bin/sleep
adding file /bin/true
adding file /bin/umount
adding file /bin/uname
adding file /bin/zcat
adding file /init
adding file /config
:: Parsing hook [udev]
adding dir /sbin
adding file /sbin/udevd
adding file /sbin/udevtrigger
adding file /sbin/udevsettle
adding dir /etc
adding dir /etc/udev
adding dir /etc/udev/rules.d
adding file /etc/udev/rules.d/udev.rules
adding file /etc/start_udev
adding dir /lib/udev
adding file /lib/udev/firmware.sh
adding file /lib/udev/cdrom_id
adding file /lib/udev/load-modules.sh
adding file /etc/udev/udev.conf
adding dir /hooks
adding file /hooks/udev
:: Parsing hook [autodetect]
:: Parsing hook [ide]
adding dir /lib/modules
adding dir /lib/modules/2.6.17-ARCH
adding dir /lib/modules/2.6.17-ARCH/kernel
adding dir /lib/modules/2.6.17-ARCH/kernel/drivers
adding dir /lib/modules/2.6.17-ARCH/kernel/drivers/ide
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/ide/ide-core.ko
adding dir /lib/modules/2.6.17-ARCH/kernel/drivers/ide/pci
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/ide/pci/generic.ko
:: Parsing hook [scsi]
:: Parsing hook [sata]
adding dir /lib/modules/2.6.17-ARCH/kernel/drivers/scsi
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/scsi/libata.ko
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/scsi/ata_piix.ko
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/scsi/sd_mod.ko
adding dir /lib/modules/2.6.17-ARCH/kernel/drivers/cdrom
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/cdrom/cdrom.ko
adding file /lib/modules/2.6.17-ARCH/kernel/drivers/scsi/sr_mod.ko
:: Parsing hook [filesystems]
adding file /hooks/filesystems
:: Generating module dependancies
adding file /lib/modules/2.6.17-ARCH/modules.dep
adding file /lib/modules/2.6.17-ARCH/modules.alias
adding file /lib/modules/2.6.17-ARCH/modules.symbols
:: Dry run complete, use -g IMAGE to generate a real image
Offline
I have a usb keyboard ... no problems here...
Beyond kernel?
Mr Green
Offline
Using the beyond kernel since the normal won't let me login due to the problem
--edit--
Ah i guess i should be using the -k argument
-edit2-
Changed the post with -v to use the -k argument
theone with -M had the same output with and without -k
Offline
mkinitcpio -M
Modules autodetected:
cdrom
ide-cd
ide-core
generic
jmicron
ieee1394
ohci1394
sk98lin
skge
ahci
libata
usbcore
ehci-hcd
uhci-hcd
usbhid
bluetooth
ext2
jbd
ext3
have you tried fallback ?
Mr Green
Offline
have you tried fallback ?
No, I thought it was one with all modules including the uhci_hcd
Offline
The post above shows no usb modules added (the -v output)... hmmm. IIRC the -M output may be a bit misleading in this case...
Offline
Is there any way to make the computer reboot if nobody has logged in for one minute? (Since i can't use the keyboard, I have to shutdown the wrong way making arch check all discs at boot - Takes a while)
Offline
Try adding the "usb" hook to mkinitcpio.conf - it appears that fixed one person's issue, which was similar... being unable to use the keyboard once booted... worth a shot.
Offline
Try adding the "usb" hook to mkinitcpio.conf - it appears that fixed one person's issue, which was similar... being unable to use the keyboard once booted... worth a shot.
I'll try that as soon as i figure how to auto-reboot after no activity
--edit--
Due to some problems i haven't been able to answer.
But adding the usb hook fixed it, I guess i was thinking to much when i though that it was the same problem that I had with mkinitrd
Offline