Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with gentoo-dev-sources-2.6.8
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
AtomicDog
n00b
n00b


Joined: 03 Jan 2003
Posts: 40
Location: Connecticut, USA

PostPosted: Wed Aug 18, 2004 3:24 am    Post subject: Reply with quote

nekonoko wrote:

It's for 2.6.8.1 but the driver in question is the same in both. After killing those two lines (just did it with vi) everything is fine as a regular user:

Code:
neko@misaki ~ $ cdrecord -checkdrive --dev=/dev/cdroms/cdrom0
Cdrecord-Clone 2.01a36 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling
cdrecord: Warning: Running on Linux-2.6.8-gentoo
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/cdroms/cdrom0'
devname: '/dev/cdroms/cdrom0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SAMSUNG '
Identifikation : 'CDRW/DVD SM-352B'
Revision       : 'T804'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R


Have you tried writing to a CDR though? I've applied CK's patch and my cdrecord output is the same as yours, but I cannot burn a cd (at least with k3b, but the errors are cdrecord related).
Back to top
View user's profile Send private message
nekonoko
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 90
Location: Pleasanton, CA

PostPosted: Wed Aug 18, 2004 5:33 am    Post subject: Reply with quote

Interesting - I just burned a CD-R with K3b totaling 600MB and everything worked as it should. What errors are you getting?
_________________
Ecchi nano wo ikenai to omoimasu!
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Wed Aug 18, 2004 5:50 am    Post subject: Reply with quote

So does any1 know how to get bootsplash back?
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
ashtophet
Guru
Guru


Joined: 08 Aug 2004
Posts: 397

PostPosted: Wed Aug 18, 2004 7:04 am    Post subject: Reply with quote

galiza_ceive wrote:
i am using the bootsplash patch --> http://www.bootsplash.de/files/bootsplash-3.1.4-sp3-2.6.8.1.diff

cfr. www.bootsplash.de
Back to top
View user's profile Send private message
sillynazgul
n00b
n00b


Joined: 18 Aug 2004
Posts: 2

PostPosted: Wed Aug 18, 2004 7:20 am    Post subject: Re: usb detect problems Reply with quote

Andric wrote:
I am getting a lock up when I boot into 2.6.8 - it hangs during the usb detection. old 2.6.7 kernel is still working fine.


USB hangs randomly at boot as well as shutdown for me. Boot gentoo-dev-2.6.7, and it works without a hitch.
Back to top
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Wed Aug 18, 2004 9:02 am    Post subject: Reply with quote

sindre wrote:
Somewhere between vanilla 2.6.8.1, cdrecord/crdao? and k3b there is a grave memory-leak bug which I encountered two minutes ago trying to burn a cd with k3b as root. In the middle of burning an audio-cd from wav-files the kernel started swapping like crazy, and the burn failed of course. Everything went to a crawl. After killing everything and going into single user mode, 1GB of RAM was used (-buffers/cache) which no process claimed. Only way to free the memory was to reboot. Trying to use the computer after going into single user and back failed miserably as I had to rely completely on whatever was left of my swap.
More on this here.
Back to top
View user's profile Send private message
nekonoko
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 90
Location: Pleasanton, CA

PostPosted: Wed Aug 18, 2004 10:30 am    Post subject: Reply with quote

sindre wrote:
More on this here.


Ah, nice - I patched this in as well :)
_________________
Ecchi nano wo ikenai to omoimasu!
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Wed Aug 18, 2004 1:42 pm    Post subject: Reply with quote

Same VFAT thing that does NOT work here.
Using 2.6.8.1-ck1

Code:
codepage cp437 not found


Keeps on complaining about this thing...
hm.
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
naseweis
Apprentice
Apprentice


Joined: 04 Apr 2003
Posts: 159
Location: germany

PostPosted: Wed Aug 18, 2004 2:17 pm    Post subject: Reply with quote

Jefklak: You need to enable support for that in your kernel config under "filesystems ---> Native Language Support".
You can set up the right (windows) codepage for your country under "filesystems ---> DOS/FAT/NT Filesystems"
You might as well need to load the 'nls_cpxxx' module manually. On my system, it wasn't autoloaded by the fat drivers.
_________________
Nothing makes a person more productive than the last minute.
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Wed Aug 18, 2004 2:37 pm    Post subject: Reply with quote

naseweis wrote:
Jefklak: You need to enable support for that in your kernel config under "filesystems ---> Native Language Support".
You can set up the right (windows) codepage for your country under "filesystems ---> DOS/FAT/NT Filesystems"
You might as well need to load the 'nls_cpxxx' module manually. On my system, it wasn't autoloaded by the fat drivers.


