Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/proc/devices not show the device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ahaaee
n00b
n00b


Joined: 12 Oct 2006
Posts: 2

PostPosted: Thu Oct 12, 2006 3:12 pm    Post subject: /proc/devices not show the device Reply with quote

Hello, I'm a newbie to gentoo and linux and I wonder if anyone here would be able to help me with a problem. :)

I've developed a kernel module to talk to a custom made PCI card. I was able to communicate with it for about a year.
It's been running solid until today. I realised the cron job was creating the /root/dead.letter. It's filled up the disk space after running for about six months. I deleted the dead.letter file but when rebooting it prompted to me that it needed to interven with a "ctrl+d". After that, the system was running fine, the kernel module was loaded fine as well, but when I checked the /proc/devices I no longer can see the device. Is it possible that some files are corrupted to cause this problem? But if I do a "lspci", I can see the "anchor" PCI chip listed which's used in the custom made PCI card.

The system is running kernel 2.6.15.1 (gentoo source).

Many thanks
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Thu Oct 12, 2006 11:39 pm    Post subject: Reply with quote

I'm not shure, but check youre /etc/fstab file

I think your /proc is mounted else where if mounted.

You should have this line
Code:
proc         /proc      proc      defaults   0 0


Mybe it's deleted



All devices are in /dev dir
Back to top
View user's profile Send private message
ahaaee
n00b
n00b


Joined: 12 Oct 2006
Posts: 2

PostPosted: Fri Oct 13, 2006 4:06 pm    Post subject: Reply with quote

Thanks. I think I know what the problem is. The custom PCI card was in a funny state where it's not communicating to the kernel module.

After resetting the on board memory by pulling out the battery jumper, it's working again. But I still don't know what's causing it to be in
that sort of state. I'm still investigating the root cause :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum