Subject: Re: cannot access cdrom drive
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Brett Lymn <blymn@baesystems.com.au>
List: current-users
Date: 01/17/2001 13:57:24
According to Manuel Bouyer:
>
>It looks like low level ATAPI works properly (drive reacts properly to
>commands) but returns unusual sense info.
>Could you enable SCSI commands debugging instead, to see which commands
>are failing:
>
Done, here is what I see when I try to mount the drive:
Jan 17 13:42:25 rover /netbsd: cd0(wdc2:0:0): cdopen: dev=0x600 (unit 0 (of 4), partition 0)
Jan 17 13:42:25 rover /netbsd: pcmcia2: card irq 11
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): atapi_cmd
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_get_xs
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): calling pool_get
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): returning
Jan 17 13:42:27 rover /netbsd: scsipi_exec_cmd: xs(0xc0442000): xs_control(0x000001c0)xs_status(0x00000000)sc_link(0xc040d880)retr(0x4)timo(0x2710)cmd(0xc0442084)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(wdc2:0:0): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Jan 17 13:42:27 rover /netbsd:
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_done
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): back in cmd()
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): sc_err1,err = 0x1
Jan 17 13:42:27 rover /netbsd: code 0x70 valid 0x0 seg 0x0 key 0x6 ili 0x0 eom 0x0 fmark 0x0
Jan 17 13:42:27 rover /netbsd: info: 0x0 0x0 0x0 0x0 followed by 10 extra bytes
Jan 17 13:42:27 rover /netbsd: extra: 0x0 0x0 0x0 0x0 0x29 0x0 0x0 0x0 0x0 0x0
Jan 17 13:42:27 rover /netbsd: scsipi_exec_cmd: xs(0xc0442000): xs_control(0x000001c0)xs_status(0x00000000)sc_link(0xc040d880)retr(0x3)timo(0x2710)cmd(0xc0442084)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(wdc2:0:0): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Jan 17 13:42:27 rover /netbsd:
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_done
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): command: 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): back in cmd()
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): sc_err1,err = 0x1
Jan 17 13:42:27 rover /netbsd: code 0x70 valid 0x0 seg 0x0 key 0x2 ili 0x0 eom 0x0 fmark 0x0
Jan 17 13:42:27 rover /netbsd: info: 0x0 0x0 0x0 0x0 followed by 10 extra bytes
Jan 17 13:42:27 rover /netbsd: extra: 0x0 0x0 0x0 0x0 0x4 0x1 0x0 0x0 0x0 0x0
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_interpret_sense returned 0
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_free_xs
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): calling private start()
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): cdstart cd0(wdc2:0:0): cdopen: scsipi_test_unit_ready, error=0
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): atapi_cmd
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_get_xs
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): calling pool_get
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): returning
Jan 17 13:42:27 rover /netbsd: scsipi_exec_cmd: xs(0xc0442000): xs_control(0x000001a0)xs_status(0x00000000)sc_link(0xc040d880)retr(0x4)timo(0xea60)cmd(0xc0442084)len(0xc)data(0x0)len(0x0)res(0x0)err(0x0)bp(0x0)cd0(wdc2:0:0): command: 0x1b,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Jan 17 13:42:27 rover /netbsd:
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_done
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): command: 0x1b,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0-[0 bytes]
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): back in cmd()
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): sc_err1,err = 0x1
Jan 17 13:42:27 rover /netbsd: code 0x70 valid 0x0 seg 0x0 key 0x2 ili 0x0 eom 0x0 fmark 0x0
Jan 17 13:42:27 rover /netbsd: info: 0x0 0x0 0x0 0x0 followed by 10 extra bytes
Jan 17 13:42:27 rover /netbsd: extra: 0x0 0x0 0x0 0x0 0x4 0x1 0x0 0x0 0x0 0x0
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_interpret_sense returned 5
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): scsipi_free_xs
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): calling private start()
Jan 17 13:42:27 rover /netbsd: cd0(wdc2:0:0): cdstart cd0(wdc2:0:0): cdopen: scsipi_start, error=5
--
===============================================================================
Brett Lymn, Computer Systems Administrator, BAE SYSTEMS
===============================================================================