LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2004, 02:10 AM   #1
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
CD-RW install/setup/scsi issue with k3b/xcdroast and kernel compile probs


This is quite a long post, and I thank you now for reading it. All I want to do is burn cds. This is basically all the information I have on my system. If you need anything else, please let me know:

Code:
bash-2.05b# dmesg
Linux version 2.4.22 (root@midas) (gcc version 3.2.3) #6 Tue Sep 2 17:43:01 PDT 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007fec000 (usable)
 BIOS-e820: 0000000007fec000 - 0000000007fef000 (ACPI data)
 BIOS-e820: 0000000007fef000 - 0000000007fff000 (reserved)
 BIOS-e820: 0000000007fff000 - 0000000008000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB LOWMEM available.
On node 0 totalpages: 32748
zone(0): 4096 pages.
zone(1): 28652 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=302 hdc=ide-scsi hdd=ide-scsiide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 731.474 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1458.17 BogoMIPS
Memory: 126368k/130992k available (1813k kernel code, 4236k reserved, 614k data, 116k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0890, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 00:04.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:04.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:04.1
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD153AA-00BAA0, ATA DISK drive
hdb: FUJITSU MPD3064AT, ATA DISK drive
blk: queue c03a9d80, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03a9ebc, I/O limit 4095Mb (mask 0xffffffff)
hdc: LTN525, ATAPI CD/DVD-ROM drive
hdd: LG CD-RW CED-8081B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 30064608 sectors (15393 MB) w/2048KiB Cache, CHS=1871/255/63, UDMA(66)
hdb: attached ide-disk driver.
hdb: 12672450 sectors (6488 MB) w/512KiB Cache, CHS=788/255/63
Partition check:
 hda: hda1 hda2 hda3
 hdb: hdb1
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  1210.400 MB/sec
   32regs    :   726.000 MB/sec
   pIII_sse  :  1499.600 MB/sec
   pII_mmx   :  1641.200 MB/sec
   p5_mmx    :  1712.000 MB/sec
raid5: using function: pIII_sse (1499.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding Swap: 506008k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 94M
agpgart: Unsupported Via chipset (device id: 0605), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: LITEON    Model: CD-ROM LTN525     Rev: KL1A
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: LG        Model: CD-RW CED-8081B   Rev: 1.00
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Found IRQ 10 for device 00:0f.0
tulip0: no phy info, aborting mtable build
eth0: Macronix 98715 PMAC rev 37 at 0xa800, 00:50:BF:D7:A8:F6, IRQ 10.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 3 for device 00:04.2
PCI: Sharing IRQ 3 with 00:04.3
PCI: Sharing IRQ 3 with 00:10.0
uhci.c: USB UHCI at I/O 0xb400, IRQ 3
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 3 for device 00:04.3
PCI: Sharing IRQ 3 with 00:04.2
PCI: Sharing IRQ 3 with 00:10.0
uhci.c: USB UHCI at I/O 0xb000, IRQ 3
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
[drm] Initialized powervr 1.0.0 20011022 on minor 0
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 94M
agpgart: Unsupported Via chipset (device id: 0605), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
Here's my /etc/fstab:
Code:
bash-2.05b# cat /etc/fstab
/dev/hda1        swap             swap        defaults         0   0
/dev/hda2        /                ext2        defaults         1   1
/dev/hda3        /home            ext2        defaults         1   2
/dev/hdb1        /downloads       ext2        defaults         1   2
/dev/sr0         /mnt/cdrom       iso9660     noauto,user,ro   0   0
/dev/sr1         /mnt/burner      auto        noauto,user,ro   0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
Here's my lsmod:
Code:
bash-2.05b# lsmod
Module                  Size  Used by    Tainted: P
powervr               489952  18
parport_pc             14724   0
parport                23264   0  [parport_pc]
uhci                   24496   0  (unused)
usbcore                58400   1  [uhci]
tulip                  40928   1
crc32                   2880   0  [tulip]
ide-scsi                9424   0
Here's my info for the cdrom and burner:
Code:
bash-2.05b# ls -l /dev/sr0
brwxrwxrwx    1 root     disk      11,   0 Apr 13  1999 /dev/sr0
bash-2.05b# ls -l /dev/sr1
brwxrwxrwx    1 root     disk      11,   1 Apr 13  1999 /dev/sr1
bash-2.05b# ls -l /dev/cdrom
lrwxrwxrwx    1 root     root            8 Jan  1 04:30 /dev/cdrom -> /dev/sr0
bash-2.05b# ls -l /dev/burner
lrwxrwxrwx    1 root     root            8 Jan  1 04:30 /dev/burner -> /dev/sr1
Output of cdrecord -scanbus:
Code:
bash-2.05b# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        0,0,0     0) 'LITEON  ' 'CD-ROM LTN525   ' 'KL1A' Removable CD-ROM
        0,1,0     1) 'LG      ' 'CD-RW CED-8081B ' '1.00' Removable CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Since merely adding the "append" line to lilo.conf and running /sbin/lilo afterwards didn't seem to do the trick, I followed the steps exactly in the sticky thread for compiling kernels. Unfortunately, this has led to more problems when opening any KDE app (gives error regarding dcopserver unless logged in as root). I'll figure that out later on though if I can get to burning CDs as root. I don't mind the command line at all, but my wife won't have anything to do with it which is why I need a GUI frontend to work. I've downloaded xcdroast and k3b. Gtoaster didn't install at all so I blew that off. Here's what I get after the stuff about creating the k3bPluginFactory, when I run k3b from xterm:

Code:
/dev/sr1 resolved to /dev/sr1
/dev/sr1 is block device (1)
/dev/sr1 seems to be cdrom
bus: 0, id: 1, lun: 0
(K3bCdDevice) /dev/sr1: init()
(K3bCdDevice::ScsiCommand) failed: fd: 11 errorcode: p
(K3bCdDevice) /dev/sr1: GET_CONFIGURATION failed.
(K3bCdDevice::CdDevice) /dev/sr1: dataLen: 60
(K3bCdDevice::CdDevice) /dev/sr1: modesense data:
(K3bCdDevice::CdDevice) /dev/sr1: modeselect TAO data:
(K3bDeviceManager) probing capabilities for device /dev/sr1
(K3bDeviceManager) setting current write speed of device /dev/sr1 to 8
/dev/scd1 resolved to /dev/scd1
/dev/scd1 is block device (1)
/dev/scd1 seems to be cdrom
bus: 0, id: 1, lun: 0
(K3bDeviceManager) dev /dev/scd1 already found
/dev/sr0 resolved to /dev/sr0
/dev/sr0 is block device (0)
/dev/sr0 seems to be cdrom
bus: 0, id: 0, lun: 0
(K3bCdDevice) /dev/sr0: init()
(K3bCdDevice::ScsiCommand) failed: fd: 11 errorcode: p
(K3bCdDevice) /dev/sr0: GET_CONFIGURATION failed.
/dev/scd0 resolved to /dev/scd0
/dev/scd0 is block device (0)
/dev/scd0 seems to be cdrom
bus: 0, id: 0, lun: 0
(K3bDeviceManager) dev /dev/scd0 already found
(K3bDeviceManager) Link: /dev/cdrom -> /dev/sr0
(K3bDeviceManager) Link: /dev/burner -> /dev/sr1
(K3bDeviceManager) scanning fstab: /dev/hda1
(K3bDeviceManager) scanning fstab: /dev/hda2
(K3bDeviceManager) scanning fstab: /dev/hda3
(K3bDeviceManager) scanning fstab: /dev/hdb1
(K3bDeviceManager) scanning fstab: /dev/sr0
(K3bDeviceManager) found device for /dev/sr0: /dev/sr0
(K3bDeviceManager) scanning fstab: /dev/sr1
(K3bDeviceManager) found device for /dev/sr1: /dev/sr1
(K3bDeviceManager) scanning fstab: /dev/fd0
(K3bDeviceManager) scanning fstab: devpts
Could not resolve devpts
could not open device devpts (No such file or directory)
(K3bDeviceManager) scanning fstab: proc
Could not resolve proc
could not open device proc (No such file or directory)
(K3bDeviceManager) scanning fstab: /dev/hda1
(K3bDeviceManager) scanning fstab: /dev/hda2
(K3bDeviceManager) scanning fstab: /dev/hda3
(K3bDeviceManager) scanning fstab: /dev/hdb1
(K3bDeviceManager) scanning fstab: /dev/sr0
(K3bDeviceManager) found device for /dev/sr0: /dev/sr0
(K3bDeviceManager) scanning fstab: /dev/sr1
(K3bDeviceManager) found device for /dev/sr1: /dev/sr1
(K3bDeviceManager) scanning fstab: /dev/fd0
(K3bDeviceManager) scanning fstab: devpts
Could not resolve devpts
could not open device devpts (No such file or directory)
(K3bDeviceManager) scanning fstab: proc
Could not resolve proc
could not open device proc (No such file or directory)
Devices:
------------------------------
Blockdevice:    /dev/sr1
Vendor:         LG
Description:    CD-RW CED-8081B
Version:        1.00
MountDevice:    /dev/sr1
Mountpoint:     /mnt/burner
Write speed:    8
Profiles:       Error
Devicetype:     CD-R; CD-RW; CD-ROM
Writing modes:  SAO; TAO; RAW; SAO/R16; RAW/R96P; RAW/R96R
Reader aliases: /dev/sr1, /dev/scd1, /dev/burner
------------------------------
Blockdevice:    /dev/sr0
Vendor:         LITEON
Description:    CD-ROM LTN525
Version:        KL1A
MountDevice:    /dev/sr0
Mountpoint:     /mnt/cdrom
Write speed:    69
Profiles:       Error
Devicetype:     CD-ROM
Writing modes:  None
Reader aliases: /dev/sr0, /dev/scd0, /dev/cdrom
------------------------------
mcop warning: user defined signal handler found for SIG_PIPE, overriding
(K3bCore) System problems:
          - none -
In k3b, when I try to copy a cd "on the fly" I get the following in the error report:

Code:
WARNING: Could not determine if raw toc data is BCD or HEX. Please report!
WARNING: Using TOC data retrieved with generic method (no multi session support).
WARNING: Use driver option 0x80000 or 0x100000 to assume BCD or HEX data.
Executing power calibration...
Power calibration successful.
Writing track 01 (mode AUDIO/AUDIO )...
Wrote 1 of 523 MB (Buffer  84%).
Wrote 2 of 523 MB (Buffer  71%).
Wrote 3 of 523 MB (Buffer  59%).
Wrote 4 of 523 MB (Buffer  46%).
Wrote 5 of 523 MB (Buffer  34%).
Wrote 6 of 523 MB (Buffer  21%).
Wrote 7 of 523 MB (Buffer   6%).
?: Input/output error.  : scsi sendcmd: no error
CDB:  2A 00 00 00 0D DF 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.057s timeout 180s
ERROR: Write data failed.
ERROR: Writing failed - buffer under run?
ERROR: Writing failed.
ERROR: On-the-fly CD copying failed.

cdrdao comand:
-----------------------
/usr/bin/cdrdao copy --device 0,1,0 --speed 8 --buffers 32 --paranoia-mode 3 --source-device 0,0,0 --source-driver generic-mmc --on-the-fly -n -v 2 --eject --remote 18
This is pretty much just making coasters so far. With xcdroast, the errors were similar, but after the recompiling of the kernel, I don't have enough space left in /tmp to even open it up. Also, my soundcard is not working and not found through alsaconf. Should I just re-install everything from scratch and then recompile (again) but choose other settings? I think the recompile screwed my system up worse than it was before and I have no idea how to get my old kernel back. Any help would be greatly appreciated.
 
Old 01-02-2004, 01:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Kernel command line: auto BOOT_IMAGE=Linux ro root=302 hdc=ide-scsi hdd=ide-scsiide_setup: hdc=ide-scsi
Not quite sure about the double-entry and the idescsiide_setup
bit ...

Quote:
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Well, there may be other issues, but for now
I'd say that either the media are faulty, or the
burner just doesn't like them. I had similar output
with one particular brand on my Sony burner,
the media work fine with a no-name burner on
a different machine.


Cheers,
Tink
 
Old 01-03-2004, 04:50 AM   #3
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
perhaps you put ONLY "hdd=ide-scsi" in your lilo.conf, leave the cdplayer as normal ide device, don't make it a scsi.
 
Old 01-04-2004, 11:30 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Tinkster
Not quite sure about the double-entry and the idescsiide_setup
bit ...


Well, there may be other issues, but for now
I'd say that either the media are faulty, or the
burner just doesn't like them. I had similar output
with one particular brand on my Sony burner,
the media work fine with a no-name burner on
a different machine.


Cheers,
Tink
Thanks for the highlight of that issue. I didn't notice that. The only thing that concerns me is that this burner has been burning on these same discs for about a year on windows. I also tried another brand and got the same problem. As for the double entry thing, I have no clue what's going on there. I think it's something to do with my kernal recompile I did. Nothing is working the same since I did that. I'm considering re-installing as that was my first attempt at recompiling and it was disastrous. My system was working perfectly for me (except for burning) and now it's a total mess. Thanks again.
 
Old 01-04-2004, 11:33 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by krussell
perhaps you put ONLY "hdd=ide-scsi" in your lilo.conf, leave the cdplayer as normal ide device, don't make it a scsi.
Thanks. I tried that way originally but the stupid GUI frontends seem to rather enjoy the scsi emulation. XCDRoast didn't seem to mind the ATAPI cd-rom, but it still gave errors so after persuing these fora for a few days, everything was pointing to a recompile for my kernal. Unfortunately, that didn't work....
 
Old 01-05-2004, 01:11 AM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
You can still boot to your old kernel. After you recompiled the kernel, the other one moves to vmlinuz.old automatically. Edit your lilo.conf and then run /sbin/lilo and you can boot to it.
That might be a start for you...
 
Old 01-05-2004, 10:56 PM   #7
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Vincent_Vega
You can still boot to your old kernel. After you recompiled the kernel, the other one moves to vmlinuz.old automatically. Edit your lilo.conf and then run /sbin/lilo and you can boot to it.
That might be a start for you...
That's what I thought too, but when I do a locate vmlinuz.old nothing is returned. I can locate vmlinuz no problem, but there is no vmlinuz.old to be found on my system. I went to /usr/src/linux and /usr/src/linux-2.4.22 as well as /boot and there is no vmlinuz.old anywhere. I have no idea what happened to it.
 
Old 01-06-2004, 01:32 AM   #8
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Locate might not show it because it uses a database that's updated each night (or you can run 'updateb' manually). However, vmlinuz.old should be in /boot. If not, something went wrong I guess.
What I did (because I'm in a similar situation as you) is I renamed vmlinuz.old (a working kernel) and edited lilo.conf. That way, each time I do a compile I don't lose my good one. Just a thought...
 
Old 01-06-2004, 01:51 AM   #9
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Vincent_Vega
Locate might not show it because it uses a database that's updated each night (or you can run 'updateb' manually). However, vmlinuz.old should be in /boot. If not, something went wrong I guess.
What I did (because I'm in a similar situation as you) is I renamed vmlinuz.old (a working kernel) and edited lilo.conf. That way, each time I do a compile I don't lose my good one. Just a thought...
Understood. I'm recompiling as I'm typing this so hopefully all will be well after it's done. If not, I'll probably bite the bullet and reinstall. I'd like to get the hang of the recompiling process, but my system is so screwy right now that a fresh install, a cp of the working fresh kernel, and then a recompile might be a good idea if this one doesn't go over well. I'll keep you posted though.
 
Old 01-06-2004, 02:10 AM   #10
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
you know all about editing lilo.conf, right? don't make the mistake I made of not running /sbin/lilo! I did a full install after that since my new 2.6 kernel didn't take.
 
Old 01-06-2004, 11:40 AM   #11
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Oh yeah, I definitely know about that. When I first started with 8.1 about 2 years ago I had to re-install about 15 times so I got used to editing lilo.conf and running /sbin/lilo after each edit. LOL Thanks though. When I get home tonight I'll look into re-installing as my recompile last night didn't do anything for me. It did, however, speed up my kernal some. For some reason, no matter if I select N for everything other than Y (no M selected) in make menuconfig, when I get to the "make modules" section of the sticky, I end up making all the modules I selected N for anyway, so it didn't help me out at all. I cancelled the make modules section and my kernal was 10x faster than before. However, it now can't find my sound card module (which I compiled in directly) and when running alsaconf it doesn't see ANY PCI cards at all. So, rather than messing around with recompiling again, I'm going to re-install, then cp my good working kernel, then recompile with make oldconfig to give me only the options that aren't currently in my kernel. Hopefully that will do the trick.
 
Old 01-06-2004, 12:50 PM   #12
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
I might try that to speed mine up. I couldn't get alsa to work at all - ever! I have a Creative SB 5.1 sound card and it never worked. I changed to OSS and it came up running immediately. I'm not sure what the difference is but it sounds great with OSS and it saved me a lot of time.
Good luck and let us know how it turns out.
 
Old 01-06-2004, 01:42 PM   #13
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Well, if you recompile the kernel, make sure you back it up first! I followed the instructions on the sticky to the letter and I NEVER got my vmlinuz.old ever. When I get to lilo boot screen, I have no other options other than Linux. Also, when you do the recompile, take notice of all the stuff you said "N" to during make menuconfig. When you do the "make modules" command, check to see if any of those you said N to are being made. Most notably for me was all the junk about the ham radio and amateur radio stuff I DEFINITELY said N to. The first time I recompiled I just let it do it's thing. I rebooted, and my system was SLOW and only root had permission to do anything in X other than play games. Every user (including root) got dcopserver errors when opening ANYTHING in X. When trying to open xcdroast whether user or root I got errors saying my /tmp was too full to open it up. I deleted everything in /tmp and tried again--same error. Checked /tmp for the user and root profile, deleted, same thing happened. This has happened on the first recompile and I haven't checked yet for these problems with the 2nd recompile.

BUT, for the sound problem you have, when I first installed Slack 9.1 with 2.4.22 kernel, it detected my sound card with no problems. However, I had no sound. I checked the permissions of /dev/dsp to make sure everyone had access to use it and then ran alsaconf as root. I was able to un-mute all the stuff I needed to and increase/decrease the volume levels as I chose. My sound worked perfectly. Everything was great until the recompile. I'm going to take the "easy way out" I think and re-install. I got my Slack 8.1 system working exactly the way I wanted it after tinkering for months, with Slack 9.1 I had it running perfectly (except for my cd burner--hence the recompile) right out of the box.

Anyway, hopefully your recompile goes better than mine. Don't forget to back up your old kernel first!
 
Old 01-06-2004, 01:59 PM   #14
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889

Rep: Reputation: 123Reputation: 123
Just a quick one. Gotta go to work

I burn with an LG and relevant snippets from my box are pasted in below with
notes commented in by me. Maybe you'd like to have a look

"On the fly"? Do you me burning from the liteon to the LG?

Have you tried to burn from a file on your hardrive?

It'd be a good test anyway to try just copying a disk from your LG onto your hd
and then burning back from your hd to a disk with your LG. I think that'd be
halfway between nothing and burning on the fly.

This is what I use to copy and burn disks it works with ISO's music cd's data
disks, anything so far I've actually made up a script for it which opens for and
ejects cds, prompts in case I want to burn a second disk or delete the data
file etc. Path to the file crated by dd must be changed to suit your box and
where you have space to park say 700 Mb of file.

dd if=/dev/scd0 of=/mnt/hda8/burn.data
cdrecord dev=0,0,0 speed=4 -v -eject /mnt/hda8/burn.data

I have used these commands and the script successfully with slack 8.1, 9 and 9.1 using the standard stock bare.i kernel.

Also have you tried removing the liteon and setting the box up with only the LG?
Just disconnect the liteon's ide cable and edit appropriately.


My configuration:

#this line comes from my dmesg
hdb: HL-DT-ST GCE-8400B, ATAPI CD/DVD-ROM drive

# output when I run cdrecord -scanbus
root@rick:/mnt/hda8/home/rick# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8400B ' '1.02' 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) *


# output from lsmod
ide-scsi 9424 0

#this is my fstab I have also used sr0 instead of scd0 they both work
#I have set up so /dev/cdrom points to /dev/scd0

/dev/scd0 /mnt/cdrw auto noauto,owner,users 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,users,ro 0 0

#this is my lilo.conf less a couple stanzas
boot=/dev/hda
vga=normal
default=slack-9.1
prompt
nowarn
timeout=300

image = /mnt/hda5/boot/vmlinuz
root = /dev/hda5
label=slack-9.0
append="devfs=mount hdb=ide-scsi"
vga=791
read-only

I hope this helps

Cheers
Rick

Last edited by justwantin; 01-06-2004 at 02:05 PM.
 
Old 01-06-2004, 02:45 PM   #15
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Thanks! I'll give it a go tonight when I get home from work. Hopefully it works out. I'll definitely keep everyone updated. Hopefully this thread will be of use for someone else in the future.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
K3B Install issue xcoaster1 Linux - Software 2 04-03-2005 10:51 AM
Fix for K3B issue (kernel patch) cb9fl Linux - Software 2 03-07-2005 03:06 PM
K3B and xcdroast not working pksaji Mandriva 2 03-01-2005 06:53 AM
K3b. No writer after kernel 2.6.8.1 compile. mooreted Linux - Software 6 02-27-2005 08:26 AM
k3b and scsi emulation in kernel 2.6x taek Slackware 10 10-03-2004 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration