View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat May 19, 2007 1:23 am 
Offline
Joined: Wed Nov 08, 2006 2:15 am
Posts: 3
I am trying to upgrade the kernel in knoppmyth.
The reason for this is that i have a Hauppauge nova-t 500
This card experiences random disconnects from the usb bus and this problem is reportedly less frequent with the 2.6.21.1 kernel in combination with the latest hg v4l-dvb

My problem is that when trying to boot with the new kernel, the proc filesystem does not get mounted. this causes a lot of failure of other processes during startup.

After booting is completed i can mount /proc from the command line without problem.

So my question is: why is this happening? where do i look to fix this problem? What have i missed?

/Nils


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 19, 2007 12:41 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
Look in your /etc/fstab file and make sure it has an entry for proc. This is a typical computer (although not my KM box):

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 1:54 am 
Offline
Joined: Wed Nov 08, 2006 2:15 am
Posts: 3
Thanks for the answer.
I wish that it was that simple.
The fstab is ok. It works with the 2.6.18 kernel.
Its more like the during boot of the 2.6.21 kernel somehow the mounting of the /proc filesystem fails silently.
I have added support for procfs and sysfs in the kernel.
After boot
mount /proc
works and then i can access the proc filesystem.

I have installed the 2.6.21 kernel on Mepis (debian/ubuntu based) without problems so i suspect there is some difference in the startup scripts on knoppmyth.

But so far i have not been able to find it.

Any suggestions where to look for the problem is welcome.

Regards,
Nils


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 1:53 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
OP, I need to do this as well because I have heard that some libata sata bugs that affect my sata pci card have been fixed.

I changed the /etc/apt/sources.list from stable to testing. Then I apt-get get the prepackaged kernel for k7 (athalon xp) verify the /etc/lilo.conf and run lilo to update the mbr.
Reboot, delays on lirc hardware and nvidia driver update, but starts mysql and backend. uname -a shows the latest testing kernel, and the backend is working great recording all my programs and working with the slaves well. However, the lirc and nvidia modules don't appear to be setup or working so I don't get a frontend, just keeps attempting to respawn.

Suggested to build the nvidia kernel module for the newer 2.6.21.1 kernel.

I read something that says to build the modules
m-a update
m-a prepare
apt-get the 2.6.21.1 headers

It fails trying to get nvidia kernel common source which must not be in testing.

The bugs in the sata kernel code for my sata pci card appear to be gone though.

I would like to make a wiki page that explains how to upgrade to the latest prepackaged kernel and compile the relevant kernel modules if that is possible without breaking knoppmyth. It would be a step closer to being able to apt-get update a knoppmyth system for security and stability fixes.

I compared the config between cecils and the debian stock kernel. Seems very different in that most of debian's options are set to "m" modules while cecils say "y" aka compiled into the kernel.

An alternative is to download the debian testing kernel source and use cecils config to compile a custom kernel. I guess that would mean patching the kernel with all the foreign drivers somehow.

I suspect I may just have to wait until the next release to get my SATA drives working. As a backend thought everything seems to be working beautiful with the stock config. If anyone knows if cecil makes his source patches and steps to compile public that may make such a wiki page possible. However, if it is too much trouble I will obviously need to wait.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 19, 2007 4:50 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
You can gunzip the initird and have it mount proc in there....


Top
 Profile  
 
 Post subject: gunzip tinitrd
PostPosted: Fri Jul 20, 2007 10:45 am 
Offline
Joined: Sun Mar 05, 2006 11:27 am
Posts: 44
Location: Edinburgh, Scotland
There are some details of how to make changes to the tinitrd ramdisk as part of http://knoppmythwiki.org/index.php?page=NovaT500. It might give you an idea of the steps you will need to take.

Babblefish


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 59 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu