Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread James Sparenberg
On Fri, 2003-03-07 at 12:24, Buchan Milne wrote:
> On Fri, 7 Mar 2003, James Sparenberg wrote:
> 
> >I've had this problem on some systems (with a number of distro's) and
> > the problem was that the correct symlink in /dev isn't created. 
> 
> You will note that was dealt with earlier (modprobe ide-cd if root is the 
> only person to have logged in).

No on these boxes the symlink wasn't created no matter who logged in
notably RH 7.0 7.1 off the top of my head.  I've also had this happen
with MDK on the odd occasion.  Yes MDK does do it correctly but rather
than re-install I just did what was missed.  (MDK 8.0 and 8.1 did this
on several machines.) But on the couple that did have to be reinstalled
for whatever reason (hdd gone south etc) the next time it was created. 
I've found it to be a random oops not a reproducible bug.  But after
close to 3000 OS installs in the last year alone, I've seen a few of
them.

James

> 
> > The
> > default in eject is to eject /dev/cdrom   but if the real device for
> > your ide-scsi is say scd0 ejecting /dev/cdrom won't work.  Try this if
> > for example your real device is /dev/scd0 then type eject scd0  if
> > it ejects then you have the symlink problem.  Two fixes either create a
> > little script that does the eject scd0  or create the symlink.
> 
> I was running eject on /dev/hdc, which is the only possible device file 
> for the drive (no ide-scsi emulation). Reboot, and it seems to be better 
> ... but we'll see what happens ...




Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Buchan Milne
On Fri, 7 Mar 2003, James Sparenberg wrote:

>I've had this problem on some systems (with a number of distro's) and
> the problem was that the correct symlink in /dev isn't created. 

You will note that was dealt with earlier (modprobe ide-cd if root is the 
only person to have logged in).

> The
> default in eject is to eject /dev/cdrom   but if the real device for
> your ide-scsi is say scd0 ejecting /dev/cdrom won't work.  Try this if
> for example your real device is /dev/scd0 then type eject scd0  if
> it ejects then you have the symlink problem.  Two fixes either create a
> little script that does the eject scd0  or create the symlink.

I was running eject on /dev/hdc, which is the only possible device file 
for the drive (no ide-scsi emulation). Reboot, and it seems to be better 
... but we'll see what happens ...

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7




Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread James Sparenberg
On Fri, 2003-03-07 at 07:48, Buchan Milne wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Guillaume Cottenceau wrote:
> > Buchan Milne <[EMAIL PROTECTED]> writes:
> >
> >
> >>I have to manually modprobe ide-cd to get an ide device (/dev/hdc and
> >>the file it should link to do not exist until I modprobe).
> >
> >
> > Some device files such as /dev/dvd may be created only when a
> > normal user is logged in. By any chance, did you have only root
> > logged in?
> >
> 
> Hmm, that was the case, but now I cannot eject it (even as root after
> unmounting)!
> 
> hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.12
> SCSI subsystem driver Revision: 1.00
> Non-volatile memory driver v1.2
> udf: registering filesystem
> UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no,
> vol_desc_start=0
> UDF-fs DEBUG super.c:1426:udf_read_super: Multi-session=0
> UDF-fs DEBUG super.c:415:udf_vrs: Starting at sector 16 (2048 byte sectors)
> UDF-fs DEBUG super.c:442:udf_vrs: ISO9660 Primary Volume Descriptor found
> UDF-fs DEBUG super.c:439:udf_vrs: ISO9660 Boot Record found
> UDF-fs DEBUG super.c:445:udf_vrs: ISO9660 Supplementary Volume
> Descriptor found
> UDF-fs DEBUG super.c:451:udf_vrs: ISO9660 Volume Descriptor Set
> Terminator found
> UDF-fs: No VRS found
> ISO 9660 Extensions: Microsoft Joliet Level 3
> ISO 9660 Extensions: RRIP_1991A
> hdc: irq timeout: status=0xd0 { Busy }
> hdc: irq timeout: error=0xd0LastFailedSense 0x0d
> hdc: DMA disabled
> hdc: ATAPI reset timed-out, status=0xd0
> ide1: reset timed-out, status=0xd0
> hdc: status timeout: status=0xd0 { Busy }
> hdc: status timeout: error=0xd0LastFailedSense 0x0d
> hdc: drive not ready for command
> [EMAIL PROTECTED] bgmilne]$ uname -r
> 2.4.21-0.11mdk
> 
> ACAICR, .4mdk(?) (rc1) worked better in this regard.
> 
> Buchan
> 

Buchan,

   I've had this problem on some systems (with a number of distro's) and
the problem was that the correct symlink in /dev isn't created. The
default in eject is to eject /dev/cdrom   but if the real device for
your ide-scsi is say scd0 ejecting /dev/cdrom won't work.  Try this if
for example your real device is /dev/scd0 then type eject scd0  if
it ejects then you have the symlink problem.  Two fixes either create a
little script that does the eject scd0  or create the symlink.

James





Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Cottenceau wrote:
> Buchan Milne <[EMAIL PROTECTED]> writes:
>
>
>>I have to manually modprobe ide-cd to get an ide device (/dev/hdc and
>>the file it should link to do not exist until I modprobe).
>
>
> Some device files such as /dev/dvd may be created only when a
> normal user is logged in. By any chance, did you have only root
> logged in?
>

