LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2004, 06:59 PM   #1
Observer24
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Exclamation Shut down hangs when network connected


Hello,
I am running mandrake 10.1 Community edition on a vprmatrix 220a5 laptop. I am experiencing a problem I have experienced with several distros running the 2.6.x kernel. When I try to shut down or reboot, the system hangs and I have to hard reset. However, if I boot the system with the network cable disconnected, it shuts down/reboots cleanly.
The last message displayed when shutting down isn't consistent. And I never experienced this problem running Redhat 9.0.
What can I do to diagnose and solve this problem? Has anyone experienced this before, and how can it be solved!

Thank you.
 
Old 09-27-2004, 07:02 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
can you see where it stop's if you halt the box from the console? have you dhcp enabled?

sl mritch.
 
Old 09-27-2004, 07:34 PM   #3
Observer24
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
When I reboot from console, I normally type "reboot" or "shutdown -r" and it turns off the computer in the same manner as when I shut down from KDE. The last message that's displayed isn't consistant each time. And I do have DHCP enabled, as I need it for internet connectivity (I'm on a college campus).

Thank you,
 
Old 09-27-2004, 07:54 PM   #4
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
try bringing your ethernet card down and ther try shutting down..

#ifconfig eth0 down

#shutdown -r

u could write a simple bash script

#! /bin/bash
`ifconfig eth0 down`
`shutdown -r`

something like the above..


.. put it in ur path .. and call the script..
 
Old 09-27-2004, 08:09 PM   #5
Observer24
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I tried that, but my system hanged (hung?) when I tried to turn off the network. So it appears that the system hangs when I attempted to deactivate the network...any suggestions?

Thanks!
 
Old 09-27-2004, 08:42 PM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
maybe a prob with your network card. what does dmesg say about it?
another:
try the way UsualTuxpect suggested and reconfigure the network with
ifconfig ethX 0.0.0.0 before.

sl mritch.

Last edited by mritch; 09-27-2004 at 09:09 PM.
 
Old 09-27-2004, 09:10 PM   #7
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
thats really wierd...

try killing the dhclient running on ur system..


#ps -ael | grep dhclient

[SAMPLE OUTPUT]
1 S 0 910 1 0 75 0 - 475 0 ? 00:00:00 dhclient

1) #kill -9 910 [ie. the process-id of dhclient]

2) #ifconfig eth0 down

3) #shutdown -r

post back as to how it went....

Best of luck...

Last edited by UsualTuxpect; 09-27-2004 at 09:12 PM.
 
Old 09-28-2004, 01:24 PM   #8
Observer24
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I successfully killed the dhclient, but again, when I attempted the ifconfig ..., the system hung and because totally unresponsive.

Any ideas?
 
Old 09-28-2004, 02:09 PM   #9
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
does it happen with a 2.4 kernel or just with 2.6?
please post type of your network card & what dirvers u use.
have you iptables set up on that box?
sound quite weired to me...

sl mritch.
 
Old 09-29-2004, 09:29 AM   #10
Observer24
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I never had any problem with this in the 2.4 kernel (I was running Redhat 9), however, I have had this problem in *every* 2.6 distro I've used.

Harddrake is telling me this information about my network adaptor:

Identification
Vendor: ‎National Semi

Description: ‎DP83810 10/100 Ethernet

Media class: ‎NETWORK_ETHERNET

Connection
Bus: ‎PCI

Bus PCI #: ‎0

PCI device #: ‎18

PCI function #: ‎0

Vendor ID: ‎4107

Device ID: ‎32

Sub vendor ID: ‎5421

Sub device ID: ‎8705

Misc
Module: ‎natsemi

In terms of iptables, I'm not sure if I have any set up. i don't remember doing so.

Thank you.
 
Old 09-29-2004, 01:45 PM   #11
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
well, do a lspci -vv for the network-card. this will give more info. also post nfo 'bout your irq allocation (cat /proc/interrupts) or post the whole lspic output. i assume you have acpi enabled, so try booting with acpi=off. maybe it's related to powermanagement, but i'm guessing now.
have you googled on that issue. sometimes you're lucky and somebody had the same troubles before.

iptables -L -v will give you a list of active firewall rules.

sl mritch.

Last edited by mritch; 09-29-2004 at 01:47 PM.
 
Old 09-29-2004, 06:07 PM   #12
Observer24
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Here's the output of the lspci:
Code:
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
        Subsystem: QUANTA Computer Inc: Unknown device 2201
        Flags: bus master, medium devsel, latency 90, IRQ 5
        I/O ports at 1c00 [size=256]
        Memory at e8008000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [40] Power Management version 2
And everything else. eth2 is the network card in question. eth1 is my wireless card. I can kill eth1 with no problem.
Code:
[root@r57h192 home]# cat /proc/interrupts
           CPU0
  0:     503624          XT-PIC  timer
  1:        377          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:       2955          XT-PIC  eth2
  9:        169          XT-PIC  acpi
 10:      27888          XT-PIC  uhci_hcd, ehci_hcd, yenta, ALI 5451
 11:      24953          XT-PIC  uhci_hcd, ohci1394, eth1, nvidia
 12:         58          XT-PIC  i8042
 14:       6511          XT-PIC  ide0
 15:       4162          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          0
MIS:          0
I have tried booting with ACPI off, with no success, as well as noapic and nolapic.
The command "iptables" returned a "command not found"

Thanks for any help.
 
Old 09-30-2004, 04:36 AM   #13
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
so it's related to the 2.6.? kernel. what sub version(s)?

i suggest to look for similar problems at www.tux.org/lkml/ , the kernel mailing list. mybe post there, but the list is somewhat crowded, so don't be sure to get an answer:-(
to you need 2.6 for any reasons? if not i'd keep using 2.4 for now.

if it's a module, see if there are options for it with "modinfo xxx".

can't think of what's wrong here.

sl mricth.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
switch connected to the linux board hangs up mishal4 Linux - Hardware 2 11-10-2005 04:09 AM
On network but not connected to internet. tongueless Linux - Networking 3 01-25-2005 03:27 PM
System hangs up on restart and shut down darknails Fedora 7 01-24-2005 04:04 AM
system slows down or hangs when connected to the internet flipboi Linux - General 4 12-02-2003 05:36 PM
PC hangs on startup with USB devices connected davee Linux - Hardware 5 09-12-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 AM.

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