View previous topic :: View next topic |
Author |
Message |
ahaaee n00b

Joined: 12 Oct 2006 Posts: 2
|
Posted: Thu Oct 12, 2006 3:12 pm Post subject: /proc/devices not show the device |
|
|
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 |
|
 |
a16b03 Apprentice

Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Thu Oct 12, 2006 11:39 pm Post subject: |
|
|
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 |
|
 |
ahaaee n00b

Joined: 12 Oct 2006 Posts: 2
|
Posted: Fri Oct 13, 2006 4:06 pm Post subject: |
|
|
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 |
|
 |
|