Ahh, possibly ... reboot and login as normal user worked fine.

That'll teach me to try and fix winbind first ...

Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+aL2QrJK6UGDSBKcRAj7TAKCpDdZLW09E13xZnEL35k55nwUlfQCgsi8O
Kkcht+K87O3i/BPVreV9+SA=
=+fpX
-END PGP SIGNATURE-




Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Thomas Backlund
Viestissä Perjantai 7. Maaliskuuta 2003 16:33, Buchan Milne kirjoitti:
>
> IBM Thinkpad 600X, PIII-500, Intel 440BX or 440ZX it seems. RC2 on CD
> install, no cooker updates. Worked fine in RC1 also (no problems with CD).
>

I myself have a HP-XE3-GC, PIII-700, Intel 440BX/ZX and installed RC2
without a problem. Only change I made was to remove 'acpi=off' from
lilo append line (by selecting "Use ACPI" in the lilo configuration part
of install)

> Get this in dmesg during boot:
> ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:DMA, hdd:pio
> hdc: CRN-8241B, ATAPI CD/DVD-ROM drive
>

So the kernel is happy ...

> This only appears after manually modprobe'ing ide-cd:
>
> hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.12
>

wich this proves...

Try the latest kernel and see how it works...

also try to remove the acpi=off to see if it's the thing
that confuses the system...

Thomas



Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Cottenceau wrote:
> Buchan Milne <[EMAIL PROTECTED]> writes:
>
>
>>I have to manually modprobe ide-cd to get an ide device (/dev/hdc and
>>the file it should link to do not exist until I modprobe).
>
>
> Some device files such as /dev/dvd may be created only when a
> normal user is logged in. By any chance, did you have only root
> logged in?
>

Hmm, that was the case, but now I cannot eject it (even as root after
unmounting)!

hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
Non-volatile memory driver v1.2
udf: registering filesystem
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: no,
vol_desc_start=0
UDF-fs DEBUG super.c:1426:udf_read_super: Multi-session=0
UDF-fs DEBUG super.c:415:udf_vrs: Starting at sector 16 (2048 byte sectors)
UDF-fs DEBUG super.c:442:udf_vrs: ISO9660 Primary Volume Descriptor found
UDF-fs DEBUG super.c:439:udf_vrs: ISO9660 Boot Record found
UDF-fs DEBUG super.c:445:udf_vrs: ISO9660 Supplementary Volume
Descriptor found
UDF-fs DEBUG super.c:451:udf_vrs: ISO9660 Volume Descriptor Set
Terminator found
UDF-fs: No VRS found
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
hdc: irq timeout: status=0xd0 { Busy }
hdc: irq timeout: error=0xd0LastFailedSense 0x0d
hdc: DMA disabled
hdc: ATAPI reset timed-out, status=0xd0
ide1: reset timed-out, status=0xd0
hdc: status timeout: status=0xd0 { Busy }
hdc: status timeout: error=0xd0LastFailedSense 0x0d
hdc: drive not ready for command
[EMAIL PROTECTED] bgmilne]$ uname -r
2.4.21-0.11mdk

ACAICR, .4mdk(?) (rc1) worked better in this regard.

Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+aL9ErJK6UGDSBKcRAhF0AJ9ceR6ZP4yMaYt2VZpAwPNazOpFNwCgmUeM
yphPTr4KRJNyloeFyb6N61A=
=8ypE
-END PGP SIGNATURE-




Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Guillaume Cottenceau
Buchan Milne <[EMAIL PROTECTED]> writes:

> I have to manually modprobe ide-cd to get an ide device (/dev/hdc and
> the file it should link to do not exist until I modprobe).

Some device files such as /dev/dvd may be created only when a
normal user is logged in. By any chance, did you have only root
logged in?

-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas Backlund wrote:
> Viestissä Perjantai 7. Maaliskuuta 2003 15:58, Buchan Milne kirjoitti:
>
> What m/b? chipset? kernel? wich install? RC2? Updated cooker?
> what's in dmesg?

IBM Thinkpad 600X, PIII-500, Intel 440BX or 440ZX it seems. RC2 on CD
install, no cooker updates. Worked fine in RC1 also (no problems with CD).

Get this in dmesg during boot:
ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:DMA, hdd:pio
hdc: CRN-8241B, ATAPI CD/DVD-ROM drive

This only appears after manually modprobe'ing ide-cd:

hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+aK3QrJK6UGDSBKcRAtBkAJ4xxIG27clT/kSKwANUsZ7HoaURRACfdIh/
n/4+KRBgylMZkKp2EfOnBkA=
=flFE
-END PGP SIGNATURE-




Re: [Cooker] CD-ROM drive not working after install

2003-03-07 Thread Thomas Backlund
Viestissä Perjantai 7. Maaliskuuta 2003 15:58, Buchan Milne kirjoitti:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I have to manually modprobe ide-cd to get an ide device (/dev/hdc and
> the file it should link to do not exist until I modprobe).
>
> Anyone else seeing this?
>
> Did not occur in 9.0. All drakx logs etc available, but I want to see if
> anyone else is getting this before I bugzilla it ...
>

What m/b? chipset? kernel? wich install? RC2? Updated cooker?
what's in dmesg?

Thomas