Writing Multisession CD under Linux(megalo)

Tasos Bassoukos abas at aix.meng.auth.gr
Tue Dec 23 19:06:26 EET 1997


Um ... Ok arxizoume....

Exw ena Linux (486DX33 16M 1.2G 2.0.32)[0] me mia karta SCSI (Buslogic)
kai enan CD-Writer(Yamaha CDR100, multisession-capable). Exw grapsei hdh
kamia 30-ria CD's (se 2x taxythta), kai mou exoun kaei mono 2 (to ena
den xwrouse ~670 MB, to allo htan se 4x kai egw epaiza) opote ypo8etw
oti douleyei mia xara to olo systhma. Single-session CD's exoun graftei
kai me to cdwrite 2.0 kai me to cdrecord 1.5.

Twra otan 8elw na grapsw ena multisession CD kanw ta e3hs:

  1. mkisofs -o xxx -rv /some/path
  2. cdrecord -multi -v -eject speed=2 dev=0,4,0 xxx
     h eggrafh ginetai kanonikotata, mou peta e3w to cd, mporw na to
     diavasw mia xara.
  3. cdrecord -msinfo dev=0,4,0 # kai mou bgazei to starting block ...
     mia xara ws edw
  4. mkisofs -o xxx2 -rv  -C <msinfo> -M /dev/scd0 /other/path
     grafw kai to allo to filesystem, mou to kanei mia xara...
  5. cdrecord -v -eject speed=2 dev=0,4,0 xxx2
     kai EDW ginetai o xamos.

to cdrecord mou petaei kati SCSI errors kai kanei exit, prin kan
prolavei na grapsei tipota sto CD. Enta3ei 8a mou peite, ta'ftyse to
programma. Meta apo ligo omws to kernel arxizei na mou petaei metaxy
allwn ena stack dump, tous kataxwrhtes, kapou afairei enan interrupt
handler, meta "kfree'd non-kmalloc'ed page", kai meta kanei while(1)
reset_scsi_bus();
(apo malakia den krathsa ta kernel messages[1]. 3erw, 8a er8w me ton
khdemona mou). Anagasthka na kanw apo allh syndesh reboot. kai mou ekane
meta kai fsck ! (oxi, den 3erw ton logo, to mhxanhma einai xwris
o8onh/plhktrologio) Tespa, meta vazw to CD, diavazei kanonika to arxiko
session. opote kai egw kanw ena


   * cdwrite -evs 2 -D /dev/sga xxx2
     opote kai grafei xwris kanena parapono to allo f/s...

xaroumenos egw kanw ena mount /cdrom - to dexetai .
kanw ena ls /cdrom - kai edw thn pa8aino[3] ... mono ta palia fainontai
! tsk tsk tsk ...

Ti kanw (ligo/poly/aperanta) la8os ? Mporei na grapsei kaneis
multisession  CD's telika h aplws na valw ta CD sthn tostiera?[2]
Kanena hint/tip/clue/LART ?

Tassos

[0] vgalte akrh monoi sas ...

[1] to *&^$&^$# to (sys|k)logd... to eftia3a twra ...

[2] hm ... merenta se CD ... miam !

[3] halarwse Taso ... hremhse Taso .... ma fysika Taso... o giatros eipe na leme nai Taso....

--
Bassoukos Tassos                       +30 31 996011

The COMMAND.COM shell is to sh on Unix as a bus schedule is to Umberto Eco.



--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list