FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] Building himdformat against libscg on MacOSX

<-- thread -->
<-- date -->
  • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • To: manner.moe@gmx.de
  • Date: Fri, 21 May 2010 00:02:55 +0200
  • Cc: linux-minidisc@lists.fu-berlin.de
  • Subject: Re: [linux-minidisc] Building himdformat against libscg on MacOSX

On Thu, May 20, 2010 at 03:18:55PM +0200, Adrian Glaubitz wrote:
> On Thu, May 20, 2010 at 12:35:32AM +0200, Adrian Glaubitz wrote:
>  > > You can format you himd walkman as followed:
> > > 
> > > 1) use cdrecord -scanbus   to find your walkman
> > >     The entry should look like this:
> > >         scsibus 6:
> > >                       6,0,0  600> 'SONY    ' 'Hi-MD WALKMAN'   ' '1000' Removable Disk    
> 
> and Linux:
> 
> glaubitz@z6:~> /opt/schily/bin/cdrecord -scanbus
> Cdrecord-ProDVD-ProBD-Clone 2.01.01a78 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2010 J�g Schilling
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.9'.
> scsibus1000:
>         1000,0,0 100000) '_NEC    ' 'DVD_RW ND-3540A ' '1.04' Removable CD-ROM
>         1000,1,0 100001) *
>         1000,2,0 100002) *
>         1000,3,0 100003) *
>         1000,4,0 100004) *
>         1000,5,0 100005) *
>         1000,6,0 100006) *
>         1000,7,0 100007) *

Aaaaah, I just had an idea (just when I was about to leave the uni
office ;)) and I was right:

root@z6:~> /opt/schily/bin/cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a78 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2010 J�g Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
scsibus1000:
        1000,0,0 100000) '_NEC    ' 'DVD_RW ND-3540A ' '1.04' Removable CD-ROM
        1000,1,0 100001) *
        1000,2,0 100002) *
        1000,3,0 100003) *
        1000,4,0 100004) *
        1000,5,0 100005) *
        1000,6,0 100006) *
        1000,7,0 100007) *
root@z6:~> modprobe sg
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: All config files need .conf: /etc/modprobe.d/cat, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/nvidia-kernel-nkc, it will be ignored in a future release.
root@z6:~> /opt/schily/bin/cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a78 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2010 J�g Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) 'ATA     ' 'SAMSUNG HD252HJ ' '1AC0' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'ATA     ' 'ST31000340AS    ' 'SD1A' Disk
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
scsibus2:
        2,0,0   200) 'ATA     ' 'ST31000340AS    ' 'SD1A' Disk
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *
scsibus3:
        3,0,0   300) 'ATA     ' 'ST31000340AS    ' 'SD1A' Disk
        3,1,0   301) *
        3,2,0   302) *
        3,3,0   303) *
        3,4,0   304) *
        3,5,0   305) *
        3,6,0   306) *
        3,7,0   307) *
scsibus4:
        4,0,0   400) 'ATA     ' 'ST31000340AS    ' 'SD1A' Disk
        4,1,0   401) *
        4,2,0   402) *
        4,3,0   403) *
        4,4,0   404) *
        4,5,0   405) *
        4,6,0   406) *
        4,7,0   407) *
scsibus9:
        9,0,0   900) 'SONY    ' 'Hi-MD WALKMAN   ' '1000' Removable Disk
        9,1,0   901) *
        9,2,0   902) *
        9,3,0   903) *
        9,4,0   904) *
        9,5,0   905) *
        9,6,0   906) *
        9,7,0   907) *
scsibus1000:
        1000,0,0 100000) '_NEC    ' 'DVD_RW ND-3540A ' '1.04' Removable CD-ROM
        1000,1,0 100001) *
        1000,2,0 100002) *
        1000,3,0 100003) *
        1000,4,0 100004) *
        1000,5,0 100005) *
        1000,6,0 100006) *
        1000,7,0 100007) *
root@z6:~> 

The SCSI generic driver module was missing.

Let's check, whether it will format the HiMD now:

glaubitz@z6:~> ./himdformat_scg 9,0,0
?: Input/output error. himd_format: scsi sendcmd: no error
CDB:  C2 00 00 00 03 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 30 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x30 Qual 0x00 (incompatible medium installed) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.003s timeout 20s
cannot send scsi commandglaubitz@z6:~> 

Hmm, no, that doesn't work. Anyone got an idea?

Adrian



<-- thread -->
<-- date -->
  • References:
    • Re: [linux-minidisc] Building himdformat against libscg on MacOSX
      • From: manner.moe@gmx.de
    • Re: [linux-minidisc] Building himdformat against libscg on MacOSX
      • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    • Re: [linux-minidisc] Building himdformat against libscg on MacOSX
      • From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • linux-minidisc - May 2010 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal