[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please test the new kernel (2.6.18.dfsg.1-9)



On Thu, Jan 25, 2007 at 10:28:12PM -0800, Jurij Smakov wrote:
> Hi,
> 
> A set of new kernel images has been uploaded to unstable a couple of 
> days ago, including
> 
> linux-image-2.6.18-4-sparc32_2.6.18.dfsg.1-9_sparc.deb            

I'm not sure if this is due to upgrading to 2.6.18-4, but 'eth0' stopped
working recently on my SS5.  I did a bit of digging in /sys and noticed:

# ls -l /sys/bus/sbus/drivers/sunlance/*/
/sys/bus/sbus/drivers/sunlance/sbus[ffd402d8]/:
total 0
lrwxrwxrwx 1 root root    0 Jan 30 18:46 bus -> ../../../../bus/sbus
-r--r--r-- 1 root root 4096 Jan 30 18:22 devspec
lrwxrwxrwx 1 root root    0 Jan 30 18:22 driver -> ../../../../bus/sbus/drivers/sunlance
lrwxrwxrwx 1 root root    0 Jan 30 18:22 net:eth0_rename -> ../../../../class/net/eth0_rename
lrwxrwxrwx 1 root root    0 Jan 30 18:22 subsystem -> ../../../../bus/sbus
--w------- 1 root root 4096 Jan 30 18:46 uevent

/sys/bus/sbus/drivers/sunlance/sbus[ffd426d0]/:
total 0
lrwxrwxrwx 1 root root    0 Jan 30 18:45 bus -> ../../../../bus/sbus
-r--r--r-- 1 root root 4096 Jan 30 18:22 devspec
lrwxrwxrwx 1 root root    0 Jan 30 18:22 driver -> ../../../../bus/sbus/drivers/sunlance
lrwxrwxrwx 1 root root    0 Jan 30 18:22 net:eth1 -> ../../../../class/net/eth1
lrwxrwxrwx 1 root root    0 Jan 30 18:22 subsystem -> ../../../../bus/sbus
--w------- 1 root root 4096 Jan 30 18:45 uevent

When I renamed 'eth0' to 'eth0_rename' in /etc/network/interfaces, it
worked!  Any idea what's going on here?

Also, I can't install 2.6.18-3 as yaird is failing:

# apt-get install linux-image-2.6.18-3-sparc32
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  linux-doc-2.6.18
The following NEW packages will be installed:
  linux-image-2.6.18-3-sparc32
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/6330kB of archives.
After unpacking 18.0MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package linux-image-2.6.18-3-sparc32.
(Reading database ... 55540 files and directories currently installed.)
Unpacking linux-image-2.6.18-3-sparc32 (from .../linux-image-2.6.18-3-sparc32_2.6.18-7_sparc.deb) ...
Done.
Setting up linux-image-2.6.18-3-sparc32 (2.6.18-7) ...

 Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-3-sparc32/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.18-3-sparc32/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: unrecognised device: /sys/devices/root
yaird error: unrecognised device: /sys/devices/root/ffd2c458
yaird error: unrecognised device: /sys/devices/root/ffd2c458/ffd2c690
yaird warning: unrecognised legacy device: /sys/devices/root/ffd2c458/ffd2c690/serio0; trying sunkbd
yaird error: unrecognised device: /sys/devices/sbus0
yaird error: unrecognised device: /sys/devices/sbus0/sbus[ffd3ce48]
yaird error: unrecognised device: /sys/devices/sbus0/sbus[ffd3ce48]/sbus[ffd3d224]
yaird error: there were errors in this run, aborting now without output (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.18-3-sparc32 (--configure):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 linux-image-2.6.18-3-sparc32
E: Sub-process /usr/bin/dpkg returned an error code (1)
# ls -l /sys/devices/root/ffd2c458/ffd2c690/driver
lrwxrwxrwx 1 root root 0 Jan 30 19:20 /sys/devices/root/ffd2c458/ffd2c690/driver -> ../../../../bus/of/drivers/zs
# ls /sys/devices/sbus0/sbus\[ffd3ce48\]/sbus\[ffd3d224\]/driver -l lrwxrwxrwx 1 root root 0 Jan 30 19:22
/sys/devices/sbus0/sbus[ffd3ce48]/sbus[ffd3d224]/driver -> ../../../../bus/sbus/drivers/esp

Other than that, I've had no problems.
-- 
Stuart Brady



Reply to: