| Author |
Message |
Volhout

Joined: 28 Dec 2008 Posts: 242
|
Posted: Wed 11 Jan 2012, 03:49 Post subject:
Puppy 528 can't read DVD data disk made by Windows |
|
Subject description: can't mount
--------------------------------------------------------------------------------
Yesterday night I had my first encounter of a challenge 528 can't solve.
My wife gave me a DVD+R with photo's from a happening at her local school, and she wanted a copy.
DVD in reader/burner, start Pburn, and Pburn gave me a strange reading. In the size/free bar it indicated 4.8Gbytes free + 2.2 Gbytes occupied (7 Gbyte total). And any action (copy or save to iso file on harddisk) did not work. Stopped Pburn.
Then I tried to mount the drive. Pmount responded with a red "cannot mount" popup.
I started to doubt the DVD (bad disk ?) and rebooted the PC in Windows XP (never even took the disk from the drive), and XP opended the disk, and said it was 4.8Gbytes total standard DVD+R and had 2.2Gbytes occupied. It was a data disk. It copied the 4 folders (with all the JPG pictures in it) fine.
I was stunned, this was the first time 528 could not help me. My experience up to now was that it did anything. Whatever task you throw at it, it simply has a way to solve the problem. (Last challenge was recording protected audio from internet, via audio out - audio in analog cable ... it has tools for everything).
I am not sure if anyone has a clue what this problem is ? Maybe it is a disk format that 528 does not support. If I can help to improve Puppy by debugging, tell me what I can do. I am curious what causes this.
Noticed on Lucid 528-2 with all instant updates up to rerwin patch 6.
Will test today on fresh iso 528-4.
Volhout
This bug has been confirmed by others (see puppy:projects:lucid528 thread), also happens at DVD-RW and DVD-R data disks.
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Wed 11 Jan 2012, 04:53 Post subject:
|
|
This is a problem due to the format being used when the DVD was made.
I have had the very same problem with picture DVDs made in Windows that were not readable by Puppy and PBurn also failed.
But if I remember correctly, an update to PBurn has been recently made that might fill the bill. No promises though. One would just have to try it and see.
I would like to see Puppy capable of reading those windows formats that it currently cannot read though.
I have also found that even with Windows, if the version of it is too early an install demo disk of Windows 8 would give me a text message stating I was not using a late enough version of Windows to be able to read the true contents of the DVD.
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Wed 11 Jan 2012, 16:57 Post subject:
|
|
what does
| Code: | | modprobe -l | grep -i udf |
gives you ?
if the dvd was formatted udf filesystem , this kernel driver would need to be loaded i guess :
to see if udf is supported by the kernel :
| Code: | | cat /proc/filesystems | grep udf |
to check the disk :
to mount manually :
| Code: | | mount -t udf /dev/sr0 /mnt/sr0 |
/usr/sbin/pmount is NOT written to check for udf on dvd/cd i think , also /sbin/probepart ; pmount assumes therefore iso9660 only .
This is the output of
for one not mountable udf disk :
mount -t udf /dev/sr0 /mnt/sr0
[ 9907.256869] sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
[ 9907.256875] sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
[ 9907.256879] Info fld=0x441, ILI
[ 9907.256882] sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
[ 9907.256885] end_request: I/O error, dev sr0, sector 4356
[ 9907.256983] udf: udf_read_inode(ino 1089) failed !bh
[ 9907.476547] sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
[ 9907.476552] sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
[ 9907.476557] Info fld=0x441, ILI
[ 9907.476559] sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
[ 9907.476563] end_request: I/O error, dev sr0, sector 4356
[ 9907.476660] udf: udf_read_inode(ino 1089) failed !bh
[ 9907.638622] sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
[ 9907.638628] sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
[ 9907.638634] Info fld=0x441, ILI
[ 9907.638636] sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
[ 9907.638641] end_request: I/O error, dev sr0, sector 4356
[ 9907.856321] sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
[ 9907.856328] sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
[ 9907.856333] Info fld=0x440, ILI
[ 9907.856336] sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
[ 9907.856340] end_request: I/O error, dev sr0, sector 4352
[ 9908.556370] UDF-fs: No anchor found
[ 9908.556375] UDF-fs: No partition found (1)
while
bash-3.2# disktype /dev/sr0
--- /dev/sr0
Block device, size 2.129 MiB (2232320 bytes)
CD-ROM, 1 track, CDDB disk ID 02000E01
Track 1: Data track, 2.129 MiB (2232320 bytes)
UDF file system
Sector size 2048 bytes
Volume name "UDF Volume"
UDF version 2.01
bash-3.2#
says everything apparently ok
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Wed 11 Jan 2012, 17:06 Post subject:
|
|
and this is the output for a working udf formatted DVD :
bash-3.2# disktype /dev/sr0
--- /dev/sr0
Block device, size 52.56 MiB (55115776 bytes)
CD-ROM, 1 track, CDDB disk ID 02016601
Track 1: Data track, 52.56 MiB (55115776 bytes)
UDF file system
Sector size 2048 bytes
Volume name "RedIceSilverBlueBlack"
UDF version 1.02
bash-3.2# mount -t udf /dev/sr0 /mnt/sr0
bash-3.2# dmesg | tail
[10438.405675] ISOFS: Unable to identify CD-ROM format.
[10494.839084] UDF-fs: Partition marked readonly; forcing readonly mount
[10494.865040] UDF-fs INFO UDF: Mounting volume 'RedIceSilverBlueBlack', timestamp 2010/02/13 14:05 (1fc4)
This a backup of a Music CD .
My DVD-player is only a reader , so the dvd got mounted read only :
mount: block device /dev/sr0 is write-protected, mounting read-only
|
|
Back to top
|
|
 |
