From: Alexander B. <le...@st...> - 2003-11-02 17:37:03
|
Bruce Allen wrote: > What's going wrong on your system is that the functions: > make_device_names(&devlist,type) > is returning NO devices for either type==ATA or type==SCSI. > > Could you please tell us: > (1) are you using linux, freebsd, or solaris? I'm using Linux: $ uname -a Linux barney.domanig.kloburg.at 2.4.18-4SGI_XFS_1.1_usbdnet #1 Sat Jul 20 13:47:25 CEST 2002 i686 unknown > (2) if linux, are you using devfs? No. The root-filesystem (including /dev) is xfs. > (3) if using devfs, what does 'ls /dev' show on your system? $ ls /proc/ide/ drivers hda hdc ide0 ide1 via $ cat /proc/ide/hd*/model IC35L060AVER07-0 TOSHIBA CD-ROM XM-6702B smartd from smartmontools-5.21-1 is able to find the ide-harddisk: Nov 2 10:56:35 barney smartd[635]: smartd version 5.21 Copyright (C) 2002-3 Bruce Allen Nov 2 10:56:35 barney smartd[635]: Home page is http://smartmontools.sourceforge.net/ Nov 2 10:56:35 barney smartd[635]: Opened configuration file /etc/smartd.conf Nov 2 10:56:35 barney smartd[635]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices Nov 2 10:56:35 barney smartd[635]: Device: /dev/hda, opened Nov 2 10:56:35 barney smartd[635]: Device: /dev/hda, found in smartd database. Nov 2 10:56:35 barney smartd[635]: Device: /dev/hda, enabled SMART Attribute Autosave. Nov 2 10:56:35 barney smartd[635]: Device: /dev/hda, enabled SMART Automatic Offline Testing. Nov 2 10:56:35 barney smartd[635]: Device: /dev/hda, is SMART capable. Adding to "monitor" list. Nov 2 10:56:35 barney smartd[635]: Device: /dev/hdb, No such device or address, open() failed [...] Nov 2 10:56:35 barney kernel: sym53c810a-0-<5,*>: target did not report SYNC. Nov 2 10:56:35 barney kernel: Device not ready. Make sure there is a disc in the drive. Nov 2 10:56:35 barney kernel: sym53c810a-0-<5,*>: target did not report SYNC. Nov 2 10:56:35 barney last message repeated 3 times Nov 2 10:56:35 barney kernel: sda : READ CAPACITY failed. Nov 2 10:56:35 barney kernel: sda : status = 1, message = 00, host = 0, driver = 28 Nov 2 10:56:35 barney kernel: Current sd00:00: sense key Not Ready Nov 2 10:56:35 barney kernel: Additional sense indicates Medium not present Nov 2 10:56:35 barney kernel: sda : block size assumed to be 512 bytes, disk size 1GB. Nov 2 10:56:35 barney kernel: sda: I/O error: dev 08:00, sector 0 Nov 2 10:56:35 barney kernel: I/O error: dev 08:00, sector 0 Nov 2 10:56:35 barney kernel: unable to read partition table Nov 2 10:56:35 barney kernel: sym53c810a-0-<5,*>: target did not report SYNC. Nov 2 10:56:35 barney kernel: Device not ready. Make sure there is a disc in the drive. Nov 2 10:56:35 barney smartd[635]: Device: /dev/sda, opened Nov 2 10:56:35 barney kernel: sym53c810a-0-<5,*>: target did not report SYNC. Nov 2 10:56:35 barney smartd[635]: Device: /dev/sda, NOT READY (media absent, spun down); skip Nov 2 10:56:35 barney kernel: sym53c810a-0-<5,*>: target did not report SYNC. Nov 2 10:56:35 barney smartd[635]: Unable to register SCSI device /dev/sda at line 21 of file /etc/smartd.conf [...] Nov 2 10:56:35 barney smartd[635]: Monitoring 1 ATA and 0 SCSI devices Nov 2 10:56:36 barney smartd[646]: smartd has fork()ed into background mode. New PID=646. Nov 2 10:56:36 barney smartd: smartd startup succeeded (sda is a ZIP-Drive with no disk present.) Thanks for your help, --leo -- ----------------------------------------------------------------------- Alexander (Leo) Bergolth le...@le... WU-Wien - Zentrum fuer Informatikdienste http://leo.wu-wien.ac.at Computers are like air conditioners - they stop working properly when you open Windows |