LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   upgrade and no startx (https://www.linuxquestions.org/questions/slackware-14/upgrade-and-no-startx-792973/)

DonaldUK 03-03-2010 03:41 PM

upgrade and no startx
 
I'm running Slackware current, and just did a slackpkg upgrade.

I can't startx. I get the following

FATAL: Error inserting i915 (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
(EE) intel(0): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable cofiguration

Any help with this would be appreciated as I currently cannot use my Slackware.

Donald

conraid 03-03-2010 03:48 PM

Quote:

Originally Posted by DonaldUK (Post 3884512)
I'm running Slackware current, and just did a slackpkg upgrade.

I can't startx. I get the following

FATAL: Error inserting i915 (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
(EE) intel(0): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable cofiguration

Any help with this would be appreciated as I currently cannot use my Slackware.

Donald


use -generic kernel, not -huge

DonaldUK 03-03-2010 03:51 PM

I've tried that with no success. What I did was cd to /boot then ln -sf vmlinuz-generic-2.6.33 vmlinuz and tried startx with the same lack of success as before.

Donald

conraid 03-03-2010 03:52 PM

Quote:

Originally Posted by DonaldUK (Post 3884531)
I've tried that with no success. What I did was cd to /boot then ln -sf vmlinuz-generic-2.6.33 vmlinuz and tried startx with the same lack of success as before.

Donald

but you've created the initrd and run lilo again?

DonaldUK 03-03-2010 03:56 PM

Thanks Conraid.

Forgive my lack of detailed skill here.

OK, I've run mkinitrd and then /sbin/lilo - still the same lack of success.

Donald

conraid 03-03-2010 04:00 PM

Quote:

Originally Posted by DonaldUK (Post 3884536)
Thanks Conraid.

Forgive my lack of detailed skill here.

OK, I've run mkinitrd and then /sbin/lilo - still the same lack of success.

Donald


must restart at this point

you must boot using the generic kernel

Forgive my English


attention to have created initrd right and you change lilo.conf with initrd=/boot/initrd.gz before launch lilo

read /boot/README.initrd

DonaldUK 03-03-2010 04:05 PM

Aaaaarhgh!

Now I reboot and get a kernel panic -

No filesystem could mount root, tried: romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,9)

Help!

Donald

conraid 03-03-2010 04:07 PM

Quote:

Originally Posted by DonaldUK (Post 3884559)
Aaaaarhgh!

Now I reboot and get a kernel panic -

No filesystem could mount root, tried: romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,9)

Help!

Donald

You must change lilo.conf

read /boot/README.initrd

http://slackware.osuosl.org/slackwar.../README.initrd
but with 2.6.33 (-smp if you use it)

DonaldUK 03-03-2010 04:15 PM

I have an old version of Ubunutu on the same machine and so can boot that to get access to my Slackware files. I open kedit to get at the /boot/README.txt. I can see a link to the file and try to open it but get a message saying that the file does not exist.

What do I have to change in /etc/lilo.conf?

Thank you for be patient with me!

Donald

conraid 03-03-2010 04:21 PM

Quote:

Originally Posted by DonaldUK (Post 3884574)
I have an old version of Ubunutu on the same machine and so can boot that to get access to my Slackware files. I open kedit to get at the /boot/README.txt. I can see a link to the file and try to open it but get a message saying that the file does not exist.

What do I have to change in /etc/lilo.conf?

Thank you for be patient with me!

Donald


have you created an correct initrd?
http://slackware.osuosl.org/slackwar.../README.initrd

if yes, you must write in lilo.conf

initrd = /boot/initrd.gz

after
image = /boot/vmlinuz
line

and after launch lilo
but now you have to do chroot mode

my English does not allow me to help you better, i'm sorry

razb 03-03-2010 04:30 PM

Try this with huge kernel:
_http://www.linuxquestions.org/questions/slackware-14/ati-in-current-upgrade-792578/page4.html#post3884551
It works perfectly )

DonaldUK 03-03-2010 04:35 PM

Perhaps I am doing something wrong. From Ubuntu I altered the lilo.conf then did chroot /mnt/Slackware and did /sbin/lilo. Rebooted and tried to boot Slackware - got the same kernel panic.

DOnald

conraid 03-03-2010 04:36 PM

Quote:

Originally Posted by DonaldUK (Post 3884601)
Perhaps I am doing something wrong. From Ubuntu I altered the lilo.conf then did chroot /mnt/Slackware and did /sbin/lilo. Rebooted and tried to boot Slackware - got the same kernel panic.

DOnald


have you created an correct initrd?

DonaldUK 03-03-2010 04:36 PM

razb

How do I downgrade my module-init-tools from ubuntu and how can I get out of my kernel panic?

Donald

DonaldUK 03-03-2010 04:38 PM

Conraid

How do I know if I've made a correct initrd?

Should I try again and what command? mkinitrd but with what options?

Donald


All times are GMT -5. The time now is 04:37 AM.