Volhout

Joined: 28 Dec 2008 Posts: 242
|
Posted: Thu 12 Jan 2012, 09:56 Post subject:
UDF format |
|
Hi Karl,
tested on 528-004 new iso install.
The modprobe shows UDF is supported in the kernel.
My problems disk is in UDF 1.02 format. And it is not recognized by Pmount.
Manual mounting with
| Code: | | mount -t udf /dev/sr0 /mnt/sr0 |
works, and I can access the disk. Also Pburn sees correct size now. Did not try actual copy process yet, but I am confident it will work.
How can we get this fixed in Pmount ?? Do you know the author ?
Regards,
Volhout
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Thu 12 Jan 2012, 19:00 Post subject:
guess fstype udf |
|
# mkdir /mnt/sr0
# mount -t udf /dev/sr0 /mnt/sr0
mount: block device /dev/sr0 is write-protected, mounting read-only
# lsmod |grep udf
udf 60680 1
crc_itu_t 1003 1 udf
# guess_fstype
Usage: guess_fstype device
# guess_fstype /dev/sr0
udf
it seems that mount is capable to load drivers automatically .
/sbin/guess_fstype is capable of guessing udf right and iso9660 , so could be implemented into
/sbin/probepart
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Thu 12 Jan 2012, 19:17 Post subject:
/sbin/probepart experimental udf support |
|
| Code: | case $DEVICE in
hd*)
#[ "`cat /proc/ide/$DEVICE/media`" = "cdrom" ] && FSTYPE="iso9660"
if [ "`cat /proc/ide/$DEVICE/media`" = "cdrom" ];then
FSTYPE=`guess_fstype $ONEDEV`;[ "$FSTYPE" = 'garage' ] && FSTYPE="iso9660";fi
;;
scd*|sr*) #usb,sata,scsi cd/dvd drive.
#FSTYPE="iso9660"
FSTYPE=`guess_fstype $ONEDEV`;[ "$FSTYPE" = 'garage' ] && FSTYPE="iso9660"
;;
esac |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Thu 12 Jan 2012, 19:19 Post subject:
/usr/sbin/pmount experimental udf support |
|
| Code: | #v408 v410 moved up...
#VALIDPARTS="`echo "$PARTSINFO" | grep -E 'vfat|msdos|ntfs|minix|ext2|ext3|ext4|reiser|xfs|iso9660'`"
VALIDPARTS="`echo "$PARTSINFO" | grep -E 'vfat|msdos|ntfs|minix|ext2|ext3|ext4|reiser|xfs|iso9660|udf'`" |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Fri 13 Jan 2012, 03:50 Post subject:
|
|
Now tested the both codes several times and boots and Puppy versions , and must say it works - even if the udf.ko module not loaded and udf not mentioned in /proc/filesystems .
mount-FULL does load the udf.ko module automatically .
The only thing is to recognize the filesystem type on CD/DVD ,
guess_fstype spins up the DVD drive every time /sbin/probepart runs .
If the DVD drive is old,slow,clumpy the one or other would think it would be annoying .
|
|
Back to top
|
|
 |
