FS#4342 - Recent Kernel / udev 088 broke system

Attached to Project: Arch Linux
Opened by Rob (RobK) - Sunday, 02 April 2006, 13:36 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Critical
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I just upgraded to the most recent kernel and udev 088. (Previously, I was using kernel 2.6.16 and the previous version of udev (udev 86 or 87).

After I rebooted, the latest kernel loaded fine. Modules also loaded. But my computer now hangs at Loading UDev Events.

Is there a fix? How can I go back to udev 086 or 87?

Rob
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 04 April 2006, 14:15 GMT
Reason for closing:  Fixed
Comment by Rob (RobK) - Sunday, 02 April 2006, 15:06 GMT
One last thing I forgot to mention. Just after the upgrade and BEFORE I rebooted, I ran "depmod -a". That failed with FATAL errors. I can't remember the exact error but it could not find a file.

Rob
Comment by Rob (RobK) - Sunday, 02 April 2006, 15:36 GMT
Hmm. I have done some more debugging. I booted off the latest SystemRescueCD, mounted the arch root partition and chrooted to the arch (/) root partition.

I could run /etc/start_udev.

But if I run depmod -a, I get the following errors:

WARNING: Could not open directory /lib/modules/2.6.15.6-fd20: No such file or directory
FATAL: Could not open /lib/modules/2.6.15.6-fd20/modules.dep.temp for writing: No such file or directory

These are very similar (if not the same) error messages that I received when I first ran "depmod -a" just after upgrading arch and before rebooting.

Any ideas an what is the problem?

Rob
Comment by Rob (RobK) - Sunday, 02 April 2006, 15:50 GMT
P.S. I suspect those error messages are realted to the fact I am using the 2.6.15 kernel off the SystemRescueCD.

I do have the following in the arch /lib direecory:

/lib/modules/2.6.16-ARCH/modules.dep

I just tried renaming /lib/modules/2.6.16-ARCH/modules.dep to modules.dep.old. Then I rebooted. Yes, it now goes boots up to the command prompt but it does not detect my PCMCIA network card or my sound card. I then tried a "depmod -ae" and rebooted.

The computer now hangs again at the "Loading UDev Events" stage of the bootup.

Any Ideas?

Rob
Comment by Rob (RobK) - Sunday, 02 April 2006, 16:13 GMT
FYI -- MODULES AND DAEMONS lines in rc.conf read as follows:

MODULES=(!usbserial)
DAEMONS=(syslogng !hotplug !pcmcia network netfs alsa cups crond)

I am perplexed. It looks like either a Kernel or Udev problem intriduced by the latest versions of the kernel or udev.



Comment by Rob (RobK) - Sunday, 02 April 2006, 17:40 GMT
I have tried downloading udev to 087 and pcmciautil to 013-4. Neither solved the problem. It looks like a kernel problem.

How do I downgrade the kernel? The previous kernel in my cache is kernel26-2.6.15.6-2. But shouldn't I also downgrade kernel-sources? I don't see that it my cache.

Do I downgrade the kernel first and then downgrade kernel-sources?

Rob
Comment by Rob (RobK) - Sunday, 02 April 2006, 22:21 GMT
It looks like a kernel problem.

I downgraded to kernel 2.6.15.6 and my computer now works again. I even upgraded to udev 088 and the latest version of pcmciautils. After reboot, the computer still works.

It looks like the problem is with the latest kernel. The latest kernel breaks my system.

Please let me know what I can do to help track down the problem. I am sure that I am not the only one having problems with the latest 2.6.16.1 kernel.

Rob
Comment by Tobias Powalowski (tpowa) - Monday, 03 April 2006, 10:08 GMT
check your bootlogs on which modules it hangs?
seems 2.6.16 tries to load a module that stalls your pc or attach a bootlog to this bug report that i can have a look at it.
Comment by Rob (RobK) - Monday, 03 April 2006, 13:56 GMT
Where can I find the boot logs. I looked at the logs in /var/logs/ but I could not see anything that useful. Is there one in particular that I should focus on?

Rob
Comment by Tobias Powalowski (tpowa) - Monday, 03 April 2006, 15:21 GMT
could you please try kernel-5 ? i removed the acpi patch perhaps this helps on your pc
Comment by Rob (RobK) - Monday, 03 April 2006, 16:27 GMT
Okay. I will try kernel-5 when I get home tonight.
Comment by Rob (RobK) - Monday, 03 April 2006, 21:29 GMT
I jusy installed kernel-5. Things are actually worse now. The kernel boots and then just hangs before init is run. It hangs just after displaying:

Serial:8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled.

Hmm.. How do I get out of this one? It looks like a kernel / initrd problem...

Can you recommend a boot option I could try?

Rob

Comment by Tobias Powalowski (tpowa) - Tuesday, 04 April 2006, 10:16 GMT
you could try to disable the serial ports in bios
Comment by Rob (RobK) - Tuesday, 04 April 2006, 12:35 GMT
Hmm. My serial port was already disabled in BIOS. So I did the opposite. I enabled the serial port in BIOS. Now it works!!

Very strange. I thought the kernel did not use BIOS.

The 2.6.16.1-5 kernel with the ACPI patch removed seemed to do the trick. Udev Events now autoloads the kernel modules properly. (But before I could even get to the init process I had to enable the serial port. Something I did not have to do before).

Thanks for your help troubleshooting this.

Rob

Loading...