LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-04-2004, 11:21 PM   #1
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Rep: Reputation: 0
Question constant reboots after apt-get upgrade


Hi

Installed debian sarge via the net install beta 3 iso, installed gnome 2.4, upgraded and compiled to kernel 2.6.5, installed nvidia module (the debian way) sorted out sound issues with alsa and everything’s hunky dory –works fine… Then apt-get upgrade the system 50-60megs of files and after a reboot debian loads and into gnome I go then roughly 1 minute later the computer reboots! Everytime! If I stay in a console it still reboots!
If I select kernel 2.4.25 at grub it doesn’t suffer the same reboot problem, though I cant get X to work cos the nvidia module is installed only for kernel 2.6.5.
Googled around – recompiled 2.6.5 without agpgart support, no difference.. edited XF86Config-4 (the device Option “NvAGP” settings – tried all of them 0-1-2-3) no change…
If it was a power supply/ bad ram module error surely the problem would be also evident in window$ or when running kernel 2.4.25?



Obviously I cant get into a graphical desktop to post outputs of /var/log or XF86Config-4 or dmesg or config files – I am trying to get extfs2anywhere to mount the drive in window$.. Will post if i can get it to stop trying to format the debian partitions


Any help would be appreciated guys!


Dual Boot XPee/Debian
Pentium4 3.06 800mhz fsb
512Mb DDR400
Gygabyte GA81PE1000
2x Seagate SATA 80Gb SIL3112r raid0
1x Maxtor ATA100 80Mb
BTC1004 DVDRW
 
Old 05-04-2004, 11:40 PM   #2
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
I believe I had the exact same problem, which was solved by removing APIC support from the kernel.. If that doesn't work try disabling any power management support (ACPI and/or APM)..
 
Old 05-05-2004, 02:52 AM   #3
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
Cheers mate - though recompiling without apm and acpi in the kernel made no change and passing "noapic" in grub made no difference either.
Still cant get ext2fs to work properly to post some info.... Grrr
 
Old 05-05-2004, 03:19 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The file you should probably be looking at it /var/log/syslog. To view it do cat /var/log/syslog | less if you have problems interpreting it nad want to post it then you create a text file by doing cat /var/log/syslog > /home/your_usr_name/syslog.txt. You could then copy the file to a floppy.

Last edited by TigerOC; 05-05-2004 at 04:01 AM.
 
Old 05-05-2004, 04:25 AM   #5
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
gday tigerOC
Cheers for the reply
heres some of the syslog output... i'm assuming this is a relevant portion..
finally got ext2fs anywhere to work!



