>Petter Reinholdtsen wrote: > [Thveillon] >> They have different sata controllers, and they don't display this >> behavior in neither Fedora11 (tested on the Desktop) and Ubuntu >> Karmic (on the laptop). > > Both use event based boot, as far as I know, which solve the > fundamental problem with the changed kernel behaviour. Did it work > with Debian Lenny?
The laptop is too new to be used easily with Lenny, but it was working properly with Squeeze prior to the "insserv" migration. The desktop has been running Lenny during most of it Testing cycle, and beginning of the Stable one. It ran Squeeze before the "insserv" migration too. >> Let me know if I can provide any other information, or provide logs from >> a boot on a standard Debian kernel (those attached are from a custom one). > > Logs from a standard kernel would be nice, to see if device timings or > driver load order is different. The output from 'ls /etc/rc?.d', > 'ls -l $(grep -v '#' /etc/fstab|awk '/dev/ {print $1}') /dev/rtc*' and > 'cat /etc/default/rcS' would be nice too. The system seem to be > without udev. Is that correct? I noticed from the boot log that the > hardware clock is not set correctly either, because the rtc devices > are missing. Following your message I did various tests, it seems that the failing fsck is just a symptom after all, not the cause of the problem. The clock not being set correctly because /dev/rtc doesn't exist is only happening during a failed boot, not a normal one. As you'll see in the output of the commands the /dev/rtc* are there. After the failed boots I have various and semi-random other problems if I try to go past the rescue shell. /home isn't mounted, and not mountable, but I also sometime lose the keyboard/mouse(trackpad), the wifi card doesn't come up, and such... Both machines are *with* udev, but it doesn't work during the failed boots and I believe udev is the root of all other problems. There's so many bugs open right now that it won't come has a big surprise. > Why do you make your own kernel? Anything special about its > configuration? I use custom kernels for various reasons, curiosity being one. On the laptop the sound is only (kind of) working with 2.6.30* and up, which wasn't available when I first installed Debian on it, and is now fully working with 2.6.31*. On both I use "desktop" settings (1000Mhz, voluntary preemption), set the "Core2 or newer" cpu type, remove debug or devel related options, remove Xen related options, remove the "v4l1" (using "v4l1-compat" only) and use only the "old" IEEE1394 stack (I think it's the default too on Debian kernels now) since some of my video and scanner equipment doesn't work properly otherwise. I can provide a "diff" if desired, but I had the same behavior with both custom and Debian kernels. Since tomorrow (Monday here) I'll need working machines I ended up restoring older system from backups, it now runs fine again (with the same kernels). I guess I'll wait until next week-end to upgrade again... Showing up in front of the classroom to display on a large screen a "black screen of death" isn't exactly a good way to promote Debian ! (My wife's a teacher and use the laptop at work). Sorry for the waste of time, you can dismiss the bug report since I "worked around" the problem for now, and I think it's udev related in the first place anyway. I'll reopen it if it happens again on next upgrade. > Happy hacking, Have a nice week, and a nice Skolelinux gathering/conference. Thank you for your attention.
############Desktop machine : Squeeze AMD64, raid1, ext4, custom kernel 2.6.31.5################ ls /etc/rc?.d /etc/rc0.d: K01acct K01fancontrol K01kvm K01openbsd-inetd K01vboxdrv K02avahi-daemon K08ifupdown K01alsa-utils K01fuse K01mdadm K01resolvconf K01wicd K04sysklogd K09umountfs K01anacron K01hddtemp K01mdadm-raid K01rsync K01winbind K05hwclock.sh K10umountroot K01atd K01kdm K01mt-daapd K01samba K01wpa-ifupdown K05sendsigs K11halt K01dirmngr K01kerneloops K01ntp K01saned K01xfs K06umountnfs.sh README K01exim4 K01klogd K01nvidia-glx K01urandom K01xl2tpd K07networking /etc/rc1.d: K01acct K01exim4 K01kerneloops K01ntp K01samba K01winbind K02cups S22bootlogs K01anacron K01fancontrol K01klogd K01nvidia-glx K01saned K01xfs K03dbus S23bootchart K01atd K01hal K01kvm K01nvidia-kernel K01smartmontools K01xl2tpd K04sysklogd S23single K01cron K01hddtemp K01mdadm K01openbsd-inetd K01vboxdrv K02acpid README K01dirmngr K01kdm K01mt-daapd K01rsync K01wicd K02avahi-daemon S01killprocs /etc/rc2.d: K01rsync S01loadcpufreq S02anacron S02klogd S02xl2tpd S22bootlogs K01saned S01mdadm S02atd S02ntp S03avahi-daemon S23bootchart README S01nvidia-glx S02cpufrequtils S02openbsd-inetd S03hal S23rc.local S01binfmt-support S01nvidia-kernel S02cron S02smartmontools S03wicd S23rmnologin S01dirmngr S01sudo S02dbus S02sysfsutils S04cups S23stop-bootlogd S01dkms_autoinstaller S01sysklogd S02exim4 S02vboxdrv S04mt-daapd S01fancontrol S02acct S02hddtemp S02winbind S05samba S01kvm S02acpid S02kerneloops S02xfs S21kdm /etc/rc3.d: K01rsync S01loadcpufreq S02anacron S02klogd S02xl2tpd S22bootlogs K01saned S01mdadm S02atd S02ntp S03avahi-daemon S23bootchart README S01nvidia-glx S02cpufrequtils S02openbsd-inetd S03hal S23rc.local S01binfmt-support S01nvidia-kernel S02cron S02smartmontools S03wicd S23rmnologin S01dirmngr S01sudo S02dbus S02sysfsutils S04cups S23stop-bootlogd S01dkms_autoinstaller S01sysklogd S02exim4 S02vboxdrv S04mt-daapd S01fancontrol S02acct S02hddtemp S02winbind S05samba S01kvm S02acpid S02kerneloops S02xfs S21kdm /etc/rc4.d: K01rsync S01loadcpufreq S02anacron S02klogd S02xl2tpd S22bootlogs K01saned S01mdadm S02atd S02ntp S03avahi-daemon S23bootchart README S01nvidia-glx S02cpufrequtils S02openbsd-inetd S03hal S23rc.local S01binfmt-support S01nvidia-kernel S02cron S02smartmontools S03wicd S23rmnologin S01dirmngr S01sudo S02dbus S02sysfsutils S04cups S23stop-bootlogd S01dkms_autoinstaller S01sysklogd S02exim4 S02vboxdrv S04mt-daapd S01fancontrol S02acct S02hddtemp S02winbind S05samba S01kvm S02acpid S02kerneloops S02xfs S21kdm /etc/rc5.d: K01rsync S01loadcpufreq S02anacron S02klogd S02xl2tpd S22bootlogs K01saned S01mdadm S02atd S02ntp S03avahi-daemon S23bootchart README S01nvidia-glx S02cpufrequtils S02openbsd-inetd S03hal S23rc.local S01binfmt-support S01nvidia-kernel S02cron S02smartmontools S03wicd S23rmnologin S01dirmngr S01sudo S02dbus S02sysfsutils S04cups S23stop-bootlogd S01dkms_autoinstaller S01sysklogd S02exim4 S02vboxdrv S04mt-daapd S01fancontrol S02acct S02hddtemp S02winbind S05samba S01kvm S02acpid S02kerneloops S02xfs S21kdm /etc/rc6.d: K01acct K01fancontrol K01kvm K01openbsd-inetd K01vboxdrv K02avahi-daemon K08ifupdown K01alsa-utils K01fuse K01mdadm K01resolvconf K01wicd K04sysklogd K09umountfs K01anacron K01hddtemp K01mdadm-raid K01rsync K01winbind K05hwclock.sh K10umountroot K01atd K01kdm K01mt-daapd K01samba K01wpa-ifupdown K05sendsigs K11reboot K01dirmngr K01kerneloops K01ntp K01saned K01xfs K06umountnfs.sh README K01exim4 K01klogd K01nvidia-glx K01urandom K01xl2tpd K07networking /etc/rcS.d: README S07hostname.sh S11mountall.sh S16networking S20microcode.ctl S01mountkernfs.sh S07hwclockfirst.sh S12mountall-bootclean.sh S17mountnfs.sh S20screen-cleanup S02udev S08checkroot.sh S13mountoverflowtmp S18mountnfs-bootclean.sh S20urandom S03mdadm-raid S09hwclock.sh S14policykit S19kbd S21console-setup S03mountdevsubfs.sh S09ifupdown-clean S14pppd-dns S20alsa-utils S22stop-bootlogd-single S04bootlogd S09module-init-tools S14procps S20bootmisc.sh S05keymap.sh S09mtab.sh S14resolvconf S20fuse S06keyboard-setup S09udev-mtab S14x11-common S20guarddog S07hdparm S10checkfs.sh S15ifupdown S20lm-sensors ############################################################################################################## ls -l $(grep -v '#' /etc/fstab|awk '/dev/ {print $1}') /dev/rtc* brw-rw---- 1 root disk 9, 0 oct 25 15:13 /dev/md0 brw-rw---- 1 root disk 9, 1 oct 25 15:13 /dev/md1 lrwxrwxrwx 1 root root 4 oct 25 15:13 /dev/rtc -> rtc0 crw-rw---- 1 root root 254, 0 oct 25 15:13 /dev/rtc0 brw-rw---- 1 root disk 8, 35 oct 25 15:13 /dev/sdc3 brw-rw----+ 1 root cdrom 11, 0 oct 25 15:13 /dev/sr0 ############################################################################################################# cat /etc/default/rcS # # /etc/default/rcS # # Default settings for the scripts in /etc/rcS.d/ # # For information about these variables see the rcS(5) manual page. # # This file belongs to the "initscripts" package. TMPTIME=0 SULOGIN=no DELAYLOGIN=no UTC=yes VERBOSE=no FSCKFIX=no RAMRUN=no RAMLOCK=no ############################################################################################################
######################### Laptop machine, Squeeze AMD64 ########################## ls /etc/rc?.d /etc/rc0.d: K01acct K01chrony K01fuse K01laptop-mode K01urandom K03sendsigs K06networking K10halt K01alsa-utils K01exim4 K01hddtemp K01resolvconf K01wicd K04rsyslog K07ifupdown README K01anacron K01fancontrol K01kdm K01rsync K01wpa-ifupdown K05hwclock.sh K08umountfs K01atd K01fglrx-atieventsd K01kerneloops K01saned K02avahi-daemon K05umountnfs.sh K09umountroot /etc/rc1.d: K01acct K01chrony K01fancontrol K01kdm K01saned K02acpid README S23single K01acpi-support K01cron K01fglrx-atieventsd K01kerneloops K01sensord K02avahi-daemon S01killprocs K01anacron K01cups K01hal K01laptop-mode K01smartmontools K03dbus S22bootlogs K01atd K01exim4 K01hddtemp K01rsync K01wicd K04rsyslog S23bootchart /etc/rc2.d: K01rsync S01fancontrol S02anacron S02fglrx-atieventsd S03hal S23laptop-mode K01saned S01loadcpufreq S02atd S02hddtemp S03wicd S23rc.local README S01rsyslog S02cpufrequtils S02kerneloops S04cups S23rmnologin S01acpi-support S01sudo S02cron S02sensord S21kdm S23stop-bootlogd S01chrony S02acct S02dbus S02smartmontools S22bootlogs S01dkms_autoinstaller S02acpid S02exim4 S03avahi-daemon S23bootchart /etc/rc3.d: K01rsync S01fancontrol S02anacron S02fglrx-atieventsd S03hal S23laptop-mode K01saned S01loadcpufreq S02atd S02hddtemp S03wicd S23rc.local README S01rsyslog S02cpufrequtils S02kerneloops S04cups S23rmnologin S01acpi-support S01sudo S02cron S02sensord S21kdm S23stop-bootlogd S01chrony S02acct S02dbus S02smartmontools S22bootlogs S01dkms_autoinstaller S02acpid S02exim4 S03avahi-daemon S23bootchart /etc/rc4.d: K01rsync S01fancontrol S02anacron S02fglrx-atieventsd S03hal S23laptop-mode K01saned S01loadcpufreq S02atd S02hddtemp S03wicd S23rc.local README S01rsyslog S02cpufrequtils S02kerneloops S04cups S23rmnologin S01acpi-support S01sudo S02cron S02sensord S21kdm S23stop-bootlogd S01chrony S02acct S02dbus S02smartmontools S22bootlogs S01dkms_autoinstaller S02acpid S02exim4 S03avahi-daemon S23bootchart /etc/rc5.d: K01rsync S01fancontrol S02anacron S02fglrx-atieventsd S03hal S23laptop-mode K01saned S01loadcpufreq S02atd S02hddtemp S03wicd S23rc.local README S01rsyslog S02cpufrequtils S02kerneloops S04cups S23rmnologin S01acpi-support S01sudo S02cron S02sensord S21kdm S23stop-bootlogd S01chrony S02acct S02dbus S02smartmontools S22bootlogs S01dkms_autoinstaller S02acpid S02exim4 S03avahi-daemon S23bootchart /etc/rc6.d: K01acct K01exim4 K01kdm K01saned K03sendsigs K07ifupdown K01alsa-utils K01fancontrol K01kerneloops K01urandom K04rsyslog K08umountfs K01anacron K01fglrx-atieventsd K01laptop-mode K01wicd K05hwclock.sh K09umountroot K01atd K01fuse K01resolvconf K01wpa-ifupdown K05umountnfs.sh K10reboot K01chrony K01hddtemp K01rsync K02avahi-daemon K06networking README /etc/rcS.d: README S07hostname.sh S10checkfs.sh S15ifupdown S20guarddog S01mountkernfs.sh S07hwclockfirst.sh S11mountall.sh S16networking S20lm-sensors S02udev S08checkroot.sh S12mountall-bootclean.sh S17mountnfs.sh S20microcode.ctl S03mountdevsubfs.sh S09hwclock.sh S13mountoverflowtmp S18mountnfs-bootclean.sh S20urandom S04bootlogd S09ifupdown-clean S14policykit S19kbd S21console-setup S05keymap.sh S09module-init-tools S14procps S20alsa-utils S22stop-bootlogd-single S06keyboard-setup S09mtab.sh S14resolvconf S20bootmisc.sh S07hdparm S09udev-mtab S14x11-common S20fuse ############################################################################################################ ls -l $(grep -v '#' /etc/fstab|awk '/dev/ {print $1}') /dev/rtc* lrwxrwxrwx 1 root root 4 oct 25 16:13 /dev/rtc -> rtc0 crw-rw---- 1 root root 254, 0 oct 25 16:13 /dev/rtc0 lrwxrwxrwx 1 root root 3 oct 25 16:13 /dev/scd0 -> sr0 ########################################################################################################### cat /etc/default/rcS # # /etc/default/rcS # # Default settings for the scripts in /etc/rcS.d/ # # For information about these variables see the rcS(5) manual page. # # This file belongs to the "initscripts" package. TMPTIME=0 SULOGIN=no DELAYLOGIN=no UTC=yes VERBOSE=no FSCKFIX=no RAMRUN=no RAMLOCK=no ##########################################################################################################