Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
minimal root file system for testing dangerous kernels
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
hakbeest
n00b
n00b


Joined: 26 Aug 2004
Posts: 27

PostPosted: Fri Aug 18, 2006 12:32 pm    Post subject: minimal root file system for testing dangerous kernels Reply with quote

the linux driver for my ide chipset seems to have a lot of trouble with dma. If I boot it up without ide=nodma it completely corrupts the root partition. Still for debugging purposes I need to boot in this way, so I've created an auxiliary partition on my disk for being the root fs for such kernels which corrupt it. Unfortunately since it is still empty I cannot boot any kernels with it.

What I woukd like to know is a fast way (my disk is doing ~2MB/s reads) of populating this filesystem with just enough files to boot a kernel and be able to scp a copy of dmesg to another box. I may have to do this a lot of times, so it has to be simple and fast.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1991
Location: Poland

PostPosted: Fri Aug 18, 2006 1:25 pm    Post subject: Reply with quote

Why don't you just use a stage3 tarball?
Back to top
View user's profile Send private message
hakbeest
n00b
n00b


Joined: 26 Aug 2004
Posts: 27

PostPosted: Fri Aug 18, 2006 1:50 pm    Post subject: Reply with quote

Yes, good idea. I extracted a stage 3 tarball to my victim partition and rebooted with a hungry kernel. Unfortunately while booting it corrupts my filesystem so the init scripts can't run and I have to enter the root passwd (which I believe is autoscrambled) or press ctrl-D to reboot :(

hmm, I guess I need to construct an initial rootdisk to load into ram.
Back to top
View user's profile Send private message
hakbeest
n00b
n00b


Joined: 26 Aug 2004
Posts: 27

PostPosted: Mon Aug 21, 2006 1:05 pm    Post subject: Reply with quote

I've tried using an initrd from the iso of minimax linux. For some reason though, dmesg output output is incomplete. The first half or so just isn't there. I've not been able to find out how this can happen.

I'm thinking about building a custom livecd with catalyst.
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