Thanks I didn't have any native language support at all :)
Why is this needed in 2.6.8 and not in 2.6.7?
I never enabled one of those things...
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
HermanR
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 293
Location: The Netherlands

PostPosted: Wed Aug 18, 2004 9:46 pm    Post subject: Reply with quote

After fixing the VFAT-thing in my kernel config (thanks all of you!), I just installed gentoo-dev-sources-2.6.8-r1, which introduces the vesafb-tng framebuffer.

The new framebuffer works okay (I now have 1280x1024@85 instead of 1024x768@60!), but still no bootsplash.

The entry in my grub.conf for this kernel is:
Code:
title=Gentoo Linux 2.6.8 (gentoo-dev-sources)
root (hd1,0)
kernel (hd1,0)/kernel-2.6.8-gentoo-r1 root=/dev/hdg5 video=vesafb:mtrr,ywrap,1280x1024-32@85 splash=silent
initrd=/boot/initrd-1280x1024

Why doesn't bootsplash work? Any suggestions?
Back to top
View user's profile Send private message
anthonyr
n00b
n00b


Joined: 28 Jan 2004
Posts: 26
Location: Calgary

PostPosted: Wed Aug 18, 2004 11:48 pm    Post subject: Re: K3B known issue Reply with quote

MrJ412 wrote:
Just thought I would post this from the www.k3b.org News page:

Quote:

Do not use Kernel 2.6.8

A patch that was introduced into the kernel shortly before the 2.6.8 release makes K3b and also the dvd+rw-tools unusable on Linux (unless run as root but that is not recommended). The very important GET CONFIGURATION MMC command is rejected by the kernel for reasons I cannot see and writing commands like MODE SELECT also fail (K3b cannot detect CD writers without it) even when the device is opened O_RDWR. Until this issue has been solved I strongly recommend to stick to kernel version 2.6.7.


blergh........

I really wish there was a stable codebase built on the 2.6 kernel. The kernel developers say it's up to the distros to make a stable kernel now, but that is a huge job, and it takes a lot of time to do it well. I don't know if it's even within the capabilities of anyone smaller than SuSE.

We're in trouble when "better than Windows" is a difficult target. :(
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Thu Aug 19, 2004 12:28 am    Post subject: Reply with quote

Hell, I couldn't even boot the damn 2.6.8 kernel. It couldn't find my hard drive, a Maxtor SATA and ICH chipset. Root partition should be /dev/hde3, but it can't find it. I tried a couple other drive letters unsuccesfully, and decided to fall back to 2.6.7-r13.

Why is 2.6.8 so fouled up in so many ways? It doesn't even seem close to useable.
Back to top
View user's profile Send private message
anthonyr
n00b
n00b


Joined: 28 Jan 2004
Posts: 26
Location: Calgary

PostPosted: Thu Aug 19, 2004 1:13 am    Post subject: Reply with quote

gcasillo wrote:
Hell, I couldn't even boot the damn 2.6.8 kernel. It couldn't find my hard drive, a Maxtor SATA and ICH chipset. Root partition should be /dev/hde3, but it can't find it. I tried a couple other drive letters unsuccesfully, and decided to fall back to 2.6.7-r13.

Why is 2.6.8 so fouled up in so many ways? It doesn't even seem close to useable.


It's the first kernel released under the "we don't need no stinkin' stable branch" philosophy. Basically, they don't want to fork off a 2.7, so they're keeping 2.6 as the development kernel. It's now up to the distros to maintain a stable kernel. Unfortunately, this is fundementally opposed to the Gentoo philosphy, which assumes that third party updates can be relied upon to be not broken.

This is the second 2.6 kernel that's messed up CD burning for me, and there have been misc other problems. It's pathetic.
Back to top
View user's profile Send private message
pengu
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 114
Location: Germany

PostPosted: Thu Aug 19, 2004 1:15 am    Post subject: Reply with quote

gcasillo wrote:
Hell, I couldn't even boot the damn 2.6.8 kernel. It couldn't find my hard drive, a Maxtor SATA and ICH chipset. Root partition should be /dev/hde3, but it can't find it. I tried a couple other drive letters unsuccesfully, and decided to fall back to 2.6.7-r13.

Why is 2.6.8 so fouled up in so many ways? It doesn't even seem close to useable.


I noticed this first in 2.6.7-mm4
I could't boot my system.
So I changed all hda* stuff in /etc/fstab to sda*
Same Thing in 2.6.8

Code:

Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: SAMSUNG SP1614C  Rev: SW10
  Type:   Direct-Access                    ANSI SCSI revision: 05


