LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-08-2006, 06:27 PM   #1
kloss
Member
 
Registered: Nov 2004
Location: France & Germany
Distribution: (Pure) Debian Etch & Sid
Posts: 116

Rep: Reputation: 15
Weird: I/O error. Files are detected but cannot be seen...


Hello
The title of the thread is a bit obvious, but... look at this:

Code:
01:16:00 /var/run
ROOT # ls -la
ls: dhclient.pid: Input/output error
ls: crond.pid: Input/output error
ls: inetd.pid: Input/output error
ls: Xprt_0.pid: Input/output error
total 52K
drwxr-xr-x   6 root      root    4,0K 2006-02-08 23:59 .
drwxr-xr-x  14 root      root    4,0K 2006-02-03 11:51 ..
srw-rw-rw-   1 root      root       0 2006-02-08 23:58 acpid.socket
drwxr-xr-x   2 root      root    4,0K 2006-02-06 10:31 alsa
-rw-r--r--   1 root      root       5 2006-02-09 00:58 cardmgr.pid
drwxr-xr-x   2 root      root    4,0K 2006-02-08 23:58 cups
-rw-r--r--   1 root      root       5 2006-02-08 23:59 cvpnd.pid
drwx------   2 fetchmail nogroup 4,0K 2006-02-04 16:23 fetchmail
-rw-r--r--   1 root      root       5 2006-02-08 23:58 klogd.pid
-rw-r--r--   1 root      root      16 2006-02-09 00:58 stab
-rw-r--r--   1 root      root       5 2006-02-08 23:58 syslogd.pid
drwxr-xr-x   2 root      root    4,0K 2005-08-04 19:20 usb
-rw-rw-r--   1 root      utmp    3,8K 2006-02-08 23:59 utmp
-rw-r--r--   1 root      root     162 2006-02-08 23:58 Xprint_servers

01:16:06 /var/run
ROOT # less foo
foo: No such file or directory

01:16:32 /var/run
ROOT # less inetd.pid
inetd.pid: Input/output error
What do you think about these 4 files wich are detected, but which do not appear in the directory...
I don't ask that just because I'm curious: today I've got a dozen of kernel panics / boot freezes and the /var/log/boot indicates that something is wrong with these files.

Thanks for your help
++

Last edited by kloss; 02-08-2006 at 06:28 PM.
 
Old 02-08-2006, 08:37 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
pids are:

http://linux.about.com/library/cmd/blcmdln_pid.htm

i don't now why they are showing up, but i doubt they have anything to do with panics.

panics are *usually* caused by bad kernels, missing initrd (image file), or bad dev setups.

good luck, let us know.
 
Old 02-09-2006, 03:41 AM   #3
kloss
Member
 
Registered: Nov 2004
Location: France & Germany
Distribution: (Pure) Debian Etch & Sid
Posts: 116

Original Poster
Rep: Reputation: 15
Re. I always thought checking the partitions was a waste of time, but I must say that fsck did here a good job :

Code:
root@1[mnt]# fsck /dev/hda7
fsck 1.39-WIP (10-Dec-2005)
e2fsck 1.39-WIP (10-Dec-2005)
/var has been mounted 31 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Entry 'dhclient.pid' in /run (127489) has deleted/unused inode 127492.  Clear<y>? yes

Entry 'crond.pid' in /run (127489) has deleted/unused inode 127496.  Clear<y>? yes

Entry 'Xprt_0.pid' in /run (127489) has deleted/unused inode 127502.  Clear<y>? yes

Entry 'cvpnd.pid' in /run (127489) has deleted/unused inode 127500.  Clear<y>? yes

Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -266240
Fix<y>? yes

Free blocks count wrong for group #8 (32260, counted=32261).
Fix<y>? yes

Free blocks count wrong (510398, counted=510399).
Fix<y>? yes

Free inodes count wrong for group #8 (15931, counted=15929).
Fix<y>? yes

Free inodes count wrong (362684, counted=362682).
Fix<y>? yes


/var: ***** FILE SYSTEM WAS MODIFIED *****
/var: 3846/366528 files (6.8% non-contiguous), 222558/732957 blocks
Now I don't expercience issue with "ghost files" anymore.


Quote:
Originally Posted by halvy
panics are *usually* caused by bad kernels, missing initrd (image file), or bad dev setups.
Yep. In fact I don't know what happend. Yesterday I worked as a normal user (not root) and did not perform any task such as adding a piece of hardware or modifying a config file. The next time I could not boot my comp: boot freeze while entering runlevel 2. I could boot as a single user, though. When I shut down the box, I got hundreds of error messages - which one cannot understand. Examples:

Code:
EIP is at do_page_fault+0xd6/0x6bf
eax: dfa40000 ebx:00000000 ecx:0000007b edx:ffffff7b esi:00030001
edi:0000000d ebp:0000000b esp: dfa417c8
ds: 007b es:007b ss:0008
Unable to handle kernel paging request at virtual address ffffffef
printing eip:
c0114fe6
*pde=00002067
*pte=00000000
Recursive die() failure, output suppressed
 <0> Kernel panic - not syncing: Fatal exception in interrupt
Code:
inode hda2: 96697 at df6aa440: mode 120777, nlink 1, next 0
I rebooted, and rebooted, and rebooted - always the same problem. But after around ten reboots all worked.

That's mysterious for me. So far I found the kernel rock solid - never had a kernel panic. Then a problem occurs, though I did not change anything on my box. Then it disappeared... Strange...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird problem copying files with Samba... iammike Linux - Networking 2 04-12-2005 05:19 PM
weird files in /root dir PennyroyalFrog Linux - Newbie 3 01-07-2005 08:21 PM
weird files in /root ?? what are these? trey85stang Linux - Newbie 3 08-12-2004 12:49 PM
scsi error Data Parity Error Detected potty Linux - Hardware 0 02-17-2004 02:48 PM
wvdial error..Carrier not detected sofh Linux - Networking 0 10-04-2003 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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