| View previous topic :: View next topic |
| Author |
Message |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Mon Apr 04, 2005 10:12 pm Post subject: Can't burn DVD nor CD - invalid media failure |
|
|
Only 3 more things to sort out before i can say goodbye to M$, and this is the most critical. I have read articles within these forums but no answer to my probs has been found. Here are some info snips to see if they help anyone come up with any ideas
running cdrecord -scanbus -dev=ATAPI gives the following:
| Quote: | cdrecord: Warning: Running on Linux-2.6.10-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'TSSTcorp' 'CD/DVDW TS-H542A' 'TS06' Removable CD-ROM
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) * |
# hdparm -i /dev/hdc returns ...
| Quote: | /dev/hdc:
Model=TSSTcorpCD/DVDW TS-H542A, FwRev=TS06, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17:
* signifies the current active mode |
/etc/fstab settings for the drive are:
| Quote: | /dev/hdc /mnt/cdrom auto noauto,noatime,ro,users 0 0
/dev/hdc /mnt/dvdrw udf noauto,noatime,unhide,rw,users 0 0 |
I am new to Gentoo and Linux in general so please offer cli commands that will assist you and myself any further. Doing a back peddle to 2.4 is not really an option as this prevents the ATI gfx card from playing nicely, as does 2.6.>10
TIA
TpwUK |
|
| Back to top |
|
 |
DarrenM l33t


Joined: 25 Apr 2002 Posts: 653 Location: Sydney, Australia
|
Posted: Tue Apr 05, 2005 12:06 am Post subject: |
|
|
I couldn't get cdrecord to work with my dvdrw. I had to use:
| Code: |
growisofs -use-the-force-luke -Z /dev/hdc -r -J source_files
|
Either that or use something that takes care of all that for you like k3b.
"Warning: There is absolutely NO DMA, operations thus are slow."
To fix that, use "hdparm -d 1 /dev/hdc" or as it says, operations will be really slow. |
|
| Back to top |
|
 |
hoover n00b