Code:

        *-storage
             description: RAID bus controller
             product: VIA VT6420 SATA RAID Controller
             vendor: VIA Technologies, Inc.
             physical id: f
             bus info: pci@00:0f.0
             version: 80
             clock: 33MHz
             capabilities: storage bus_master cap_list
             configuration: driver=sata_via
             resources: ioport:bc00-bc07 ioport:c000-c003 ioport:c400-c407 ioport:c800-c803 ioport:cc00-cc0f ioport:d000-d0ff irq:185
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Aug 19, 2004 1:33 am    Post subject: Reply with quote

I am using the gentoo-dev-sources-r1 (2.6.8.1)
I am also using udev.

My fstab file has vfat for my windows partition and it mounts fine every time.
K3B has no problems so far with my Sony DRU500A dvd burner.
Gensplash seems to be working too.

I am using the alsa-driver-1.0.5a, not the one included in the kernel. The only problem I have is when alsasound is activated on boot, the machine stops. Its not hung, has the cursor continues to blink in on the framebuffer screen, but never go any further.
Back to top
View user's profile Send private message
Ashe
n00b
n00b


Joined: 14 Nov 2003
Posts: 34
Location: Sheffield, UK

PostPosted: Thu Aug 19, 2004 7:27 am    Post subject: Reply with quote

So lets see.. what's currently broken for me with gentoo-dev-sources 2.6.8?

1) Cdrecord won't burn as user. This is a kernel problem mentioned above, but I seem to remember reading somewhere that it was a deliberate 2.6.8 design decision? I dunnow.

2) supermount removed from gentoo-dev-sources patchset. This is pretty much the other killer for me as far as 2.6.8 is concerned. Submount refuses to work properly unless I set the kernel source to writeable (which is a security risk and a half) and kind of defeats the point of why everyone says we shouldn't be using kernelspace automounting anyway. Ivman is just plain broken for me, insofar as it doesn't unmount cd's properly, partly design decisions in ivman, partly still odd bugs in ivman.

so hey ho, back to 2.6.7 we go.
_________________
"Every problem in the universe can be solved by finding the right long-haired prettyboy, and beating the crap out of him."
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Thu Aug 19, 2004 2:40 pm    Post subject: Reply with quote

gcasillo wrote:
Hell, I couldn't even boot the damn 2.6.8 kernel. It couldn't find my hard drive, a Maxtor SATA and ICH chipset. Root partition should be /dev/hde3, but it can't find it. I tried a couple other drive letters unsuccesfully, and decided to fall back to 2.6.7-r13.

Why is 2.6.8 so fouled up in so many ways? It doesn't even seem close to useable.


It's probably your own fault, because you didn't included a SATA driver in your kernel. Please choose either CONFIG_BLK_DEV_IDE_SATA (IDE-like driver, maps your drives to hdx) or CONFIG_SCSI_SATA (SCSI driver, maps your drives to sdx).
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 480

PostPosted: Thu Aug 19, 2004 4:02 pm    Post subject: Reply with quote

anthonyr wrote:

It's the first kernel released under the "we don't need no stinkin' stable branch" philosophy. Basically, they don't want to fork off a 2.7, so they're keeping 2.6 as the development kernel. It's now up to the distros to maintain a stable kernel. Unfortunately, this is fundementally opposed to the Gentoo philosphy, which assumes that third party updates can be relied upon to be not broken.

This is the second 2.6 kernel that's messed up CD burning for me, and there have been misc other problems. It's pathetic.


i've got to agree with this here. the kernel devs basically said we don't have anyone who wants to maintain a "stable" series for ya'll, so we'll let the distros do it? when there's major issues with a 2.6.8.1 release, it's not a good sight.

my laptop would boot ok, i think unless i added the ndiswrapper module, then if the module was loaded, and my wifi card was turned on, i got a big fat kernel panic, and had to reboot. joy, joy, joy
Back to top
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Thu Aug 19, 2004 7:17 pm    Post subject: Reply with quote

Quote:
It's probably your own fault, because you didn't included a SATA driver in your kernel. Please choose either CONFIG_BLK_DEV_IDE_SATA (IDE-like driver, maps your drives to hdx) or CONFIG_SCSI_SATA (SCSI driver, maps your drives to sdx).

I do not enable SCSI whatsoever. It is not needed, because I use the Intel chipset driver, PIIX I think (I use Intel mobos). Reliably. I have been doing this since the 2.6 test kernels and have written numerous posts regarding this.

