On Sun, Jul 06, 2003 at 04:51:45PM +0200, Erez Doron wrote:
[snip]
> 
> I know how to write a kernel driver that accesses physical mem, but 
> until i run 'lspci' i d not know what memory address was given to my card.
> also, if i use a driver, i need to find the sources for the specific 
> kernel i have on cd, make a driver and use a floppy (as i d not have a 
> hard drive).

Why not? It's quite easy to boot knoppix with a custom kernel. This is
the recommended (by us) way to debug kernel code for OS course students.
The only thing you need except vanilla linux kernel sources is the cloop
driver (for their compressed loop). You can put on the hard disk lilo
with several kernels and initrd images (one of them can be the original
knoppix one), you'll need to put in the initrd a cloop compiled against
your kernel, and mostly it works. I even wrote some scripts for them
(which I am not proud of enough to publish but don't mind emailing) to
do that automatically.
Then, if your driver is ok and you can access the disk, you can recompile
the kernel when you need and add it to lilo, and if not, you simply boot
with an older one (or with knoppix's).

> 
> i was looking for a sminpler way, like i used lspci and pcitweak before 
> ( that came with the knoppix bootable cd)
> 
-- 
Didi

> cheers,
> erez.
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to