May 5 11:12:05 localhost kernel: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
May 5 11:12:05 localhost kernel: apm: disabled - APM is not SMP safe.
May 5 11:12:05 localhost modprobe: FATAL: Error inserting apm (/lib/modules/2.6.5.05052004-0900/kernel/arch/i386/kernel/apm.ko): No such device
May 5 11:12:06 localhost kernel: nvidia: module license 'NVIDIA' taints kernel.
May 5 11:12:06 localhost kernel: 0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
May 5 11:12:07 localhost kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
May 5 11:12:07 localhost kernel: atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
May 5 11:12:07 localhost kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
May 5 11:12:07 localhost kernel: atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
May 5 11:12:14 localhost gconfd (ade-1649): starting (version 2.4.0.1), pid 1649 user 'ade'
May 5 11:12:14 localhost gconfd (ade-1649): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
May 5 11:12:14 localhost gconfd (ade-1649): Resolved address "xml:readwrite:/home/ade/.gconf" to a writable config source at position 1
May 5 11:12:14 localhost gconfd (ade-1649): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
May 5 11:12:14 localhost kernel: NET: Registered protocol family 10
May 5 11:12:14 localhost kernel: Disabled Privacy Extensions on device c03541a0(lo)
May 5 11:12:14 localhost kernel: IPv6 over IPv4 tunneling driver
May 5 11:12:25 localhost kernel: eth0: no IPv6 routers present
May 5 11:14:20 localhost syslogd 1.4.1#10: restart. < < <<<<<<<<NUMEROUS ENTRIES LIKE THIS<<<<<<<<<<<
May 5 11:14:20 localhost kernel: klogd 1.4.1#10, log source = /proc/kmsg started.
May 5 11:14:20 localhost kernel: Inspecting /boot/System.map-2.6.5.05052004-0900
May 5 11:14:20 localhost kernel: Loaded 27522 symbols from /boot/System.map-2.6.5.05052004-0900.
May 5 11:14:20 localhost kernel: Symbols match kernel version 2.6.5.
May 5 11:14:20 localhost kernel: No module symbols loaded - kernel modules not enabled.
May 5 11:14:20 localhost kernel: Linux version 2.6.5.05052004-0900 (root@pentium4) (gcc version 3.3.3 (Debian 20040401)) #1 SMP Wed May 5 09:09:07 EST 2004
May 5 11:14:20 localhost kernel: BIOS-provided physical RAM map:
May 5 11:14:20 localhost kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
May 5 11:14:20 localhost kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
May 5 11:14:20 localhost kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
May 5 11:14:20 localhost kernel: BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
May 5 11:14:20 localhost kernel: BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
May 5 11:14:20 localhost kernel: BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
May 5 11:14:20 localhost kernel: BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
May 5 11:14:20 localhost kernel: 0MB HIGHMEM available.
May 5 11:14:20 localhost kernel: 511MB LOWMEM available.
May 5 11:14:20 localhost kernel: found SMP MP-table at 000f5030
May 5 11:14:20 localhost kernel: On node 0 totalpages: 131056
May 5 11:14:20 localhost kernel: DMA zone: 4096 pages, LIFO batch:1
May 5 11:14:20 localhost kernel: Normal zone: 126960 pages, LIFO batch:16
May 5 11:14:20 localhost kernel: HighMem zone: 0 pages, LIFO batch:1
May 5 11:14:20 localhost kernel: DMI 2.3 present.
May 5 11:14:20 localhost kernel: ACPI: RSDP (v000 GBT ) @ 0x000f69a0
May 5 11:14:20 localhost kernel: ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff3000
May 5 11:14:20 localhost kernel: ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff3040
May 5 11:14:20 localhost kernel: ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff6f00
May 5 11:14:20 localhost kernel: ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
May 5 11:14:20 localhost kernel: ACPI: Local APIC address 0xfee00000
May 5 11:14:20 localhost kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
May 5 11:14:20 localhost kernel: Processor #0 15:2 APIC version 20




if theres anything else i can post to assist i will
 
Old 05-05-2004, 05:31 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have compared my syslog (kernel-2.6.3-7) to yours and at the point where it issues restart it is loading agp;

May 5 09:23:06 kt3 kernel: agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
May 5 09:23:06 kt3 kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
May 5 09:23:06 kt3 kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
May 5 09:23:06 kt3 kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
May 5 09:23:06 kt3 kernel: atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.

I assume there may be a problem with the agp related to nvidia. Have you tried using the plain nv driver? Alternatively install the 2.6.3-7 kernel. I have Nvidia working through their normal installer with the 2.6.3-7 kernel.

Last edited by TigerOC; 05-05-2004 at 05:33 AM.
 
Old 05-05-2004, 06:13 AM   #7
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
hi tigerOC
just done a quick lsmod before it rebooted and it seems to be i have a incorrect module loading...

intel_agp_mch
or something like that - i have a nvidia gforce fx5200 - no onboard video (intel 865 not 865g)
tried to rmmod -f but it still rebooted..
if i have compiled that module by mistake when i did "make oldconfig" why would it load now?

config file 2.6.5:

#
# Ftape, the floppy tape device driver
#
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
CONFIG_AGP_INTEL_MCH=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
will try another reconfigure and see how that goes..

the have never gotten the nv driver to work with this graphics card and installing the nvidia 5336.run file didnt work either errors out before it will install...

ta
 
