Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: purslow@××××××××××××××.ca
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/sr0 has disappeared: big mystery
Date: Sat, 16 May 2009 16:39:06
Message-Id: 200905161838.30701.dirk.heinrichs@online.de
1 Am Samstag, 16. Mai 2009 11:55:18 schrieb Philip Webb:
2 > 090516 Dirk Heinrichs wrote:
3 > > Please post your kernel config. Please post it completely,
4 > > best together with output from "lspci -v" when booted into the LiveCD.
5 >
6 > I have got 2.6.25 to work again after enabling 'evdev'
7
8 evdev is completely unrelated to CD writing.
9
10 > & have just successfully written System Rescue 1.2.0 using it.
11 > I also compiled 2.6.29-r4 -- the latest in Gentoo testing --
12 > & enabled the alternative IDE mode without anything changing.
13 > I also recompiled Udev Dbus & Hal without any improvement.
14 > Kernel 2.6.29 is simply not creating a device for the CD drive.
15
16 Because you're lacking the kernel support for it, see below.
17
18 > Thanks for your interest: it mb that this is a kernel bug.
19
20 No, it's not.
21
22 > Here is the output from 'lspci -v' when using 2.6.25 (when writing this),
23 > followed by .config for 2.6.29 :
24
25 OK, let's look at the interesting parts:
26
27 > 00:1f.2 SATA controller: Intel Corporation 82801IB (ICH9) 4 port SATA AHCI
28 > Kernel driver in use: ahci
29
30 So you need CONFIG_SATA_AHCI=y, which you have.
31
32 > 03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller
33 > Kernel driver in use: pata_jmicron
34
35 For this you need CONFIG_PATA_JMICRON=y, which you don't have. This is where
36 your CD drive is connected to, right?
37
38 Let's go through the kernel config:
39
40 > # CONFIG_PCIEPORTBUS is not set
41
42 You really need to enable this (that is a PCI-Express machine, isn't it?).
43
44 > CONFIG_BLK_DEV_FD=y
45
46 Do you have a floppy drive, still?
47
48 > CONFIG_HAVE_IDE=y
49
50 Useless.
51
52 > # CONFIG_CHR_DEV_SG is not set
53
54 As written before: No SG, no write (to CD).
55
56 > # CONFIG_ATA_SFF is not set
57
58 You need to enable this to make CONFIG_PATA_JMICRON visible.
59
60 HTH...
61
62 Dirk

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] /dev/sr0 has disappeared: big mystery Dirk Heinrichs <dirk.heinrichs@××××××.de>
Re: [gentoo-user] /dev/sr0 has disappeared: solved Philip Webb <purslow@××××××××.net>