NetBSD-Bugs archive

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

Re: kern/39929: NetBSD 5.0_BETA kernel panics when trying to access



The following reply was made to PR kern/39929; it has been noted by GNATS.

From: th%risp.pl@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 th%risp.pl@localhost
Subject: Re: kern/39929: NetBSD 5.0_BETA kernel panics when trying to access
Date: Fri, 28 Nov 2008 11:45:57 +0100 (CET)

 ------=_20081128114557_62645
 Content-Type: text/plain; charset="iso-8859-2"
 Content-Transfer-Encoding: 8bit
 
 cd_discet output attached in mail and pasted here:
 http://rafb.net/p/3ymHSG35.html
 
 Thanks for your time!
 
 
 > The following reply was made to PR kern/39929; it has been noted by GNATS.
 >
 > From: Reinoud Zandijk <reinoud%NetBSD.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: kern/39929: NetBSD 5.0_BETA kernel panics when trying to
 > access
 > Date: Thu, 27 Nov 2008 17:34:10 +0100
 >
 >  Hi!
 >
 >  just saw your PR but you forgot to mention the disc and drive combination
 >  you were using; could you please send me the output from the following
 >  command:
 >
 >  cd_disect /dev/cd0d
 >
 >  (from the misc/udfclient package)
 >
 >  With regards,
 >  Reinoud
 >
 >
 
 ------=_20081128114557_62645
 Content-Type: text/plain; name="cd_discet.txt"
 Content-Transfer-Encoding: 8bit
 Content-Disposition: attachment; filename="cd_discet.txt"
 
 nbsd# ls /dev/cd*                                                              
                                                                                
             
 /dev/cd0a /dev/cd0d /dev/cd1a /dev/cd1d
 
 nbsd# cd_disect /dev/cd0a                                                      
                                                                                
             
 Opening device /dev/cd0a
 Failure to open device or file: Operation not supported by device
 
 nbsd# cd_disect /dev/cd0d 
 Opening device /dev/cd0d
 Failure to open device or file: Operation not supported by device
 
 nbsd# cd_disect /dev/cd1a 
 Opening device /dev/cd1a
 Failure to open device or file: Device not configured
 
 nbsd# cd_disect /dev/cd1d 
 Opening device /dev/cd1d
 Failure to open device or file: Device not configured
 
 
 nbsd# ls /dev/rcd* 
 /dev/rcd0a /dev/rcd0d /dev/rcd1a /dev/rcd1d
 
 nbsd# cd_disect /dev/rcd0a                                                     
                                                                                
             
 Opening device /dev/rcd0a
 Failure to open device or file: Operation not supported by device
 
 nbsd# cd_disect /dev/rcd0d 
 Opening device /dev/rcd0d
 
 
 Device attachment identifies itself as : ATAPI  busnum = 0, drive = 0
 
 
 Test unit ready
 SCSI test unit ready returned : : No such file or directory
 Device identifies itself as : 
        Device type             : CD-ROM device
        Vendor identification   : HL-DT-ST
        Product identification  : DVDRAM GMA-4082N
        Product revision level  : CX08
        <Rest not dumped yet>
 
 
 
 CURRENT features
 Getting drive configuration
        Total features table length 344 bytes
        Current profile       0x0000 `Unknown[0] profile'
                Feature  0x0000 (56 bytes) version  0; persistent yes; 
currently active yes
                Profile list; supporting profiles
                        inactive DVD-RAM rewritable
                        inactive DVD-R sequential
                        inactive DVD-R dual layer sequential
                        inactive DVD-R dual layer jump
                        inactive DVD-RW sequential
                        inactive DVD-RW restricted overwrite
                        inactive DVD+RW rewritable
                        inactive DVD+R recordable
                        inactive DVD+R double layer
                        inactive DVD-ROM
                        inactive CD-R recordable
                        inactive CD-RW rewritable
                        inactive CD-ROM
                        inactive Removable disc
 
                Feature  0x0001 ( 4 bytes) version  0; persistent yes; 
currently active yes
                Core features : physical interface standard commands for `ATAPI'
 
                Feature  0x0002 ( 4 bytes) version  0; persistent yes; 
currently active yes
                Morphing command set; no support for ASYNC
 
                Feature  0x0003 ( 4 bytes) version  0; persistent yes; 
