LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-12-2007, 11:29 AM   #1
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
Debian laptop won't boot


Last night my friend finally got Debian to work on his computer (We've been trying this for over a year now) and everything seemed to be going great, until he tried to reboot.

On reboot he gets this error:

FATAL: Error inserting acpi_cpufreq(/lib/modules/2.6.21-2-amd64/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): Device or resource busy

same error for 2.6.18.

Is there a way to fix this / get around it? I thought I had given him the link to the lenny install cd but it was apparently an etch install so I told him to change his sources.list and upgrade. If we can't get this to work, would it be reasonable to think that reinstalling just straight etch would work, since we were able to boot into it to begin with?

Also, he can boot into single user mode if that is useful at all.

Thanks!
 
Old 07-12-2007, 11:31 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
FATAL: Error inserting acpi_cpufreq(/lib/modules/2.6.21-2-amd64/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): Device or resource busy
Yeah I have the same when I first load another cpufreq module.
But it goes on. Not you?
 
Old 07-12-2007, 11:55 AM   #3
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
I guess I wasn't there but he said that it just stopped.... I was here and he was there and I was telling him what to do over MSN I think he might have freaked out cuz it said fatal. I'm going over there in an hour or so and I'll have a look at what happens. It should boot though, even with that?
 
Old 07-12-2007, 12:03 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I have this at the moment:

PHP Code:
INITEntering runlevel2
 
Loading cpufreq kernel modules...
FATALError inserting acpi_cpufreq (/lib/modules/2.6.22-perso/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
FATAL
Error inserting acpi_cpufreq (/lib/modules/2.6.22-perso/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
 
Saving VESA state...                                                                                                  [ ok ]
 * 
Starting system log daemon...                                                                                         [ ok ]
 * 
Starting kernel log daemon...                                                                                         [ ok ]
 * 
Loading ACPI modules...                                                                                               [ ok ]
And 
so on.. 
 
Old 07-12-2007, 12:47 PM   #5
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
I was thinking this morning, and when I told him to upgrade, I only told him to do apt-get upgrade and not apt-get dist-upgrade... would that cause problems? I'll try to get a copy of his dmesg and post that here if we can't figure it out.
 
Old 07-12-2007, 06:12 PM   #6
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
Ok, so here's the deal.

I went over there and since it can boot up into single user mode, we went into gdm from there and I set up beryl and some other stuff for him so he can use the computer. But since its not a complete boot hal and some other things aren't loaded.

These are the spots it gets stuck at:

Boot:
Loading ACPI modules... ACPI: Battery Slot [BAT0] (battery present)

Shutdown:
BitTorrent tracker:bttracker.bittorrent.

There is a blank line after the boot and it shuts down fine so is bittorrent the problem?

If so how do I make it not load?
 
Old 07-13-2007, 01:50 AM   #7
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
you could boot with the boot code
acpi=off
and it should work
 
Old 07-13-2007, 01:53 AM   #8
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
we tried that and it gets about half through the boot process and restarts... so that doesn't seem to work.
 
Old 07-13-2007, 04:50 AM   #9
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Boot in single user and then replay the loading of acpi, adding some more information:

sh -x /etc/init.d/acpid

And look which acpi modules creates a problem (cpu?)


Quote:
we tried that and it gets about half through the boot process and restarts... so that doesn't seem to work.
Do you have some logs before it reboots (is the log at least open? or just if you can look at the last message and post it here)
 
Old 07-13-2007, 09:42 AM   #10
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
just to be clear because I'm not exactly sure if we are doing it right to begin with, how do you issue these extra boot parameters like acpi=off?

Edit: and which logs exactly am I looking for?

This is all a learning experience for me really...

Last edited by war1025; 07-13-2007 at 09:45 AM.
 
Old 07-13-2007, 01:31 PM   #11
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
I think the ACPI works just fine. That is the output from the script. We can see the battery status and other things so power management seems to be working. I think the problem is something else.

Code:
curt:/home/curt/Desktop/patch# sh -x /etc/init.d/acpid start
+ test -x /usr/sbin/acpid
+ '[' -d /proc/acpi ']'
+ OPTIONS=
+ '[' -f /etc/default/acpid ']'
+ . /etc/default/acpid
++ OPTIONS='-s /var/run/acpid.socket'
++ MODULES='battery ac processor button fan thermal'
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ . /etc/default/rcS
++ TMPTIME=0
++ SULOGIN=no
++ DELAYLOGIN=no
++ UTC=no
++ VERBOSE=no
++ FSCKFIX=no
++ RAMRUN=no
++ RAMLOCK=no
+ '[' xno = xno ']'
+ MODPROBE_OPTIONS=' -q'
+ export MODPROBE_OPTIONS
+ case "$1" in
+ '[' -f /proc/modules ']'
+ load_modules
++ /sbin/lsmod
++ awk '!/Module/ {print $1}'
+ LIST='button
ac
battery
ipv6
nvidia
fuse
dm_snapshot
dm_mirror
dm_mod
sbp2
loop
snd_via82xx
gameport
snd_mpu401_uart
tsdev
joydev
irtty_sir
sir_dev
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_seq_midi_event
snd_via82xx_modem
snd_ac97_codec
snd_seq
ac97_bus
snd_pcm_oss
snd_mixer_oss
nsc_ircc
shpchp
ipw2200
irda
snd_rawmidi
k8temp
psmouse
parport_pc
parport
ieee80211
ieee80211_crypt
snd_pcm
snd_seq_device
pcmcia
serio_raw
crc_ccitt
snd_timer
pci_hotplug
pcspkr
i2c_viapro
i2c_core
firmware_class
snd
snd_page_alloc
soundcore
yenta_socket
rsrc_nonstatic
pcmcia_core
evdev
eth1394
ext3
jbd
mbcache
sd_mod
ide_cd
cdrom
sata_via
ata_generic
libata
usb_storage
scsi_mod
generic
via82cxxx
ehci_hcd
ide_core
uhci_hcd
ohci1394
ieee1394
r8169
thermal
processor
fan'
++ uname -r
+ LOC=/lib/modules/2.6.21-2-amd64/kernel/drivers/acpi
+ '[' -d /lib/modules/2.6.21-2-amd64/kernel/drivers/acpi ']'
++ find /lib/modules/2.6.21-2-amd64/kernel/drivers/acpi -type f -name '*.o' -printf 'basename %f .o\n'
++ /bin/sh
++ find /lib/modules/2.6.21-2-amd64/kernel/drivers/acpi -type f -name '*.ko' -printf 'basename %f .ko\n'
+ MODAVAIL='video
i2c_ec
button
thermal
asus_acpi
ac
sbs
toshiba_acpi
dock
battery
ibm_acpi
processor
fan
container'
+ '[' 'battery ac processor button fan thermal' = all ']'
+ '[' -n 'battery ac processor button fan thermal' ']'
+ log_begin_msg 'Loading ACPI modules...'
+ '[' -z 'Loading ACPI modules...' ']'
+ echo -n 'Loading ACPI modules...'
Loading ACPI modules...+ STATUS=0
+ for mod in '$MODULES'
+ echo video i2c_ec button thermal asus_acpi ac sbs toshiba_acpi dock battery ibm_acpi processor fan container
+ grep -q -w battery
+ echo button ac battery ipv6 nvidia fuse dm_snapshot dm_mirror dm_mod sbp2 loop snd_via82xx gameport snd_mpu401_uart tsdev joydev irtty_sir sir_dev snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_via82xx_modem snd_ac97_codec snd_seq ac97_bus snd_pcm_oss snd_mixer_oss nsc_ircc shpchp ipw2200 irda snd_rawmidi k8temp psmouse parport_pc parport ieee80211 ieee80211_crypt snd_pcm snd_seq_device pcmcia serio_raw crc_ccitt snd_timer pci_hotplug pcspkr i2c_viapro i2c_core firmware_class snd snd_page_alloc soundcore yenta_socket rsrc_nonstatic pcmcia_core evdev eth1394 ext3 jbd mbcache sd_mod ide_cd cdrom sata_via ata_generic libata usb_storage scsi_mod generic via82cxxx ehci_hcd ide_core uhci_hcd ohci1394 ieee1394 r8169 thermal processor fan
+ grep -q -w battery
+ '[' no '!=' no ']'
+ for mod in '$MODULES'
+ echo video i2c_ec button thermal asus_acpi ac sbs toshiba_acpi dock battery ibm_acpi processor fan container
+ grep -q -w ac
+ echo button ac battery ipv6 nvidia fuse dm_snapshot dm_mirror dm_mod sbp2 loop snd_via82xx gameport snd_mpu401_uart tsdev joydev irtty_sir sir_dev snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_via82xx_modem snd_ac97_codec snd_seq ac97_bus snd_pcm_oss snd_mixer_oss nsc_ircc shpchp ipw2200 irda snd_rawmidi k8temp psmouse parport_pc parport ieee80211 ieee80211_crypt snd_pcm snd_seq_device pcmcia serio_raw crc_ccitt snd_timer pci_hotplug pcspkr i2c_viapro i2c_core firmware_class snd snd_page_alloc soundcore yenta_socket rsrc_nonstatic pcmcia_core evdev eth1394 ext3 jbd mbcache sd_mod ide_cd cdrom sata_via ata_generic libata usb_storage scsi_mod generic via82cxxx ehci_hcd ide_core uhci_hcd ohci1394 ieee1394 r8169 thermal processor fan
+ grep -q -w ac
+ '[' no '!=' no ']'
+ for mod in '$MODULES'
+ echo video i2c_ec button thermal asus_acpi ac sbs toshiba_acpi dock battery ibm_acpi processor fan container
+ grep -q -w processor
+ echo button ac battery ipv6 nvidia fuse dm_snapshot dm_mirror dm_mod sbp2 loop snd_via82xx gameport snd_mpu401_uart tsdev joydev irtty_sir sir_dev snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_via82xx_modem snd_ac97_codec snd_seq ac97_bus snd_pcm_oss snd_mixer_oss nsc_ircc shpchp ipw2200 irda snd_rawmidi k8temp psmouse parport_pc parport ieee80211 ieee80211_crypt snd_pcm snd_seq_device pcmcia serio_raw crc_ccitt snd_timer pci_hotplug pcspkr i2c_viapro i2c_core firmware_class snd snd_page_alloc soundcore yenta_socket rsrc_nonstatic pcmcia_core evdev eth1394 ext3 jbd mbcache sd_mod ide_cd cdrom sata_via ata_generic libata usb_storage scsi_mod generic via82cxxx ehci_hcd ide_core uhci_hcd ohci1394 ieee1394 r8169 thermal processor fan
+ grep -q -w processor
+ '[' no '!=' no ']'
+ for mod in '$MODULES'
+ echo video i2c_ec button thermal asus_acpi ac sbs toshiba_acpi dock battery ibm_acpi processor fan container
+ grep -q -w button
+ echo button ac battery ipv6 nvidia fuse dm_snapshot dm_mirror dm_mod sbp2 loop snd_via82xx gameport snd_mpu401_uart tsdev joydev irtty_sir sir_dev snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_via82xx_modem snd_ac97_codec snd_seq ac97_bus snd_pcm_oss snd_mixer_oss nsc_ircc shpchp ipw2200 irda snd_rawmidi k8temp psmouse parport_pc parport ieee80211 ieee80211_crypt snd_pcm snd_seq_device pcmcia serio_raw crc_ccitt snd_timer pci_hotplug pcspkr i2c_viapro i2c_core firmware_class snd snd_page_alloc soundcore yenta_socket rsrc_nonstatic pcmcia_core evdev eth1394 ext3 jbd mbcache sd_mod ide_cd cdrom sata_via ata_generic libata usb_storage scsi_mod generic via82cxxx ehci_hcd ide_core uhci_hcd ohci1394 ieee1394 r8169 thermal processor fan
+ grep -q -w button
+ '[' no '!=' no ']'
+ for mod in '$MODULES'
+ echo video i2c_ec button thermal asus_acpi ac sbs toshiba_acpi dock battery ibm_acpi processor fan container
+ grep -q -w fan
+ echo button ac battery ipv6 nvidia fuse dm_snapshot dm_mirror dm_mod sbp2 loop snd_via82xx gameport snd_mpu401_uart tsdev joydev irtty_sir sir_dev snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_via82xx_modem snd_ac97_codec snd_seq ac97_bus snd_pcm_oss snd_mixer_oss nsc_ircc shpchp ipw2200 irda snd_rawmidi k8temp psmouse parport_pc parport ieee80211 ieee80211_crypt snd_pcm snd_seq_device pcmcia serio_raw crc_ccitt snd_timer pci_hotplug pcspkr i2c_viapro i2c_core firmware_class snd snd_page_alloc soundcore yenta_socket rsrc_nonstatic pcmcia_core evdev eth1394 ext3 jbd mbcache sd_mod ide_cd cdrom sata_via ata_generic libata usb_storage scsi_mod generic via82cxxx ehci_hcd ide_core uhci_hcd ohci1394 ieee1394 r8169 thermal processor fan
+ grep -q -w fan
+ '[' no '!=' no ']'
+ for mod in '$MODULES'
+ echo video i2c_ec button thermal asus_acpi ac sbs toshiba_acpi dock battery ibm_acpi processor fan container
+ grep -q -w thermal
+ echo button ac battery ipv6 nvidia fuse dm_snapshot dm_mirror dm_mod sbp2 loop snd_via82xx gameport snd_mpu401_uart tsdev joydev irtty_sir sir_dev snd_seq_dummy snd_seq_oss snd_seq_midi snd_seq_midi_event snd_via82xx_modem snd_ac97_codec snd_seq ac97_bus snd_pcm_oss snd_mixer_oss nsc_ircc shpchp ipw2200 irda snd_rawmidi k8temp psmouse parport_pc parport ieee80211 ieee80211_crypt snd_pcm snd_seq_device pcmcia serio_raw crc_ccitt snd_timer pci_hotplug pcspkr i2c_viapro i2c_core firmware_class snd snd_page_alloc soundcore yenta_socket rsrc_nonstatic pcmcia_core evdev eth1394 ext3 jbd mbcache sd_mod ide_cd cdrom sata_via ata_generic libata usb_storage scsi_mod generic via82cxxx ehci_hcd ide_core uhci_hcd ohci1394 ieee1394 r8169 thermal processor fan
+ grep -q -w thermal
+ '[' no '!=' no ']'
+ log_end_msg 0
+ '[' -z 0 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
.
+ return 0
+ log_begin_msg 'Starting Advanced Configuration and Power Interface daemon...'
+ '[' -z 'Starting Advanced Configuration and Power Interface daemon...' ']'
+ echo -n 'Starting Advanced Configuration and Power Interface daemon...'
Starting Advanced Configuration and Power Interface daemon...+ start-stop-daemon --start --quiet --exec /usr/sbin/acpid -- -c /etc/acpi/events -s /var/run/acpid.socket
+ log_end_msg 0
+ '[' -z 0 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
.
+ return 0
+ exit 0
 
Old 07-13-2007, 01:57 PM   #12
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
nevermind.... ACPI is definitely the thing that is freezing up. During boot it won't work but after single user mode it will show like 5 more lines and then load fine. How do I turn it off?
 
Old 07-13-2007, 02:58 PM   #13
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Try booting with acpi=off or noacpi. When the grub menu shows, press "e" to edit. Arrow down to the kernel line, "e" again to edit, add a space and "noacpi" or "acpi=off" to the end of that line, press <Enter> to finish editing and "b" to boot. If everything works, start by adding that to /boot/grub/menu.lst kernel line and post back results.

Edit: this could be bug #428248 or from running a i586 kernel on a i686 box.
Have you tried adding "p4_clockmod" to /etc/modules ?

Last edited by makuyl; 07-13-2007 at 03:05 PM.
 
Old 07-13-2007, 03:57 PM   #14
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
its an amd64 machine. so I somehow doubt that. I'll tell him to give the boot thing a try though...
 
Old 07-13-2007, 04:12 PM   #15
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Mmh, my mind seems to have wandered off again. You might want to try nolapic as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub issues: dual boot Debian i386 & Debian amd64 ErrorBound Debian 1 03-09-2007 07:41 PM
Disk partition for dual boot laptop with Debian/WinXp hamtavs Linux - Software 2 04-26-2006 12:23 PM
cannot boot debian onto laptop, cdrom problem tashazo Linux - Newbie 6 01-22-2006 07:43 PM
CDROM problem on Debian laptop, won't boot ImperiestroMary Linux - Hardware 3 11-05-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration