|
Bugzilla – Full Text Bug Listing |
| Summary: | message repeats every 2 seconds : Device not ready. Make sure there is a disc in the drive. | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | michel munnix <michel.munnix> |
| Component: | Basesystem | Assignee: | Bernhard Kaindl <bk> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dkukawka, hare, suse-beta |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
/var/log/messages before inserting up to after removing a cd
output from hwinfo --cdrom |
||
|
Description
michel munnix
2006-02-11 16:35:40 UTC
Created attachment 67771 [details]
/var/log/messages before inserting up to after removing a cd
Created attachment 67772 [details]
output from hwinfo --cdrom
That's haldaemon polling your device. Try '/etc/init.d/haldaemon stop' and see whether the message disappears. Yes, you're rigth, the message disappears when I stop the haldaemon service. not a kernel issue, reassigning... Danny: I think HAL should not pollute the syslog in this way. After all this message is not very useful at all, don't you think? Not HAL pollute the syslog. This message is at least from the kernel and not from HAL. Btw. we could blacklist the device, but in this case you will not get automounted CDs/DVDs because we will not register media change. @kay any other ideas? Yeah, fix the kernel not to print this absolute nonsense. I'll add the Kernel maintainers into CC I reassign this to kernel. @kay: Btw. should we blacklist the device or ignore this errormessage? Let's wait if the kernel can be fixed. There could be more like this in the end... I can easily get rid of the kernel dmesg, but why would you want to poll the drive every two seconds? I thought we wanted our hard drives to be able to suspend from time to time for power reasons? Remember, it is a cd-writer not a hard disk. Does the kernel think it's a hard drive ? Actually, there _is_ something askew in the kernel. hal does an drive = ioctl (fd, CDROM_DRIVE_STATUS, CDSL_CURRENT); this _should_ be mapped to sr_device_status in drivers/scsi/sr_ioctl.c, which then calls test_unit_ready(); memset(&cgc, 0, sizeof(struct packet_command)); cgc.cmd[0] = GPCMD_TEST_UNIT_READY; cgc.quiet = 1; cgc.data_direction = DMA_NONE; cgc.timeout = IOCTL_TIMEOUT; return sr_do_ioctl(cd, &cgc); and sr_do_ioctl might output a line like: 'CDROM not ready. Make sure there is a disc in the drive.' The line from above, however, is from scsi_ioctl.c:ioctl_internal_command() which we should reach at all. Jens, care to elaborate what's going on here? Actually, maybe can Bernd give us a hand here... The message should just be killed, it's a normal condition. I've committed a patch to do that. |