[РЕШЕНО] Прожорливый лог (/var/log/messages)
Собственно проблема как показало гугление не нова, но как её решить я так и не понял. Может кто что посоветует.
Невероятно сильно разъедается /var/log/messages за примерно 10 минут работы почти на 3 метра забиваются одни и теже сообщения:
Jul 1 01:29:03 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jul 1 01:29:03 vitek-laptop usb-storage: Status code 0; transferred 31/31
Jul 1 01:29:03 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:03 vitek-laptop usb-storage: Bulk command transfer result=0
Jul 1 01:29:03 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
Jul 1 01:29:03 vitek-laptop usb-storage: Status code 0; transferred 18/18
Jul 1 01:29:03 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:03 vitek-laptop usb-storage: Bulk data transfer result 0x0
Jul 1 01:29:03 vitek-laptop usb-storage: Attempting to get CSW...
Jul 1 01:29:03 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Jul 1 01:29:03 vitek-laptop usb-storage: Status code 0; transferred 13/13
Jul 1 01:29:03 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:03 vitek-laptop usb-storage: Bulk status result = 0
Jul 1 01:29:03 vitek-laptop usb-storage: Bulk Status S 0x53425355 T 0x573 R 0 Stat 0x0
Jul 1 01:29:03 vitek-laptop usb-storage: -- Result from auto-sense is 0
Jul 1 01:29:03 vitek-laptop usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
Jul 1 01:29:03 vitek-laptop usb-storage: (Unknown Key): (unknown ASC/ASCQ)
Jul 1 01:29:03 vitek-laptop usb-storage: scsi cmd done, result=0x2
Jul 1 01:29:03 vitek-laptop usb-storage: *** thread sleeping.
Jul 1 01:29:05 vitek-laptop usb-storage: queuecommand called
Jul 1 01:29:05 vitek-laptop usb-storage: *** thread awakened.
Jul 1 01:29:05 vitek-laptop usb-storage: Command TEST_UNIT_READY (6 bytes)
Jul 1 01:29:05 vitek-laptop usb-storage: 00 00 00 00 00 00
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Command S 0x43425355 T 0x574 L 0 F 0 Trg 0 LUN 0 CL 6
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 31/31
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk command transfer result=0
Jul 1 01:29:05 vitek-laptop usb-storage: Attempting to get CSW...
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 13/13
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk status result = 0
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Status S 0x53425355 T 0x574 R 0 Stat 0x1
Jul 1 01:29:05 vitek-laptop usb-storage: -- transport indicates command failure
Jul 1 01:29:05 vitek-laptop usb-storage: Issuing auto-REQUEST_SENSE
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Command S 0x43425355 T 0x575 L 18 F 128 Trg 0 LUN 0 CL 6
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 31/31
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk command transfer result=0
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 18/18
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk data transfer result 0x0
Jul 1 01:29:05 vitek-laptop usb-storage: Attempting to get CSW...
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 13/13
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk status result = 0
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Status S 0x53425355 T 0x575 R 0 Stat 0x0
Jul 1 01:29:05 vitek-laptop usb-storage: -- Result from auto-sense is 0
Jul 1 01:29:05 vitek-laptop usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
Jul 1 01:29:05 vitek-laptop usb-storage: (Unknown Key): (unknown ASC/ASCQ)
Jul 1 01:29:05 vitek-laptop usb-storage: scsi cmd done, result=0x2
Jul 1 01:29:05 vitek-laptop usb-storage: *** thread sleeping.
Jul 1 01:29:05 vitek-laptop usb-storage: queuecommand called
Jul 1 01:29:05 vitek-laptop usb-storage: *** thread awakened.
Jul 1 01:29:05 vitek-laptop usb-storage: Command TEST_UNIT_READY (6 bytes)
Jul 1 01:29:05 vitek-laptop usb-storage: 00 00 00 00 00 00
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Command S 0x43425355 T 0x576 L 0 F 0 Trg 0 LUN 0 CL 6
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 31/31
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk command transfer result=0
Jul 1 01:29:05 vitek-laptop usb-storage: Attempting to get CSW...
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 13/13
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk status result = 0
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Status S 0x53425355 T 0x576 R 0 Stat 0x1
Jul 1 01:29:05 vitek-laptop usb-storage: -- transport indicates command failure
Jul 1 01:29:05 vitek-laptop usb-storage: Issuing auto-REQUEST_SENSE
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Command S 0x43425355 T 0x577 L 18 F 128 Trg 0 LUN 0 CL 6
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 31/31
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk command transfer result=0
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 18/18
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk data transfer result 0x0
Jul 1 01:29:05 vitek-laptop usb-storage: Attempting to get CSW...
Jul 1 01:29:05 vitek-laptop usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Jul 1 01:29:05 vitek-laptop usb-storage: Status code 0; transferred 13/13
Jul 1 01:29:05 vitek-laptop usb-storage: -- transfer complete
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk status result = 0
Jul 1 01:29:05 vitek-laptop usb-storage: Bulk Status S 0x53425355 T 0x577 R 0 Stat 0x0
Jul 1 01:29:05 vitek-laptop usb-storage: -- Result from auto-sense is 0
Jul 1 01:29:05 vitek-laptop usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
Jul 1 01:29:05 vitek-laptop usb-storage: (Unknown Key): (unknown ASC/ASCQ)
Jul 1 01:29:05 vitek-laptop usb-storage: scsi cmd done, result=0x2
Jul 1 01:29:05 vitek-laptop usb-storage: *** thread sleeping.
и так до бесконечности. Что это может быть как можно попробовать полеить?
- Для комментирования войдите или зарегистрируйтесь
Всего-то
Всего-то пересобрать ядро, отключив CONFIG_DEBUG_* и CONFIG_VERBOSE_*
Гугль рулит ;)
гы..... *Виновато
гы.....
*Виновато смотрит в пол
Три дня гуглил, всё что угодно но не то что надо, собственно я уже начал догонять что ядро прийдется пересобрать но так не хотелось......
Теперь будет повод перейти на 2.6.24 а то всё лень качать было.
Что т оне так....
Я либо чегото не допонимаю либо чего то не так делаю:
# cat /usr/src/linux/.config | grep DEBUG
CONFIG_SLUB_DEBUG=y
# CONFIG_PM_DEBUG is not set
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not set
CONFIG_CPU_FREQ_DEBUG=y
# CONFIG_MAC80211_DEBUG is not set
# CONFIG_IEEE80211_DEBUG is not set
# CONFIG_PNP_DEBUG is not set
# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=0
# CONFIG_AIC79XX_DEBUG_ENABLE is not set
CONFIG_AIC79XX_DEBUG_MASK=0
CONFIG_AIC94XX_DEBUG=y
# CONFIG_SCSI_DEBUG is not set
# CONFIG_DM_DEBUG is not set
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_HID_DEBUG is not set
# CONFIG_USB_DEBUG is not set
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_JBD_DEBUG is not set
# CONFIG_NTFS_DEBUG is not set
CONFIG_CIFS_DEBUG2=y
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_SLUB_DEBUG_ON is not set
CONFIG_DEBUG_BUGVERBOSE=y
# cat /usr/src/linux/.config | grep CONFIG_DEBUG
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_KERNEL is not set
CONFIG_DEBUG_BUGVERBOSE=y
# cat /usr/src/linux/.config | grep VERBOSE
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
CONFIG_DEBUG_BUGVERBOSE=y
После пересборки ядра в таком виде глюк не пропал.
Но видимо нужно как то изменить C ONFIG_DEBUG_BUGVERBOSE=y на # CONFIG_DEBUG_BUGVERBOSE is not set
Правка при помощи makeconfig непомогла вернее я не нашол такого пункта.
Правил при помощи nano конфиг то меняется но после пересборки ядра оказывается что в конфиге опять CONFIG_DEBUG_BUGVERBOSE=y
ЧТО ЭТО? И как с этим бороться?
Вероятно, разные ядра.
Как бороться не знаю.
grep CONFIG_DEBUG_ /usr/src/linux/.config
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_DEBUG_FS is not set
grep CONFIG_VERBOSE_ /usr/src/linux/.config
uname -a
Linux shuttle 2.6.19-gentoo-r5 #1 Mon Feb 26 16:47:57 MSK 2007 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
На другой системе - 2.6.26 уже из zen-оверлея.
судя по логу
судя по логу usb-storage
надо сделать:
CONFIG_USB_STORAGE_DEBUG=n
РЕШЕНО СПАИСИБО
Спасибо помогло!!!!
Помогло все вышенаписанное :)
после очередной пересборки ядра, лог опять стал разьедатся, причем CONFIG_USB_STORAGE_DEBUG был в состоянии n Оказалось что неччайно зацепил дебаг для NTFS убрал дебуг лог успокоился.