Old 05-05-2004, 06:31 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You have set the Intel;
CONFIG_AGP_INTEL_MCH=m
so it will be in the kernel modules. As root do modconf and go down to the agp drivers and check whether this module is actually set (+ next to it) if it is press enter and it will confirm that you want to remove it say yes and that should sort it out.
Also check to see you are loading agpgart.
I also had problems with the Nvidia installer on my own compiled kernel but it worked fine with the Debian kernel image.

Last edited by TigerOC; 05-05-2004 at 06:36 AM.
 
Old 05-05-2004, 09:08 AM   #9
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
Ok...
recompiled with 2.6.3 - still reboots.
checked lsmod - nvidia, nvidia_agp and agpgart loaded.
set option "NvAGP" to "3" (use any agp)
modconf'd now definatley do not have intel_agp_mch loaded.

Im getting mighty close to a reinstall here - but i dont want this problem to reoccur - not knowing what is causing the prob..

strange how everything was working until i apt-get upgrade'd???
 
Old 05-05-2004, 11:00 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Try installing the 2.6.3 kernel-image alone i.e. don't compile the kernel. There may be something you have inserted or not inserted that is causing the problem. If it works then compare the 2 config files and see it you can spot the differences.
 
Old 05-07-2004, 09:22 AM   #11
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
hi
tried to install kernel 2.6.3 without compiling - got the kernel panic - cannot open root file system blah blah... so not being able to compare a running 2.6* stock kernel config and my config i recompiled with 2.6.4 and went through everything making "intelligent" guesses as to the options i wasnt sure about, i'm not a total noob regarding compilation of kernels had no errors previously at boot up...
Tried several things - omitted:
no apm (the apm help in menuconfig blurbs about reboots and possible causes)
and i did get at one stage a message in syslog stating apm is not smp safe just before a reboot - that one didnt reoccur in the log after removing apm from the kernel.
no MCE (machine check exception)
no ACPI


anyway this is the latest output from syslog

May 7 23:36:13 localhost kernel: intel8x0: clocking to 48000
May 7 23:36:13 localhost kernel: usb 4-2: new full speed USB device using address 2
May 7 23:36:13 localhost kernel: ohci1394: $Rev: 1172 $ Ben Collins <bcollins@debian.org>
May 7 23:36:13 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0057
May 7 23:36:13 localhost kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[16] MMIO=[fb011000-fb0117ff] Max Packet=[2048]
May 7 23:36:13 localhost kernel: drivers/usb/core/usb.c: registered new driver usblp
May 7 23:36:13 localhost kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
May 7 23:36:13 localhost kernel: usb 2-2: new full speed USB device using address 3
May 7 23:36:13 localhost kernel: usb 2-2: device not accepting address 3, error -110
May 7 23:36:13 localhost kernel: usb 2-2: new full speed USB device using address 4
May 7 23:36:13 localhost kernel: ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011060000014190]
May 7 23:36:13 localhost kernel: NET: Registered protocol family 17
May 7 23:36:14 localhost xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable)
May 7 23:36:14 localhost xfs: ignoring font path element /usr/lib/X11/fonts/CID (unreadable)
May 7 23:36:16 localhost /usr/sbin/cron[1356]: (CRON) INFO (pidfile fd = 3)
May 7 23:36:16 localhost /usr/sbin/cron[1357]: (CRON) STARTUP (fork ok)
May 7 23:36:16 localhost /usr/sbin/cron[1357]: (CRON) INFO (Running @reboot jobs)
May 7 23:39:38 localhost syslogd 1.4.1#14: restart.
May 7 23:39:38 localhost kernel: klogd 1.4.1#14, log source = /proc/kmsg started.
May 7 23:39:38 localhost kernel: Inspecting /boot/System.map-2.4.25-1-386
May 7 23:39:38 localhost kernel: Loaded 18505 symbols from /boot/System.map-2.4.25-1-386.
May 7 23:39:38 localhost kernel: Symbols match kernel version 2.4.25.
May 7 23:39:38 localhost kernel: Loaded 472 symbols from 20 modules.
May 7 23:39:38 localhost kernel: Linux version 2.4.25-1-386 (herbert@gondolin) (gcc version 3.3.3 (Debian 20040401)) #2 Wed Apr 14 19:38:08 EST 2004


