[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

noflushd: ide-scsi conflict or worse?



I have noflushd, devfsd, stock kernel, ext3, and ide-scsi emulation for
my cd-burner.

When I run noflushd -v -d -t 1 /dev/hda I get initially:
Added entry for scsi/host1/bus0/target6/lun0/disc (8, 0)
Added entry for ide/host0/bus0/target0/lun0/disc (3, 0)
Added disk /dev/hda, current timeout 60, state 2
---------------------------------------------------------------
Keeps saying I have two disks spinning.  I only have /dev/hda and the
others (CD) are empty.

After the one minute, it stops the /dev/hda device and shows one device
stopped and one spinning.  Then it stops the second one and WHAM-O it
spins up again.

As a totally uninformed guess, the spin-down of /dev/hda conflicts with
the devfs variant of the same drive /dev/discs... which is spun down a
second time a few seconds later.

Here is the output of the noflushd -d -v process:
Disk /dev/hda, Time left 0.
Spinning down /dev/hda.
Syncing /dev/ide/host0/bus0/target0/lun0/disc
Syncing /dev/ide/host0/bus0/target0/lun0/part1
Syncing /dev/ide/host0/bus0/target0/lun0/part2
Syncing /dev/ide/host0/bus0/target0/lun0/part3
Syncing /dev/ide/host0/bus0/target0/lun0/part4
Sending spindown command to /dev/hda.
Disk was up and running
rw disks: 1 stopped, 1 spinning
Syncing /dev/scsi/host1/bus0/target6/lun0/disc
State 2, sleeping 1 seconds
Check interval 2
rw disks: 1 stopped, 1 spinning
State 2, sleeping 1 seconds
Check interval 1
rw disks: 1 stopped, 1 spinning
State 2, sleeping 1 seconds
Check interval 1
rw disks: 1 stopped, 1 spinning
State 2, sleeping 1 seconds
Check interval 1
Spinning up /dev/hda after 0 minutes.
rw disks: 0 stopped, 2 spinning
kupdate restarted with interval 500.
State 1, sleeping 1 seconds
kupdate stopped
Check interval 1
Disk /dev/hda, Time left 59.
rw disks: 0 stopped, 2 spinning
kupdate restarted with interval 500.
State 1, sleeping 1 seconds
kupdate restarted with interval 500.
-----------------------------------------------------------------
# /etc/fstab: static file system information.
#
# <file system>	<mount point>	<type>	<options>			<dump>	<pass>
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1 /dev/hda1 none swap sw 0 0 proc /proc proc defaults 0 0 /dev/fd0 /floppy auto defaults,user,noauto 0 0 /dev/sr0 /cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/sr1 /cdrw iso9660 defaults,ro,user,noauto 0 0 /dev/hda3 /var ext3 rw 0 2 /dev/hda4 /home ext3 rw 0 2 /dev/sda4 /zip auto defaults,user,noauto 0 0

-------------------------------------------------------------

upon spin-down, syslog throws:
Jul 23 19:37:25 bilbo kernel: Device not ready.  Make sure there is a
disc in the drive.
Jul 23 19:37:25 bilbo kernel: VFS: Disk change detected on device
sd(8,0)
Jul 23 19:37:25 bilbo kernel: sda : READ CAPACITY failed.
Jul 23 19:37:25 bilbo kernel: sda : status = 1, message = 00, host = 0,
driver = 08
Jul 23 19:37:25 bilbo kernel: Current sd00:00: sense key Not Ready
Jul 23 19:37:25 bilbo kernel: Additional sense indicates Medium not
present
Jul 23 19:37:25 bilbo kernel: sda : block size assumed to be 512 bytes,
disk size 1GB.
Jul 23 19:37:25 bilbo kernel:  /dev/scsi/host1/bus0/target6/lun0: I/O
error: dev 08:00, sector 0
Jul 23 19:37:25 bilbo kernel:  I/O error: dev 08:00, sector 0
Jul 23 19:37:25 bilbo kernel:  unable to read partition table

-----------------------------------------------------------------------

#  /etc/syslog.conf	Configuration file for syslogd.
#
# For more information see syslog.conf(5) # manpage.

#
# First some standard logfiles.  Log by facility.
#

auth,authpriv.* /var/log/auth.log *.*;auth,authpriv.none -/var/log/syslog #cron.* /var/log/cron.log daemon.* -/var/log/daemon.log kern.* -/var/log/kern.log lpr.* -/var/log/lpr.log mail.* -/var/log/mail.log user.* -/var/log/user.log uucp.* /var/log/uucp.log

#
# Logging for the mail system.  Split it up so that
# it is easy to write scripts to parse these files.
#
mail.info -/var/log/mail.info mail.warn -/var/log/mail.warn mail.err /var/log/mail.err

# Logging for INN news system
#
news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice -/var/log/news/news.notice

#
# Some `catch-all' logfiles.
#
*.=debug;\
	auth,authpriv.none;\
	news.none;mail.none	-/var/log/debug
*.=info;*.=notice;*.=warn;\
	auth,authpriv.none;\
	cron,daemon.none;\
	mail,news.none		-/var/log/messages

#
# Emergencies are sent to everybody logged in.
#
*.emerg *

#
# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
#
#daemon,mail.*;\
# news.=crit;news.=err;news.=notice;\ # *.=debug;*.=info;\ # *.=notice;*.=warn /dev/tty8

# The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
# you must invoke `xconsole' with the `-file' option:
#
#    $ xconsole -file /dev/xconsole [...]
#
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
#      busy site..
#
daemon.*;mail.*;\
	news.crit;news.err;news.notice;\
	*.=debug;*.=info;\
	*.=notice;*.=warn	|/dev/xconsole


--
Tom Allison


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: