[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] printk work for MTD debugging but not for module
- To: uclinux-dev@xxxxxxxxxxx, microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] printk work for MTD debugging but not for module
- From: "Josue de Freitas" <josue.freitas@xxxxxxxxx>
- Date: Fri, 24 Aug 2007 11:02:07 -0300
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=RJDmUMRfcKBDrAuLP4xy4O0UY2nuMMJz7BJIPBmqppnHjm1yJQlPLKhn318Alm058S6yNm5kZ3La2rzf1uHYkt5RJqgC6VjrsmiHvPRhnF2KhKoHLX11RVyKoL1ItuMNlXRHLxFgoTGVBE0pVMyjbQ3cSrgdrSAU5IO+ShU+tKA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FOLkEqcafnkVmadJi1DhRyqLend5/eg8uRMoSc68CFpwbywGysdiEAV0VOgB9T6XFcTLk+6Z0cIOZoicgZDFXOQexnEqcf+6/BQQuyecr8HTGFDQfQYurq66xX76A1H7hPTV8KC9zZthhTIdpD20twKVsYXUDz2rTivspiyIZ4Q=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
Hi,
I trying do build a simple 'Hello world' module under uClinux but
printk never prints when called through my module. Although, when I
check the Debugging option for MTD the messages from printk come
perfectly to the console and to the log file (printk is called by the
DEBUG function located in linux-2.4.x/include/linux/mtd/mtd.h and uses
a KERN_INFO debug level).
Is there a restriction to modules printk ? Or after I stand up the
module I have to do something to effectively run its code ? Or this is
a bug ?
I'm using kernel 2.4.34.5-uc0 over a Digilent XUP-V2Pro board with ROM fs.
Regards, Josue.
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/