I didn't know about CONFIG_BLK_DEV_IDE_SATA. Is this new? If not, where does this show up in the menu? Block devices?
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Fri Aug 20, 2004 8:31 am    Post subject: Reply with quote

gcasillo wrote:
I do not enable SCSI whatsoever. It is not needed, because I use the Intel chipset driver, PIIX I think (I use Intel mobos).


You should. CONFIG_SCSI_SATA is the encouraged method to operate SATA disks. The alternative CONFIG_BLK_DEV_IDE_SATA (Device Drivers -> ATA/ATAPI/MFM/RLL support -> Support for SATA) is depreciated. That's the reason this config option is new, so you can turn it off :wink:
Back to top
View user's profile Send private message
darkangael
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 132

PostPosted: Sat Aug 21, 2004 5:59 pm    Post subject: Reply with quote

Quote:
Submount refuses to work properly unless I set the kernel source to writeable (which is a security risk and a half) and kind of defeats the point of why everyone says we shouldn't be using kernelspace automounting anyway.


The setting kernel as "writable" thing is actually just setting an environment variable that tells portage that you want it to change your kernel. You can change that back straight after you install submount. As far as I know it does not modify any permissions on the actual sources themselves.
Back to top
View user's profile Send private message
pengu
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 114
Location: Germany

PostPosted: Tue Aug 24, 2004 12:25 am    Post subject: Reply with quote

Code:

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.6a.
Compiled on Aug 24 2004 for kernel 2.6.8.1-mm2.


seems to work now ;-)
Back to top
View user's profile Send private message
Chonhulio
n00b
n00b


Joined: 04 Mar 2003
Posts: 6
Location: Germany

PostPosted: Tue Aug 24, 2004 9:43 pm    Post subject: Reply with quote

About the cd-recording issues:

The problem is, that Linux' handling of generic-SCSI devices (this includes ATAPI, USB and FireWire CD/DVD-recorders or tape drives) is insecure.
If /dev/hdc is a CD-ROM or CD-RW device, any user with mere read access to /dev/hdc can overwrite the drive's firmware and completely ruin the drive.
To fix this, a command filter was introduced shortly before 2.6.8 was released. This filter is rather pointless, has obviously never been tested and will never achieve security and functionality at the same time. Currently, it just breaks a lot of apps.

See this thread for a discussion and a few fixes proposed by me and others:
http://marc.theaimsgroup.com/?t=109260648900001&r=1&w=2

However, up to now, the only reliable fix is to disable filtering completely. (As proposed by me and frowned upon by Alan Cox).
In the future applications need to be fixed (This means setuid-root supoort. k3b is in a truly bad shape for this). Additionally the kernel should provide a way to configure filters per device to support legacy apps and special cases.

The additional issues concerning audio-cds are real bugs. Con Kolivas has patches:
http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/bio_uncopy_user-mem-leak.patch
http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/bio_uncopy_user2.diff
Back to top
View user's profile Send private message
pengu
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 114
Location: Germany

PostPosted: Tue Aug 24, 2004 9:56 pm    Post subject: Reply with quote

Chonhulio wrote:
About the cd-recording issues:

The problem is, that Linux' handling of generic-SCSI devices (this includes ATAPI, USB and FireWire CD/DVD-recorders or tape drives) is insecure.
If /dev/hdc is a CD-ROM or CD-RW device, any user with mere read access to /dev/hdc can overwrite the drive's firmware and completely ruin the drive.
To fix this, a command filter was introduced shortly before 2.6.8 was released. This filter is rather pointless, has obviously never been tested and will never achieve security and functionality at the same time. Currently, it just breaks a lot of apps.

See this thread for a discussion and a few fixes proposed by me and others:
http://marc.theaimsgroup.com/?t=109260648900001&r=1&w=2

However, up to now, the only reliable fix is to disable filtering completely. (As proposed by me and frowned upon by Alan Cox).
In the future applications need to be fixed (This means setuid-root supoort. k3b is in a truly bad shape for this). Additionally the kernel should provide a way to configure filters per device to support legacy apps and special cases.

The additional issues concerning audio-cds are real bugs. Con Kolivas has patches:
http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/bio_uncopy_user-mem-leak.patch
http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ck4/split-out/bio_uncopy_user2.diff


yes, you're right.

so I've tried 2.6.9-rc1 but the filter is still applied but it solved many other problems.

It was possible to apply the cmdfilter-drop.patch which is included in 2.6.8-gentoo-r2 :-)


Code:

...
File to patch: /usr/src/linux/drivers/block/scsi_ioctl.c
patching file /usr/src/linux/drivers/block/scsi_ioctl.c
Hunk #1 succeeded at 219 (offset 26 lines).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum