Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CDROM mit dd auslesen: Kernel 2.4 != Kernel 2.6

3 views
Skip to first unread message

Felix E. Klee

unread,
Nov 28, 2005, 9:55:15 AM11/28/05
to
Ich habe hier eine Daten-CDROM, deren ISO-Image, das ich mit

dd if=/dev/hdc of=datei

auslese, unterschiedlich groß ist, und zwar offenbar abhängig von der
Kernelversion:

* RIP (2.6.14): 1228800 Byte

* Slackware 10.2 mit 2.6.14: 1228800 Byte

* Slackware 10.2 Inst.-Disk (2.4.31): 1224704 Byte

* Suse 8.1 Rescue Disk (2.4.19): 1224704 Byte

Was ist da los? Ist das kleinere Image ausreichend (am Ende des großen
befinden sich nicht etwa nur Nullen)?

Zum Laufwerk:

> cat /proc/ide/hdc/*
0
ide-cdrom version 4.61
85c0 0000 0000 0000 0000 0000 0000 0000
0000 0000 2020 2020 2020 2020 2020 2020
2020 2020 2020 2020 0000 0400 0000 312e
3230 2020 2020 554a 4441 3735 357a 4456
442f 4344 5257 2020 2020 2020 2020 2020
2020 2020 2020 2020 2020 2020 2020 0000
0000 0b00 0000 0200 0200 0006 0000 0000
0000 0000 0000 0000 0000 0000 0007 0007
0003 0078 0078 00b4 0078 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
003e 0013 0000 0000 0000 0000 0000 0000
0407 0000 0000 0000 0000 404d 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 fffe 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
cdrom
UJDA755zDVD/CDRW
name value min max mode
---- ----- --- --- ----
current_speed 66 0 70 rw
dsc_overlap 0 0 1 rw
init_speed 66 0 70 rw
io_32bit 0 0 3 rw
keepsettings 0 0 1 rw
nice1 1 0 1 rw
number 2 0 3 rw
pio_mode write-only 0 255 w
unmaskirq 0 0 1 rw
using_dma 1 0 1 rw


Johannes Starosta

unread,
Dec 5, 2005, 4:16:44 AM12/5/05
to
Felix E. Klee <felix...@inka.de> schrieb:

> Ich habe hier eine Daten-CDROM, deren ISO-Image, das ich mit
>
> dd if=/dev/hdc of=datei
>
> auslese, unterschiedlich groß ist, und zwar offenbar abhängig von der
> Kernelversion:

Ich habe keine Ahnung woran es liegt, könnte mir aber vorstellen, dass
es mit readcd weniger Probleme gibt. Das ist schließlich speziell für
solche Aktionen geschrieben wurden :)

--
MFG, Johannes

http://home.arcor.de/jstarosta


Felix E. Klee

unread,
Dec 5, 2005, 8:25:22 PM12/5/05
to
Felix E. Klee wrote:
> Ich habe hier eine Daten-CDROM, deren ISO-Image, das ich mit
>
> dd if=/dev/hdc of=datei
>
> auslese, unterschiedlich groß ist, und zwar offenbar abhängig von der
> Kernelversion:
>
> * RIP (2.6.14): 1228800 Byte
>
> * Slackware 10.2 mit 2.6.14: 1228800 Byte
>
> * Slackware 10.2 Inst.-Disk (2.4.31): 1224704 Byte
>
> * Suse 8.1 Rescue Disk (2.4.19): 1224704 Byte
>
> Was ist da los?

Ich habe gerade das Tool "isosize" entdeckt, und das sagt, dass die
Größe des ISO-Filesystems

1228800 Byte

beträgt. Demzufolge wären die ISO-Images, die unter Linux 2.4
ausgelesen wurden, zu klein! Aber, vermutlich ist da noch irgendwas zu
beachten, von dem ich noch nichts weiß.

--
Felix E. Klee


Peter Keresztes

unread,
Jan 4, 2006, 5:36:01 AM1/4/06
to
Felix E. Klee wrote:
> Ich habe hier eine Daten-CDROM, deren ISO-Image, das ich mit
>
> dd if=/dev/hdc of=datei
>
> auslese, unterschiedlich groß ist, und zwar offenbar abhängig von der
> Kernelversion:

In
http://cdrecord.berlios.de/old/private/man/README/README.copy
bin ich über was gestolpert:

NOTE: All CD-R's written in Track At Once mode end in two unreadable
run-out sectors. If the disk has been written with a Yamaha CD-R100
or with a Yamaha CD-R102, there are even more run-out sectors.

For this reason, you will not be able to read such a CD correctly with 'dd'.

Vielleicht hat das mit deiner Beobachtung was zu tun?
Siehe dazu auch die Erläuterungen von -isosize in man cdrecord.

--
Lieben Gruß,
Peter Keresztes


Felix E. Klee

unread,
Jan 6, 2006, 10:11:24 AM1/6/06
to
Peter Keresztes wrote:
> NOTE: All CD-R's written in Track At Once mode end in two unreadable
> run-out sectors. If the disk has been written with a Yamaha CD-R100
> or with a Yamaha CD-R102, there are even more run-out sectors.
>
> For this reason, you will not be able to read such a CD correctly with 'dd'.
>
> Vielleicht hat das mit deiner Beobachtung was zu tun?
> Siehe dazu auch die Erläuterungen von -isosize in man cdrecord.

Danke für den Hinweis, vielleicht komme ich sogar dieser Tage dazu, das
ganze mal genauer zu untersuchen. Allerdings tritt das Problem IIRC
auch bei gepressten CDs auf.

--
Felix E. Klee


Message has been deleted
0 new messages