Joined: 22 Sep 2003 Posts: 20
|
Posted: Tue Apr 05, 2005 8:43 am Post subject: |
|
|
you might want to give SCSI emulation a try, too. (pass hdX=ide-scsi to the kernel before boot). In spite of what has been said here, it's the only way for me to burn CDR's on my Gentoo System (kernel 2.6.11).
Make sure to compile SCSI emulation into your kernel first, and to replace "hdX" with your dvd burning device.
OTOH, I cannot burn DVD's with that setting; I have to reboot and boot *without* the ide-scsi option in order to be able to burn DVD's. Otherwise, I get the same error (invalid media failure). (NEC 1300A).
HTH, uwe |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Wed Apr 06, 2005 3:24 pm Post subject: |
|
|
Thanks for the reply guys
Hoover thanks for the info regarding scsi, i should have mentioned that i had assigned ide-scsi as a module, so i removed it from the list, and hey presto i now get a device call DVD-RW show up under filesystem in gnome, but i still cant write to the dmaned thing
Darren, thanks fort he command structure - tried that and its moaning that a 4427Mb image is too large to burn, strange as it is an iso image that burns with no probs uder xp and nero.
If i try to burn with gnomes cd/dvd record features i get the following error;
:-[ PERFORM OPC failed with SK=5h/ASC=30h/ACQ=02h]: Wrong medium type
Hdparm is already set during boot, and as you can see from the other post udma2 has indeed been set for the dvd-burner ... I am at a loss as to why it wont burn but at least you two guys have given me a much needed confidence boost.
Going to try and burn a CD so will let you know the result...
Sorry for the delay in replying but was called away.
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Wed Apr 06, 2005 6:37 pm Post subject: |
|
|
Try changing your fstab entry to
I think udf alone might work with dvd+rw only
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Wed Apr 06, 2005 9:43 pm Post subject: |
|
|
Cintra thanks for the fstab setting its working even better with that setting, but still no luck in burning a dvd - cd's now burn though and i can now see where the problem is for dvd failure, was using cdrecord and not cdrecord-prodvd. But now that i have fixed that, i get an error about it being demo, and that it will only cook 1gb of real data. So if any of you know how to register this free key thing, that is not supposed to expire until oct 2005 i would be greatful. I keep lauching it via the the script cdrecord-wrapper.sh but then it just gives a warning and dies, but i am possitive the problem is between the keyboard and the seat now, and i am trying ....
Many thanks guys, step by step its getting closer and closer
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Thu Apr 07, 2005 4:36 am Post subject: |
|
|
Do you have | Code: | app-cdr/dvd+rw-tools
A set of tools for DVD+RW/-RW drives
dvdrtools is a fork of cdrtools, with the primary goal of supporting writable DVD drives.
http://fy.chalmers.se/~appro/linux/DVD+RW/
Installed versions:
Slot 0: 5.21.4.10.8 | Perhaps thats only for us k3b users..
If you really want/have to use cdrecord-prodvd with gnome, this might help (for the key..)
http://linux.co.uk/Pages/projects/gentoo_wiki/HowToIGetToBurnDVDs
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Thu Apr 07, 2005 8:43 am Post subject: |
|
|
Hi Cintra, i do indeed have the dvd+rw-tools installed, but alas everything i have used so far that uses a gui under gnome apears to use cdrecord, so i have messed with their prefs and made them point to cdrecord-prodvd instead, and amongst the apps tried and the one that comes painfully close is indeed xcdroast, which does the key priming, but then gives off errors to do with contractions - maybe a baby is due, but i cant seem to find any info on the error contractions:130 or another one that states it cant find the scsi buffer but at least it stopped saying invalid media
Why not use Kde - because i have probs with audio in kde and arts, that i dont suffer whilst using gnome. I know its childish, but i like audible warnings on errors, so i can just leave the box to do what its gotta do and if anything goes wrong i hear the error and can come and investigate, under kde i can do this, but then when i try to edit a video sequence or play a video to make sure its all in sync i get "the sound server is already in use" and then get to watch the clip with no audio, which in my line of work is not very helpful.
But i am now going to see if k3b is going to play with gnome ....
Thanks for the time and effort you are sparing me
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Thu Apr 07, 2005 10:42 am Post subject: |
|
|
From http://www.pcauthority.com.au/print.aspx?CIID=21581&SIID=10
| Quote: | | It's important to remember though that while an application might be developed with a certain desktop in mind, almost all of them can be easily run under any desktop. If you'd like to run K3b under GNOME or Evolution under KDE, you can do so. | just to give you some encouragement
Mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Thu Apr 07, 2005 11:49 am Post subject: |
|
|
Hi Cintra - encouragement not really needed - i am as keen as a butchers knife to get away from M$ but its not looking likely at the moment. Tried K3b under gnome, and yes it works as expected right to the point of burning, then falls over saying it cant prevent the the media from being ejected or back to the old type error of invalid media.
I really am grateful of all the help, and time that you good folks have offered, but as much as i enjoy playing with gentoo linux (its without doubt the most open linux system of all the ones i have tried), i can not afford to waste too many more days in trying to get things happy. The problems being presented are immense fun to try and master, but fun dont pay the bills ;(
But as long as i am workload free i will keep slogging at it .....
XcdRoast now nags that the activation key is invalid despite coming from its own files
K3b says cant prevent media from being ejected and then follows that up with invalid media type again
Ohhhh what joy
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Thu Apr 07, 2005 7:37 pm Post subject: |
|
|
Very similar Cintra, but then it just confuses me more ... the same dvd-burner and media work perfectly fine under xp. So the argument leaves me wondering which part is to blame...
DVD firmware = TS06
As for media, I have tried 3 different brands, they all work fine in xp, but once in linux they bomb out, and not just in Gentoo. The same applies for Fedora Core and Mandrake so is the problem with 2.6.x kernel? is it with cdrtools, cdrecord-ProDVD or somewhere else. The honest answer is i havent got a clue, but i am certainly not willing to spend more on trying to get linux to work, so far i have had to buy 2 motherboards, an external soundcard and a new nic, then countless truly enjoyable hours lost to trying to get Gentoo linux to play, which i have honestly really enjoyed, but like i say, i have to abandon the project whenever a job comes in as i cant achieve simple tasks, like burning dvd's hehhehhe
Guess i have just been spoilt by windows simplicity, but still understand the beast well enough to say i have had enough, more patches than a bikers favorite jeans, and a 5yr support policy that sucks has just left me saying enough is enough.
My next stage is to try a new Gentoo with Genkernel and to drop the old devs and see what happens with udev. If i remember rightly gentoo is supposed to see my dvd as /dev/dvd, but under normal installation, with devs support, i only ever get /dev/cdroms/cdrom0 and i just cant help but think that this is where the problem lies somewhere ... As in it always sees it as a cdrw and not a dvdrw does thay make sense, anybody else have an opinion, please share your thoughts .....
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Fri Apr 08, 2005 5:25 am Post subject: |
|
|
Hei TpwUK
what do you get with dvd+rw media and..
| Code: | | # dvd+rw-mediainfo /dev/hdc |
I know it works on XP (which is a rude word for me this morning as I attempted to install SP2 yesterday evening )
but is there a possibility you could beg/borrow a NEC or one of the 'better known' burners for a quick check.
The shift to another kernel version is a good idea too.
All the best
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sat Apr 09, 2005 2:29 am Post subject: |
|
|
Hi Cintra, sorry for the long delay but new build and all - kernel 2.6.11-r6 now, SP2 woes eh? lemme guess no network connection after applying it!
but enough off xp probs in a gentoo forum
INQUIRY: [TSSTcorp][CD/DVDW TS-H542A][TS06]
GET [CURRENT] CONFIGURATION:
Mounted Media: 11h, DVD-R Sequential
Current Write Speed: 4.0x1385=5520KB/s
Write Speed #0: 4.0x1385=5520KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 4.2x1385=5809KB/s@[0 -> 0]
Speed Descriptor#0: 00/2295103 R@8.0x1385=11040KB/s W@4.0x1385=5520KB/s
Speed Descriptor#1: 00/2295103 R@8.0x1385=11040KB/s W@2.0x1385=2760KB/s
READ DVD STRUCTURE[#10h]:
Media Book Type: 25h, DVD-R book [revision 5]
Legacy lead-out at: 16424665*2KB=33637713920
READ DVD STRUCTURE[#0h]:
Media Book Type: 25h, DVD-R book [revision 5]
Last border-out at: 16424665*2KB=33637713920
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2298496*2KB
Track Size: 2298496*2KB
READ CAPACITY: 1*2048=2048
Thats the result from the media info, which shows the medium is 4x 4.7gb single layer dvd. As for the burner brand, TSST is the new brand name for samsung's optical media division, so is actually one of the better brands, if somewhat lesser known, but unfortunately all of my friends use the same brand so no swapping of DVD drives would be of benefit - The DVD burner is actually capable of supporting upto 12x burn rates and i am led to beleive that with a firmware patch can be turned into a 16x Dual Layer burner, but i dont mess with things like that, unless they are out of warranty and at just 4 months old, this has a while to wait
An attempt to burn with xcdroast and cdrecord-ProDVD gives the following error
Calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDRECORDPRODVD dev= "ATAPI:0,0,0" gracetime=10 fs=4096k driveropts=burnfree -v -useinfo speed=40 -dao -eject -pad -data "/home/martin/track-01.iso" ...
cdrecord.prodvd: Warning: Running on Linux-2.6.11-gentoo-r6
cdrecord.prodvd: There are unsettled issues with Linux-2.5 and newer.
cdrecord.prodvd: If you have unexpected problems, please try Linux-2.4 or Solaris.
Cdrecord-ProDVD-Clone 2.01-pre (x86_64-unknown-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: 'ATAPI:0,0,0'
Unlocked features: ProDVD Clone
devname: 'ATAPI'
Limited features:
scsibus: 0 target: 0 lun: 0
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
Warning: Using ATA Packet interface.
TOC Type: 1 = CD-ROM
Warning: The related Linux kernel interface code seems to be unmaintained.
Using libscg version 'schily-0.8'
Warning: There is absolutely NO DMA, operations thus are slow.
Driveropts: 'burnfree'
SCSI buffer size: 64512
cdrecord.prodvd: Cannot allocate memory. Cannot get SCSI I/O buffer.
Thanks for the help again
TpwUK
(mail me in private if you need any help with xp - you never know) |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sat Apr 09, 2005 6:04 am Post subject: |
|
|
On a Saturday! Good morning.. and thanks for the above.
I was hoping to compare with my dvd+rw media output btw, but for dvd-r it looks ok as far as I can see.
On another thread I recently suggested a simple write test with growisofs, which worked for me
You might like to try it, its at the end of https://forums.gentoo.org/viewtopic-p-2286205.html#2286205
Oh yes, one thing which I have in my boot line (grub) is hdc=ide-cd. Its been there so long I have forgotten why, but I notice it helped someone else yesterday.
If none of this digs out the problem, we'll have to send up flags for NeddySeagoon, the expert in this area.
Mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sat Apr 09, 2005 7:54 am Post subject: |
|
|
I ooops did a boo boo
I replied to your thread from your link above - sorry about that
But if it makes life easier i now get ...
martin@tpwuk martin $ growisofs -use-the-force-luke -Z -dvd-compat /dev/hdc -r -udf -dvd-video -v -v /mnt/data-01/Cats_N_Dogs/*
unable to open64("-dvd-compat",O_RDONLY): No such file or directory
fstab line is as follows
/dev/hdc /mnt/dvdrw iso9660,udf noauto,users,rw 0 0
So i am somewhat bemused
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sat Apr 09, 2005 9:49 am Post subject: |
|
|
| TpwUK wrote: | I ooops did a boo boo
I replied to your thread from your link above - sorry about that
But if it makes life easier i now get ...
martin@tpwuk martin $ growisofs -use-the-force-luke -Z -dvd-compat /dev/hdc -r -udf -dvd-video -v -v /mnt/data-01/Cats_N_Dogs/*
unable to open64("-dvd-compat",O_RDONLY): No such file or directory
fstab line is as follows
/dev/hdc /mnt/dvdrw iso9660,udf noauto,users,rw 0 0
So i am somewhat bemused
TpwUK | no problem..
couple of queries: why -udf in your growisofs line? and what happens with -dry-run?
Btw, I didn't mean to run down your burner, its just that there are so few search results on it, which can help.
Mvh
Edit: Time for another suggestion, having found zilch on the net ref OPC errors. have you tried burning with another linux distro, e.g. Knoppix, which is good at finding peripherals.
I just burnt 3.6Gb of music using growisofs, now I'm going to sit in the sunshine..
oops nearly forgot to ask what versions of app-cdr/dvd+rw-tools & app-cdr/cdrtools you are using?
If you want to become an expert see http://fy.chalmers.se/~appro/linux/DVD+RW/-RW/ _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sat Apr 09, 2005 7:26 pm Post subject: |
|
|
Thanks for your patience with this Cintra - you are doing better than me, i am slowly resigning to the fact that crappy windows has to be my main os for the time being at least, however the responses to your queries;
-udf used because apparantly unless you state it, you can get restricted to a 2gb size limit on the iso created, i dont know for sure as i aint managed to get it going yet .
-dry-run still fails with the same error as if it wasnt there.
OPC = Optimal Power Calibration, this could mean i might have to force a speed down growisofs neck such as -speed=2.4, even though the dvd+rw-mediainfo does indeed see 4x media, but i have tried with -speed=1 2 2.4 and 4 and they all still fail with invalid media.
tool versions are
app-cdr/dvd+rw-tools-5.21.4.10.8
app-cdr/cdrtools-2.01-r2
Burner insulted - nahhhh - never crossed my mind, just as you say they are not well known now they use a different brand name, and i have been looking at samsungs optical division trying to find linux sipport, but then got called out, so never really finished the search, but will be as soon as i have a chance.
What brand of DVD's are you using? - This batch is BulkPaq 4x Orange, but i have tried Datawrites too 4x and 8x and they suffer from the same problem when in linux - bad media type. Never tried Knoppix, but Mandrake and Fedora Core also fall foul of the same problem, I have no problems with CD's now though, unbrandeds burn at upto 31x and Phillps Branded at 40x with no under runs or needing to use the burnfree protection.
Ohhh well back to the search, and many thanks for your perseverance
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sun Apr 10, 2005 8:07 am Post subject: |
|
|
Back again..
not sure if its patience or stubbornness
I just don't like to give up & very often in the end it was something simple.
A shame if you have to go back to MS because of this, but there are things I still use XP for too.. not least backup!
(my SP2 attempt hung at the 50% mark - extremely frustrating because you can't use the huge download again - one of my many 'anti- this that & the other' apps blocking it I guess)
"no problems with CD's" - but they use OPC too! This is really odd, even more so when you say
"-dry-run still fails with the same error as if it wasnt there" and you get the same error on other distros.
That should let out kernel config setup.
I feel the most likely things are the software tools (bug?) conflicting with your burner.
A swap of which would still be most useful...
Most of my media is Verbatim DataLifePlus 4x certified, both +RW & +R.
I have the following in package-keywords, and don't have cdrecord-prodvd installed.
| Code: | cdrtools 2.01.01_alpha01-r1
dvd+rw-tools 5.21.4.10.8 |
More head scratching required
Mvh
Edit: while chasing my NEC's firmware I came across CDfreaks.com and your model, and
http://www.samsungodd.com/eng/LiveUpdate/Firmware/Firmware.asp
apparently there is a live update possibility for your model.. _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sun Apr 10, 2005 10:04 am Post subject: |
|
|
Well thanks for the reply again Cintra, and i really do appreciate your stubborness
I hate giving up on things too, dates way back when pc's were babies and expensive, and required hand holding sessions all the way, stearing IRQ's and the like, but at least they were fun days, and way back then manufacturers understood there was more than one OS. Looking on the Samsung support pages all i see is just *windows* for update tools, and since this is a stand alone box, it means i am gonna haveto oink Gentoo off and install Xtra Problems again just to flash the damned DVD that only got flashed just over a month ago, see how the M$ mentality rubs off, just about every manufacturer now seems to no longer support Linux, and then still release things that aint ready
But hey if it gets the burner to burn DVD's then its worth it, and i can then move on and get stuck into doing what i do best, CGI and animation ... but will Gentoo cope with the rigours invloved, we shall find out soon enough - got blender up n running, and that looks like fun to learn, and if all else fails i have heard that Maya is available for Fedora/RedHat so should port over (famous last words)
Right enough jibber jabber, lets kiill this install - again - and play with windows - again - and see if the flashed dvd wants to play then ...
May be i should have called this thread TSST-H542A DVD Burning - Can it be done?
Okay see you soon, will let you know the result
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sun Apr 10, 2005 11:50 am Post subject: |
|
|
| TpwUK wrote: | Well thanks for the reply again Cintra, and i really do appreciate your stubborness
May be i should have called this thread TSST-H542A DVD Burning - Can it be done?
Okay see you soon, will let you know the result
TpwUK |
Ok pls do that, & all the best
Mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sun Apr 10, 2005 3:41 pm Post subject: |
|
|
Absolutely no difference, and thats with a different brand again Datawrite 8x also flops out
Invalid media with growisofs, invalid key with cdrecord-ProDVD
looks like its back to windows again for me, unless somebody else can come up with an answer?
TpwUK
(patience expired)
 |
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sun Apr 10, 2005 7:10 pm Post subject: |
|
|
Well here's my last hope - but unfortunately i cant find any code like that below within the transport.h files i have with gentoo install - does anybody know the name of the file i need to be able to insert the following code segment??
| Code: | --- transport.hxx Wed Aug 25 01:36:29 2004
+++ transport.hxx Sun Sep 26 23:45:56 2004
@@ -1551,7 +1551,12 @@
p[3] &= 0x3F; // always Single-session?
// setup Data Block Type
- if ((track[6]&0x0F)==1) p[4] = 8;
+ // Some units [e.g. Toshiba/Samsung TS-H542A] return "unknown Data
+ // Block Type" in track[6]&0x0F field. Essentially it's a firmware
+ // glitch, yet it makes certain sense, as track may not be written
+ // yet...
+ if ((track[6]&0x0F)==1 || (track[6]&0x0F)==0x0F)
+ p[4] = 8;
else fprintf (stderr,":-( none Mode 1 track\n"),
exit(FATAL_START(EMEDIUMTYPE));
|
TpwUK |
|
| Back to top |
|
 |
Cintra Advocate


Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
|
| Back to top |
|
 |
TpwUK n00b

Joined: 21 Mar 2005 Posts: 34
|
Posted: Sun Apr 10, 2005 8:51 pm Post subject: |
|
|
Thanks Cintra, yeah its there in my portage too, but didnt get found when i did a search, still never mind, but here's the typical noob question, how do i apply the patch, or should emerge allready have done this at install time??
Sorry to be a burden
TpwUK |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|