currently active yes
                Removable medium features
                        Device can be locked against removal
                        Device will go into the un-locked state by default
                        Device can eject the media with START/STOP with eject 
bit
                        Loading mechanism : Tray
 
                Feature  0x0037 ( 4 bytes) version  0; persistent yes; 
currently active yes
                CD-RW Media Write Support
                        Can write media subtype 0
                        Can write media subtype 1
                        Can write media subtype 2
                        Can NOT write media subtype 3
                        Can NOT write media subtype 4
                        Can NOT write media subtype 5
                        Can NOT write media subtype 6
                        Can NOT write media subtype 7
 
                Feature  0x0100 ( 0 bytes) version  0; persistent yes; 
currently active yes
                Power management support
 
                Feature  0x0104 ( 0 bytes) version  0; persistent  no; 
currently active yes
                Ability for the device to accept new microcode via the interface
 
                Feature  0x0105 ( 0 bytes) version  0; persistent yes; 
currently active yes
                Ability to respond to all commands within a specific time
 
                Feature  0x0108 (12 bytes) version  0; persistent yes; 
currently active yes
                This device has an unique serialnumber : "M0072835043 "
 
                Feature  0x010c (16 bytes) version  0; persistent yes; 
currently active yes
 
 
 
 CAPAPLE features
 Getting drive configuration
        Total features table length 344 bytes
        Current profile       0x0000 `Unknown[0] profile'
                Feature  0x0004 ( 4 bytes) version  0; persistent  no; 
currently active  no
                Write protect features : SPWP
 
                Feature  0x0010 ( 8 bytes) version  0; persistent  no; 
currently active  no
                Random readable
                        Logical block size 2048 bytes
                        Device blocking number 1 logical blocks
                        Has RW error recovery mode page
 
                Feature  0x001d ( 0 bytes) version  0; persistent  no; 
currently active  no
                Multi-read; The Logical Unit can read all CD media types; based 
on OSTA MultiRead
 
                Feature  0x001e ( 4 bytes) version  1; persistent  no; 
currently active  no
                Ability to read CD specific structures
                        Device does support C2 error pointers
                        Device does support CD-Text
 
                Feature  0x001f ( 4 bytes) version  1; persistent  no; 
currently active  no
                Ability to read DVD specific structures
 
                Feature  0x0020 (12 bytes) version  1; persistent  no; 
currently active  no
                Random writable
                        Last writable logic block address is 0 (approx 0 Mb)
                        Logical block size 2048 bytes
                        Device blocking number 16 logical blocks
                        Has RW error recovery mode page
 
                Feature  0x0021 ( 4 bytes) version  3; persistent  no; 
currently active  no
                Incremental streaming writable
                        Device is capable of `Zero loss linking'
                        Device supported data types (bitfield) 0x0000
                        Device supports 0 link size :
 
                Feature  0x0023 ( 0 bytes) version  0; persistent  no; 
currently active  no
                Support for formatting media
 
                Feature  0x0024 ( 4 bytes) version  1; persistent  no; 
