usb-storage log verbosity
Hi,
I have recently started to use an USB cd toaster and have a little problem. Writer is driven by usb-storage and scsi-cdrom and scsi-generic drivers. Burning works fine.
The problem is that the usb-storage module spits so many info-debug messages (even if I configured no debug in kernel config) that after a cd burn I end up with a 25 MB file in /var/log/messages and other 25MB in /var/log/kernel/info, so it fills my / partition.
If someone know a fast way to shut up usb-storage, I'll be gratefull. If not, I will try to make a patch to enclose all that printk's into #ifdef CONFIG_USB_STORAGE_DEBUG.
Signature · 4 lines
J.A. Magallon $> cd pub mailto:[email protected] $> more beer Linux werewolf 2.4.2-ac11 #1 SMP Sat Mar 3 22:18:57 CET 2001 i686
Umm.. all the printk's are inclosed with the ifdef, courtsey of a little bit of #define magic. I use it all the time (after all, I'm the maintainer), and when I want it to shut up, it shuts up.
Are you sure you recompiled and installed properly? Re-ran 'make dep'? I've had reports of this before -- every one of them was solved by a proper recompilation.
Matt
Quoted 26 lines · J . A . Magallon
Hi,
I have recently started to use an USB cd toaster and have a little problem. Writer is driven by usb-storage and scsi-cdrom and scsi-generic drivers. Burning works fine.
The problem is that the usb-storage module spits so many info-debug messages (even if I configured no debug in kernel config) that after a cd burn I end up with a 25 MB file in
/var/log/messagesand other 25MB in/var/log/kernel/info, so it fills my / partition.If someone know a fast way to shut up usb-storage, I'll be gratefull. If not, I will try to make a patch to enclose all that printk's into #ifdef
CONFIG_USB_STORAGE_DEBUG.Signature · 10 lines
J.A. Magallon $> cd pub mailto:[email protected] $> more beer Linux werewolf 2.4.2-ac11 #1 SMP Sat Mar 3 22:18:57 CET 2001 i686 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Signature · 7 lines
Matthew Dharm Home: [email protected] Maintainer, Linux USB Mass Storage Driver We've made a business out of making money from annoying and stupid people. I think you fall under that category. -- Chief User Friendly, 7/11/1998