Re: unloading scsi debug module gives errors in logs

From: Douglas Gilbert
Date: Fri Oct 10 2003 - 00:49:50 EST


Chris Friesen wrote:

Seen on 2.6.0-test6:

Oct 9 21:22:25 doug kernel: SCSI device sda: 16384 512-byte hdwr sectors (8 MB)
Oct 9 21:22:25 doug kernel: SCSI device sda: drive cache: write back
Oct 9 21:22:25 doug kernel: sda: unknown partition table
Oct 9 21:22:25 doug kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Oct 9 21:22:53 doug kernel: FAT: bogus number of reserved sectors
Oct 9 21:22:53 doug kernel: VFS: Can't find a valid FAT filesystem on dev sda.
Oct 9 21:24:42 doug kernel: Device 'pseudo_0' does not have a release() function, it is broken and must be fixed.
Oct 9 21:24:42 doug kernel: Badness in device_release at drivers/base/core.c:85
Oct 9 21:24:42 doug kernel: Call Trace:
Oct 9 21:24:42 doug kernel: [device_release+68/80] device_release+0x44/0x50
Oct 9 21:24:42 doug kernel: [kobject_cleanup+67/96] kobject_cleanup+0x43/0x60
Oct 9 21:24:42 doug kernel: [kobject_put+20/32] kobject_put+0x14/0x20
Oct 9 21:24:42 doug kernel: [put_device+13/32] put_device+0xd/0x20
Oct 9 21:24:42 doug kernel: [device_unregister+17/32] device_unregister+0x11/0x20
Oct 9 21:24:42 doug kernel: [__crc_generic_file_llseek+338540/1261671] scsi_debug_exit+0x3b/0x4b [scsi_debug]
Oct 9 21:24:42 doug kernel: [sys_delete_module+301/336] sys_delete_module+0x12d/0x150
Oct 9 21:24:42 doug kernel: [sys_munmap+55/96] sys_munmap+0x37/0x60
Oct 9 21:24:42 doug kernel: [syscall_call+7/11] syscall_call+0x7/0xb

Chris,
I have posted a patch to fix that on the linux-scsi list
titled: "[PATCH] scsi_debug lk 2.6.0t6". See:
http://marc.theaimsgroup.com/?l=linux-scsi&m=106561848728156&w=2

Doug Gilbert


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/