currently active  no
                Has defect handling; i.e. apparently defect-free space
                        Device does support read `Space Area Information' (DVD)
 
                Feature  0x0026 ( 0 bytes) version  0; persistent  no; 
currently active  no
                Support for restricted overwrite; i.e. on blocking boundaries 
only
 
                Feature  0x002a ( 4 bytes) version  0; persistent  no; 
currently active  no
                DVD+RW media reading/writing support
                        Device can write and background format DVD+RW media
 
                Feature  0x002b ( 4 bytes) version  0; persistent  no; 
currently active  no
                The ability to read/write DVD+R recorded media
                        Device can write DVD+R media
 
                Feature  0x002c ( 4 bytes) version  0; persistent  no; 
currently active  no
                Support for rigid restricted overwrite only (CD-RW)
                        Device can read the defect status data recorded on media
                        Device allows writing on immediate state sessions and 
quick formatting
                        Device does support blanking of media
 
                Feature  0x002d ( 4 bytes) version  2; persistent  no; 
currently active  no
                Track at once recording support
                        Device is capable of zero-loss linking
                        Device does support test writes (i.e. laser off)
                        Device supports overwriting a track using track at once
                        Track at once data types supported (bitfield) 0x3f01
 
                Feature  0x002e ( 4 bytes) version  1; persistent  no; 
currently active  no
                Session at once or RAW writing support; CD Mastering
                        Device is capable of zero-loss linking
                        Device can write using the Session at Once write type
                        Device can write using the raw write type
                        Device does support test writes (i.e. laser off)
                        Device supports overwriting previous recorded media
                        Device supports writing R-W Sub channels with user data
                        Maximum cue sheet length 3072 bytes
 
                Feature  0x002f ( 4 bytes) version  2; persistent  no; 
currently active  no
                DVD-R/-RW Write; The ability to write DVD specific structures
                        Device is capable of zero-loss linking
                        Device does support test writes (i.e. laser off)
                        Device supports overwriting previous recorded media
 
                Feature  0x0033 ( 4 bytes) version  0; persistent  no; 
currently active  no
 
                Feature  0x003b ( 4 bytes) version  0; persistent  no; 
currently active  no
                DVD+R Double Layer support
                        Drive can read DVD+R double layer discs
                        Drive can NOT write DVD+R double layer discs (only 
valid when active)
 
                Feature  0x0101 ( 4 bytes) version  0; persistent  no; 
currently active  no
                S.M.A.R.T. (Self-Monitoring Analysis and Reporting Technology 
support)
                        Device does provide Fault/Failure Reporting Mode Page
 
                Feature  0x0103 ( 4 bytes) version  0; persistent  no; 
currently active  no
                Ability to play audio CDs via the Logical Unit's own analog 
output
                        Device does support the SCAN command
                        Device can mute seperate channels
                        Device can set volumes for each channel seperately
                        Device has 256 audio volume levels
 
                Feature  0x0106 ( 4 bytes) version  0; persistent  no; 
currently active  no
                Ability to perform DVD CSS/CPPM authentication and RPC
                        Supporting CCS version 1
 
                Feature  0x0107 ( 4 bytes) version  3; persistent  no; 
currently active  no
                Ability to read and write using Initiator requested performance 
parameters; realtime streaming
                        Device does have the `read buffer capacity' command 
                        Device CD speed can be set up
                        Device write speed performance can be queried
                        Device does have a `set streaming' command
                        Device does support stream recording operation
 
                Feature  0x010a (12 bytes) version  0; persistent  no; 
currently active  no
                The ability to read and/or write Disc Control Blocks (DVD only)
                                Supported Disc Control Blocks content 
descriptor 4473600
                                Supported Disc Control Blocks content 
descriptor 4473600
                                Supported Disc Control Blocks content 
descriptor 5194496
 
 
                Feature  0x010b ( 4 bytes) version  0; persistent  no; 
currently active  no
                The Logical Unit supports DVD CPRM authentication
                        Supporting CPRM version 1
 
 
 
 Read recorded capacity
 Read recorded capacity SCSI call returned : Input/output error
 
 
 Disc information
 While reading disc information : Input/output error
 
 
 Format capabilities
        Current/max capacity followed by additional capacity, reported length 
of 8 bytes (8/entry)
 
        Format type 0x00 : full format capacity (non packet)
                No media present or incomplete session, maximum formatted 
capacity
                Number of blocks :      4169920 (sectors)
                Parameter        :         2048 (block length in bytes)
 
        Note: last entry might be all zero due to deviation from SCSI standard
 
 
 Reading TOC/PMA/ATIP
 
 Formatted TOC
 TOC reading of tracks failed : Input/output error
 
 Raw TOC
        Lba numbers are indicative only
 TOC reading of multi-session info failed : Input/output error
        assuming first session is sesion 1
 TOC reading of fixed part of raw TOC failed : Input/output error
 
 PMA
        Lba numbers are indicative only
 Reading of fixed part of PMA failed : Input/output error
 
 ATIP
        Lba numbers are indicative only
 Reading of fixed part of ATIP addition information failed : Input/output error
 
 
 Reading SCSI 'mode sense' parameter pages
        SCSI mode sense for all pages returned 244 bytes of data
        SCSI mode sense changable parameters list returned 244 bytes of data
 
        Got page 0x01 (non persistent) : 10 bytes for read/write error recovery 
page
                Error recovery behaviour [changable] 128
                        Automatic Write Reallocation Enabled (AWRE) [changable] 
On
                        Automatic Read Reallocation Enabled (ARRE)  [fixed]     
Off
                Error recovery parameter [changable] 0
                        Transfer Block (TB)                         [fixed]     
Off
                        Read Continuous (RC)                        [changable] 
Off
                        <Reserved>                                  [fixed]     
Off
                        Post Error (PER)                            [changable] 
Off
                        Disable Transfer on Error (DTE)             [changable] 
Off
                        Disable Correction (DCR)                    [fixed]     
Off
                Enhanced Media Certification and Defect Reporting [fixed]     0
                        No certification of medium on read operations and it 
will not report recovered errors
                Read retry count         [changable] 99
                Write retry count        [changable] 3
                Recovery time limit      [fixed]     0
 
        Got page 0x05 (non persistent) : 50 bytes for write parameter page
                Write type          [changable] Packet/Incremental
                Track mode          [changable] 5 (mode 1 Q subchannel control 
nibble)
                Data block type     [changable] ISO mode 1 with 2048 bytes data
                Testwriting         [changable] Off
                Linksize            [changable] 16 sectors (valid)
                Application code    [fixed]     0
                Session format      [changable] CD-DA, CD-ROM or other data 
discs
                Using fixed packets [changable] Off
                Copybit             [changable] Off
                Multi session field [changable] 0
                Packet size         [changable] 32
                Audio pause length  [changable] 150
                Media catalog number                 [changable] 
0x00000000000000000000000000000000
                Initiational standard recording code [changable] 
0x00000000000000000000000000000000
                Subheader byte 0    [changable] 0x00
                Subheader byte 1    [changable] 0x00
                Subheader byte 2    [changable] 0x00
                Subheader byte 3    [changable] 0x00
 
        Got page 0x08 (persistent) : 10 bytes for caching mode page
                Write cache         [changable] enabled
                Read  cache         [changable] enabled
 
        Got page 0x0d (persistent) :  6 bytes for cd device parameters page
                Hold track inactivity time  [changable] value 11 (2 min)
                Seconds per MSF             [fixed]     60
                Frames  per MSF             [fixed]     75
 
        Got page 0x0e (non persistent) : 14 bytes for cd audio control page
                Stop on track crossing      [changable] Off
                CDDA output port 0 channel  [changable] 1
                Output port 0 volume        [changable] 255
                CDDA output port 1 channel  [changable] 2
                Output port 1 volume        [changable] 255
                CDDA output port 2 channel  [fixed]     0
                Output port 2 volume        [fixed]     0
                CDDA output port 3 channel  [fixed]     0
                Output port 3 volume        [fixed]     0
 
        Got page 0x18 (non persistent) : 26 bytes for Reserved/vendor specific
                    00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f   ASCII
                00  00 01 00 01 00 00 00 01 00 01 00 01 00 00 00 01 : 
................
                10  00 01 00 01 00 01 00 01 00 00                   : 
..........      
 
        Got page 0x1a (persistent) : 10 bytes for power condition page
                Idle timer activate         [changable] On
                Standby timer active        [changable] On
                Idle timer start value      [changable] 40 * 100ms
                Standby timer start value   [changable] 300 * 100ms
 
        Got page 0x1c (persistent) : 10 bytes for informational exceptions 
control page (not checked yet)
                Logging                                     [fixed]     vendor 
specific
                Test device failure notification generation [fixed]     Off
                Interval timer if enabled                   [fixed]     600 * 
100ms (?)
                Rest undumped
 
        Got page 0x1d (non persistent) :  8 bytes for timeout and protect page
                Timeouts commands enabled   [fixed]     Off
                Disable device till powerd. [fixed]     Off
                Software write protect      [fixed]     Off
                Group 1 minimum time outs   [fixed]     30
 
        Got page 0x20 (persistent) : 10 bytes for Reserved/vendor specific
                    00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f   ASCII
                00  01 00 00 64 00 03 00 00 00 00                   : 
...d......      
 
        Got page 0x2a (non persistent) : 62 bytes for CD/DVD capabilities and 
mechanical status page
                Not dumped yet
 
 nbsd#
 
 nbsd# cd_disect /dev/rcd1a                                                     
                                                                                
             
 Opening device /dev/rcd1a
 Failure to open device or file: Device not configured
 
 nbsd# cd_disect /dev/rcd1d  
 Opening device /dev/rcd1d
 Failure to open device or file: Device not configured
 
 
 ------=_20081128114557_62645--
 


Home | Main Index | Thread Index | Old Index