what is CRON "/cyrillic unreadable" and CID? are they significant?
please guys help me out - getting tired here.....

ade
 
Old 05-07-2004, 12:04 PM   #12
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Note that you are using the 2.4.25 kernel;

May 7 23:39:38 localhost kernel: Inspecting /boot/System.map-2.4.25-1-386
May 7 23:39:38 localhost kernel: Loaded 18505 symbols from /boot/System.map-2.4.25-1-386.
May 7 23:39:38 localhost kernel: Symbols match kernel version 2.4.25.

Did you apt-get install kernel-image-2.6.3-7? or did you just get the source?
The references to cryllic etc are about the type of fonts - they occur in my syslog as well because I don't have them.

Last edited by TigerOC; 05-07-2004 at 12:06 PM.
 
Old 05-07-2004, 05:33 PM   #13
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
sorry that was a random reboot and then restart with the working 2.4 kernel...

May 7 23:32:39 localhost kernel: NET: Registered protocol family 17
May 7 23:32:41 localhost xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable)
May 7 23:32:41 localhost xfs: ignoring font path element /usr/lib/X11/fonts/CID (unreadable)
May 7 23:32:42 localhost /usr/sbin/cron[1353]: (CRON) INFO (pidfile fd = 3)
May 7 23:32:42 localhost /usr/sbin/cron[1354]: (CRON) STARTUP (fork ok)
May 7 23:32:42 localhost /usr/sbin/cron[1354]: (CRON) INFO (Running @reboot jobs)
May 7 23:36:13 localhost syslogd 1.4.1#14: restart.
May 7 23:36:13 localhost kernel: klogd 1.4.1#14, log source = /proc/kmsg started.
May 7 23:36:13 localhost kernel: Inspecting /boot/System.map-2.6.4.07052004-2320
May 7 23:36:13 localhost kernel: Loaded 26225 symbols from /boot/System.map-2.6.4.07052004-2320.
May 7 23:36:13 localhost kernel: Symbols match kernel version 2.6.4.
May 7 23:36:13 localhost kernel: No module symbols loaded - kernel modules not enabled.
May 7 23:36:13 localhost kernel: Linux version 2.6.4.07052004-2320 (root@pentium4) (gcc version 3.3.3 (Debian 20040429)) #1 SMP Fri May 7 23:25:41 EST 2004
May 7 23:36:13 localhost kernel: BIOS-provided physical RAM map:
May 7 23:36:13 localhost kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
May 7 23:36:13 localhost kernel: BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
May 7 23:36:13 localhost kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
May 7 23:36:13 localhost kernel: BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)


i apt-get 'd the kernel source and compiled the debian way..
i'll try apt-getting the kernel-image 2.6.3-7 and see how that goes...

cheers for the help so far
 
Old 05-08-2004, 01:50 AM   #14
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
This line is telling you that the kernel modules are not enabled. Check that the modules have been put in /lib.;
May 7 23:36:13 localhost kernel: No module symbols loaded - kernel modules not enabled.
 
Old 05-08-2004, 03:10 AM   #15
adrian5800
LQ Newbie
 
Registered: Feb 2004
Location: sydney australia
Distribution: Debian, Mandrake10
Posts: 12

Original Poster
Rep: Reputation: 0
there seems to be modules installed

\usr\lib\modules\2.6.4.07052004-2320

any particular reason why they arent loading and could that be the cause of the problems?

this is part of the config file for this kernel image

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y

cheers
 
  


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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
can not apt-get upgrade rednuht Debian 17 09-01-2005 04:55 AM
UPgrade ? regarding apt-get Ghost of War Linux - Software 5 04-23-2004 07:03 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM
Linux Reboots after HW upgrade neomage Linux - Hardware 0 07-14-2003 12:44 AM

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

All times are GMT -5. The time now is 02:31 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