backi
Joined: 27 Feb 2011 Posts: 357 Location: GERMANY
|
Posted: Fri 13 Jan 2012, 13:11 Post subject:
|
|
High buddies !
Was confronted with the same problem ........
posted it a while ago .
I am Linux newby ....... is there a solution in sight ?
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Fri 13 Jan 2012, 19:34 Post subject:
|
|
I would like to see UDF support by default instead of having to do the mount from a command line.
What files in Puppy would have to be modified to be able to read UDF format disks without loosing ISO9660 format support.
My shallow mind would never remember the commands to check disk type and the one to mount the UDF formatted disk.
I am wondering why that was left out of Puppy versions to begin with.
My test DVD was a backup of backup files for a business I did the bookwork on. It was not complete as it had got misplaced and I had to make another from the backup information I had on the hard drive.
And since I did monthly backups spanning 9 years, that was a lot of backups.
I have always considered Puppy to be more secure than Windows and that helps.
I have not tried the bookkeeping program, Simply Accounting, with wine and so am unsure if it would work there.
The business no longer exists. And so this would just be a test for using it for a personal bookkeeping system for tracking expenses for tax purposes.
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2209 Location: Gatineau (Qc), Canada
|
Posted: Fri 13 Jan 2012, 20:08 Post subject:
|
|
Hi, 8-bit.
Didn't quite understand the last part of your message. You backed up your accounting work on udf formatted DVDs ? Is that it?
TWYL.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Sat 14 Jan 2012, 02:39 Post subject:
|
|
Short answer is yes. It seemed to be the default of Nero that I used to make the backup DVD in Windows XP and then Vista.
The accounting program itself would save backups to hard drive or one floppy disk for each month.
I also tried Karl's method of reading the DVD and it worked in Puppy.
Before that, I would have had to fire up Windows to be able to read it.
|
|
Back to top
|
|
 |
playdayz

Joined: 25 Apr 2008 Posts: 3705
|
Posted: Sun 15 Jan 2012, 17:15 Post subject:
|
|
Karl Godt, Am I correct that this is replacement code for /sbin/probepart? Is there anything else I should know about using it? Thanks for the quick solution. I will pass it on to 01micko.
| Code: | case $DEVICE in
hd*)
#[ "`cat /proc/ide/$DEVICE/media`" = "cdrom" ] && FSTYPE="iso9660"
if [ "`cat /proc/ide/$DEVICE/media`" = "cdrom" ];then
FSTYPE=`guess_fstype $ONEDEV`;[ "$FSTYPE" = 'garage' ] && FSTYPE="iso9660";fi
;;
scd*|sr*) #usb,sata,scsi cd/dvd drive.
#FSTYPE="iso9660"
FSTYPE=`guess_fstype $ONEDEV`;[ "$FSTYPE" = 'garage' ] && FSTYPE="iso9660"
;;
esac |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Sun 15 Jan 2012, 18:47 Post subject:
|
|
Yes !
One thing i encounter is that on Puppy4 the guess_fstype spins up the DVD reader of mine
and the reader IF includes a DVD
does not stop spinning , until i open the tray .
So booting to desktop /sbin/pup_event_frontend_d checks for partitions and filesystems using /sbin/probepart .....
If DVD in tray , it does not stop spinning .
ALSO if checked "LAUNCH HANDLER" in the eventmanager GUI ....
On the partition i am on now i pressed the outside-button to eject the DVD and reinserted it and now it is calm .
I think this is the real cause for defaulting to one fs in the original code . I compiled ufs-utils and the source stopped to develop in 2002 it seems .
And the garage you might fill with tom,jerry or others not yet invented filesystems .
|
|
Back to top
|
|
 |
|