Bug#1014113: hyperv-daemons fails to reinstall after remove (works on purge)

2022-06-30 Thread Florian Lohoff

Package: hyperv-daemons
Version: 5.10.120-1

Hi,
when "removing" the hyperv-daemons and reinstalling then fails to
reinstall:

root@netbox:~# dpkg -r hyperv-daemons
(Reading database ... 49810 files and directories currently installed.)
Removing hyperv-daemons (5.10.120-1) ...
root@netbox:~# apt-get install hyperv-daemons
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  hyperv-daemons
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/485 kB of archives.
After this operation, 575 kB of additional disk space will be used.
[master 5a02e71] saving uncommitted changes in /etc prior to apt run
 3 files changed, 3 insertions(+)
 create mode 12 systemd/system/hv-fcopy-daemon.service
 create mode 12 systemd/system/hv-kvp-daemon.service
 create mode 12 systemd/system/hv-vss-daemon.service
Selecting previously unselected package hyperv-daemons.
(Reading database ... 49799 files and directories currently installed.)
Preparing to unpack .../hyperv-daemons_5.10.120-1_amd64.deb ...
Unpacking hyperv-daemons (5.10.120-1) ...
Setting up hyperv-daemons (5.10.120-1) ...
Failed to try-restart hv-fcopy-daemon.service: Unit hv-fcopy-daemon.service is 
masked.
Failed to try-restart hv-kvp-daemon.service: Unit hv-kvp-daemon.service is 
masked.
Failed to try-restart hv-vss-daemon.service: Unit hv-vss-daemon.service is 
masked.
dpkg: error processing package hyperv-daemons (--configure):
 installed hyperv-daemons package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 hyperv-daemons
E: Sub-process /usr/bin/dpkg returned an error code (1)






t@netbox:~# dpkg --purge hyperv-daemons
(Reading database ... 49810 files and directories currently installed.)
Removing hyperv-daemons (5.10.120-1) ...
Purging configuration files for hyperv-daemons (5.10.120-1) ...
root@netbox:~# apt-get install hyperv-daemons
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  hyperv-daemons
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/485 kB of archives.
After this operation, 575 kB of additional disk space will be used.
Selecting previously unselected package hyperv-daemons.
(Reading database ... 49796 files and directories currently installed.)
Preparing to unpack .../hyperv-daemons_5.10.120-1_amd64.deb ...
Unpacking hyperv-daemons (5.10.120-1) ...
Setting up hyperv-daemons (5.10.120-1) ...

Flo
-- 
Florian Lohoff f...@zz.de
  Any sufficiently advanced technology is indistinguishable from magic.


signature.asc
Description: PGP signature


Bug#933207: firmware-misc-nonfree: Please include DVBSky S960/S860 / Montage Technology M88DS3103 firmware

2019-07-27 Thread Florian Lohoff
Package: firmware-misc-nonfree
Version: 20190114-1
Severity: wishlist

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,
would you mind including the firmware for this device:

[   15.093992] usb 1-2: new high-speed USB device number 4 using xhci_hcd
[   15.242748] usb 1-2: New USB device found, idVendor=0572, idProduct=6831, 
bcdDevice= 0.00
[   15.242764] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   15.242773] usb 1-2: Product: S960
[   15.242781] usb 1-2: Manufacturer: Bestunar
[   15.242789] usb 1-2: SerialNumber: 20120511
[   15.525991] usb 1-2: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[   15.526612] usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport 
stream to the software demuxer
[   15.52] dvbdev: DVB: registering new adapter (DVBSky S960/S860)
[   15.527921] usb 1-2: dvb_usb_v2: MAC address: 00:17:42:54:96:0c
[   15.548129] i2c i2c-10: Added multiplexed i2c bus 11
[   15.617279] ts2020 11-0060: Montage Technology TS2022 successfully identified
[   15.617358] usb 1-2: DVB: registering adapter 0 frontend 0 (Montage 
Technology M88DS3103)...
[   15.657955] Registered IR keymap rc-dvbsky
[   15.658119] rc rc0: DVBSky S960/S860 as 
/devices/pci:00/:00:14.0/usb1/1-2/rc/rc0
[   15.658314] input: DVBSky S960/S860 as 
/devices/pci:00/:00:14.0/usb1/1-2/rc/rc0/input12
[   15.659565] rc rc0: lirc_dev: driver dvb_usb_dvbsky registered at minor = 0, 
scancode receiver, no transmitter
[   15.659578] usb 1-2: dvb_usb_v2: schedule remote query interval to 300 msecs
[   15.659588] usb 1-2: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized 
and connected
[   15.659695] usbcore: registered new interface driver dvb_usb_dvbsky

Trying to use the device requests these files:

[  269.506258] m88ds3103 10-0068: found a 'Montage Technology M88DS3103' in 
cold state
[  269.506317] m88ds3103 10-0068: firmware: failed to load 
dvb-demod-m88ds3103.fw (-2)
[  269.506330] firmware_class: See https://wiki.debian.org/Firmware for 
information about missing firmware
[  269.506340] m88ds3103 10-0068: Direct firmware load for 
dvb-demod-m88ds3103.fw failed with error -2
[  269.506346] m88ds3103 10-0068: firmware file 'dvb-demod-m88ds3103.fw' not 
found
[  401.740293] m88ds3103 10-0068: found a 'Montage Technology M88DS3103' in 
cold state
[  401.740333] m88ds3103 10-0068: firmware: failed to load 
dvb-demod-m88ds3103.fw (-2)
[  401.740348] m88ds3103 10-0068: Direct firmware load for 
dvb-demod-m88ds3103.fw failed with error -2
[  401.740353] m88ds3103 10-0068: firmware file 'dvb-demod-m88ds3103.fw' not 
found

I downloaded the firmware files from the Vendors website:

http://www.dvbsky.net/Support_linux.html
http://www.dvbsky.net/download/linux/firmware.zip

[  531.408407] m88ds3103 10-0068: found a 'Montage Technology M88DS3103' in 
cold state
[  531.408546] m88ds3103 10-0068: firmware: direct-loading firmware 
dvb-demod-m88ds3103.fw
[  531.408802] m88ds3103 10-0068: downloading firmware from file 
'dvb-demod-m88ds3103.fw'
[  532.396040] m88ds3103 10-0068: found a 'Montage Technology M88DS3103' in 
warm state
[  532.396054] m88ds3103 10-0068: firmware version: 3.B

USB DVB-S2 Card works without a problem with that firmware.

Flo



- -- System Information:
Debian Release: 10.0
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

firmware-misc-nonfree depends on no packages.

firmware-misc-nonfree recommends no packages.

Versions of packages firmware-misc-nonfree suggests:
ii  initramfs-tools  0.133

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEdb9o7oebX2papQ/KkN1BIMsJ8i8FAl08aQoACgkQkN1BIMsJ
8i8iIA//V2SKtbBZh8HnKlO0wCT9RY/FHN9fHSomZqEcNWTQVwjetEDWuD+iZYYy
aVqmg/WGzHWSvfogmgufrON0nJjHyvtrZYZkrxqyBU0wPaHf9RGV015ZH7YgZ7Lc
X0r0D+CMFR84zWSuU5cwvv6w66xrvW7xTSbgopSsXpowOdK/8QniJStw4tj340Qv
0B1p4myjub3f6Yo0m8uoi4x4uI5RPz4yzO6eksWyETkddlIXghsuQAVXiAJ1QVI7
l1t9xIXq+kLwp5YbGGKDQC7M9UET3cpZiDDC/EbPliqzJpw0RC33VQt0ILB0sK8f
6xuzOr1OzPtJqGrBqaNbz6FuYeFl+YBYykG/6ZhQUh7Ivtj3hnLXgqHRIMSrwhOa
fYIgMi5feGue/YZatRM7oMBwd86rhPnaPjEPzfD6zlAdQxRCP/Q8QSm/BJ2vmbnw
uTYFOCm4Jap8jNIE1fTxInj7iQ2zUhoLeCb40ojy6nE633tHe6bFoXDzKOXOyljt
I7jE1TBNoMY90EMUMjRcm0k7jaqk2nCwgzKVPUib0yglTtzxekuCBXcN1+zkWe5c
tTGvWgjGc3kfapk5dgFCGx1q3dMaUxyNfUpuRAxXudGK7lL5Ok3fhmJ0+ZbE7TAy
TA81FaL10B/apT33Isz/gmAVCEx8xr0bIZkQRqiu1md99YnnV9M=
=VfCp
-END PGP SIGNATURE-



Bug#886841: linux-image-4.9.0-5-amd64: bluetooth list corruption bt_sock_poll

2018-01-10 Thread Florian Lohoff
Package: src:linux
Version: 4.9.65-3+deb9u2
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I had a Kernel crash today while i was in the lunch break. The kernel
crashdump stored dmesg and a kernel crash file. The only connection
should have been a bluetooth laser mouse as seen from the dmesg

[...]
[82522.702593] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[82530.496658] NMI watchdog: enabled on all CPUs, permanently consumes one 
hw-PMU counter.
[82530.525398] EXT4-fs (dm-1): re-mounted. Opts: 
errors=remount-ro,data=ordered,commit=0
[82530.562043] EXT4-fs (sda1): re-mounted. Opts: 
block_validity,barrier,user_xattr,acl
[82530.892480] thinkpad_acpi: EC reports that Thermal Table has changed
[83042.675249] hid-generic 0005:17EF:6038.0006: unknown main item tag 0x0
[83042.675381] input: ThinkPad Bluetooth Laser Mouse as 
/devices/pci:00/:00:14.0/usb2/2-7/2-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6038.0006/input/input26
[83042.675583] hid-generic 0005:17EF:6038.0006: input,hidraw0: BLUETOOTH HID 
v2.00 Mouse [ThinkPad Bluetooth Laser Mouse] on e8:2a:ea:bd:d9:c6
[84211.260744] wlp3s0: deauthenticated from 68:86:a7:46:02:f7 (Reason: 
7=CLASS3_FRAME_FROM_NONASSOC_STA)
[84211.397297] wlp3s0: authenticate with 68:86:a7:46:02:f7
[84211.401487] wlp3s0: send auth to 68:86:a7:46:02:f7 (try 1/3)
[84211.403346] wlp3s0: authenticated
[84211.404983] wlp3s0: associate with 68:86:a7:46:02:f7 (try 1/3)
[84211.410687] wlp3s0: RX AssocResp from 68:86:a7:46:02:f7 (capab=0x431 
status=0 aid=9)
[84211.423651] wlp3s0: associated
[89431.623000] wlp3s0: deauthenticated from 68:86:a7:46:02:f7 (Reason: 
7=CLASS3_FRAME_FROM_NONASSOC_STA)
[89431.794147] wlp3s0: authenticate with 68:86:a7:46:02:f7
[89431.798752] wlp3s0: send auth to 68:86:a7:46:02:f7 (try 1/3)
[89431.802228] wlp3s0: authenticated
[89431.809405] wlp3s0: associate with 68:86:a7:46:02:f7 (try 1/3)
[89431.814844] wlp3s0: RX AssocResp from 68:86:a7:46:02:f7 (capab=0x431 
status=0 aid=9)
[89431.819516] wlp3s0: associated
[90333.333991] wlp3s0: deauthenticated from 68:86:a7:46:02:f7 (Reason: 
7=CLASS3_FRAME_FROM_NONASSOC_STA)
[90333.505311] wlp3s0: authenticate with 68:86:a7:46:02:f7
[90333.510330] wlp3s0: send auth to 68:86:a7:46:02:f7 (try 1/3)
[90333.513557] wlp3s0: authenticated
[90333.517836] wlp3s0: associate with 68:86:a7:46:02:f7 (try 1/3)
[90333.522549] wlp3s0: RX AssocResp from 68:86:a7:46:02:f7 (capab=0x431 
status=0 aid=9)
[90333.532009] wlp3s0: associated
[90351.166507] wlp3s0: deauthenticated from 68:86:a7:46:02:f7 (Reason: 
7=CLASS3_FRAME_FROM_NONASSOC_STA)
[90351.286284] wlp3s0: authenticate with 68:86:a7:46:02:f7
[90351.294327] wlp3s0: send auth to 68:86:a7:46:02:f7 (try 1/3)
[90351.296183] wlp3s0: authenticated
[90351.301644] wlp3s0: associate with 68:86:a7:46:02:f7 (try 1/3)
[90351.307191] wlp3s0: RX AssocResp from 68:86:a7:46:02:f7 (capab=0x431 
status=0 aid=9)
[90351.312550] wlp3s0: associated
[92074.465810] [ cut here ]
[92074.465820] WARNING: CPU: 3 PID: 3064 at 
/build/linux-4.9.65/lib/list_debug.c:29 __list_add+0x5c/0xb0
[92074.465823] list_add corruption. next->prev should be prev 
(978802b93288), but was dead0200. (next=a71748e8fe78).
[92074.465825] Modules linked in: uinput tun hid_generic hidp hid ctr ccm 
rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace 
fscache rfcomm fuse ebtable_filter ebtables ip6table_filter ip6_tables pci_stub 
vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cpufreq_conservative 
cpufreq_powersave cpufreq_userspace cmac bnep binfmt_misc uvcvideo 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media 
btusb btrtl btbcm btintel bluetooth arc4 iTCO_wdt iTCO_vendor_support 
intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iwlmvm 
mac80211 snd_hda_codec_hdmi kvm snd_hda_codec_realtek iwlwifi irqbypass 
snd_hda_codec_generic rtsx_pci_ms intel_cstate intel_uncore joydev 
intel_rapl_perf memstick pcspkr serio_raw cfg80211 snd_hda_intel snd_hda_codec
[92074.465885]  snd_hda_core snd_hwdep mei_me snd_pcm_oss sg snd_mixer_oss mei 
shpchp snd_pcm snd_timer lpc_ich thinkpad_acpi nvram snd soundcore ac rfkill 
battery evdev xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack 
nf_conntrack iptable_filter parport_pc ppdev lp parport sunrpc ip_tables 
x_tables autofs4 ext4 crc16 jbd2 fscrypto ecb mbcache btrfs algif_skcipher 
af_alg dm_crypt dm_mod raid10 raid456 async_raid6_recov async_memcpy async_pq 
async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath 
linear md_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel 
ghash_clmulni_intel rtsx_pci_sdmmc mmc_core ahci libahci libata scsi_mod 
aesni_intel i2c_i801 i2c_smbus aes_x86_64 lrw gf128mul glue_helper ablk_helper 
cryptd xhci_pci xhci_hcd ehci_pci ehci_hcd psmouse i915 i2c_algo_bit
[92074.465953]  rtsx_pci mfd_core drm_kms_helper usbcore e1000e usb_common ptp 
pps_core drm thermal wmi video button

Bug#714166: linux-image-3.9-1-amd64 / no rx packets on vlan on e1000e / 82574L

2013-07-09 Thread Florian Lohoff

Hi,
i can reproduce the problem with linux image

Package: linux-image-3.9-1-amd64
Version: 3.9.8-1

Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature


Bug#714166: linux-image-3.2.0-4-amd64: no rx packets on vlan on e1000e / 82574L

2013-06-26 Thread Florian Lohoff
) PRO/1000 Network Connection
[ 2301.889329] e1000e :00:19.0: eth0: MAC: 10, PHY: 11, PBA No: FF-0FF
[ 2301.972703] e1000e :04:00.0: Disabling ASPM L0s L1
[ 2302.034238] e1000e :04:00.0: setting latency timer to 64
[ 2302.034456] e1000e :04:00.0: irq 44 for MSI/MSI-X
[ 2302.034458] e1000e :04:00.0: irq 45 for MSI/MSI-X
[ 2302.034461] e1000e :04:00.0: irq 46 for MSI/MSI-X
[ 2302.233714] e1000e :04:00.0: eth1: (PCI Express:2.5GT/s:Width x1) 
00:25:90:a1:fb:66
[ 2302.329592] e1000e :04:00.0: eth1: Intel(R) PRO/1000 Network Connection
[ 2302.412978] e1000e :04:00.0: eth1: MAC: 3, PHY: 8, PBA No: FF-0FF
[ 2321.366984] e1000e :00:19.0: irq 42 for MSI/MSI-X
[ 2321.419268] e1000e :00:19.0: irq 42 for MSI/MSI-X
[ 2321.421245] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2321.486688] ADDRCONF(NETDEV_UP): eth0.10: link is not ready
[ 2321.554098] ADDRCONF(NETDEV_UP): eth0.20: link is not ready
[ 2325.153293] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: 
None
[ 2325.243648] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 2325.313176] ADDRCONF(NETDEV_CHANGE): eth0.10: link becomes ready
[ 2325.385753] ADDRCONF(NETDEV_CHANGE): eth0.20: link becomes ready
[ 2335.753244] eth0.10: no IPv6 routers present
[ 2335.925058] eth0.20: no IPv6 routers present
[ 2336.256764] eth0: no IPv6 routers present





Module  Size  Used by
e1000e120822  0 
bridge 70564  0 
8021q  19291  0 
garp   13193  1 8021q
stp12437  2 garp,bridge
ipmi_devintf   17092  2 
ipmi_si36954  1 
ipmi_msghandler35965  2 ipmi_si,ipmi_devintf
loop   22641  0 
coretemp   12898  0 
crc32c_intel   12747  0 
snd_pcm68083  0 
snd_page_alloc 13003  1 snd_pcm
ghash_clmulni_intel13173  0 
snd_timer  22917  1 snd_pcm
snd52889  2 snd_timer,snd_pcm
aesni_intel50667  0 
aes_x86_64 16843  1 aesni_intel
acpi_cpufreq   12935  0 
soundcore  13065  1 snd
aes_generic33026  2 aes_x86_64,aesni_intel
mperf  12453  1 acpi_cpufreq
i2c_i801   16870  0 
cryptd 14517  2 aesni_intel,ghash_clmulni_intel
iTCO_wdt   17081  0 
joydev 17266  0 
iTCO_vendor_support12704  1 iTCO_wdt
i2c_core   23876  1 i2c_i801
psmouse69265  0 
video  17683  0 
evdev  17562  3 
processor  28157  1 acpi_cpufreq
button 12937  0 
serio_raw  12931  0 
pcspkr 12579  0 
ext4  350763  5 
crc16  12343  1 ext4
jbd2   62115  1 ext4
mbcache13114  1 ext4
dm_mod 63645  18 
sr_mod 21899  0 
cdrom  35401  1 sr_mod
usbhid 36418  0 
hid81328  1 usbhid
sg 25874  0 
sd_mod 36136  2 
ahci   24997  0 
crc_t10dif 12348  1 sd_mod
libahci22860  1 ahci
libata140630  2 libahci,ahci
ehci_hcd   40215  0 
megaraid_sas   68571  1 
fan12674  0 
thermal17383  0 
usbcore   128741  3 ehci_hcd,usbhid
thermal_sys18040  4 thermal,fan,processor,video
usb_common 12354  1 usbcore
scsi_mod  162269  5 megaraid_sas,libata,sd_mod,sg,sr_mod

Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature


Bug#711187: linux-image-3.2.0-4-amd64: kernel should not rename mountpoint if nfs server is dead/unreachable

2013-06-05 Thread Florian Lohoff
Package: src:linux
Version: 3.2.41-2
Severity: normal

Dear Maintainer,
   * What led up to the situation?

 nfs mount via fstab, move notebook to a different network so nfs server 
gets 
 unrachable. 

   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

 No reaction on the mountpoint.


Related to http://bugs.debian.org/711183 and http://bugs.debian.org/711184 
which are both
agains mount beeing unable to unmount the broken nfs mount or mount new ones.


After the NFS Server gets unreachable the mountpoint gets renamed:

flo@p2:~$ cat /proc/mounts  | grep nfs4
pobox:/scratch/local /scratch/pobox\040(deleted) nfs4 
rw,nosuid,nodev,noexec,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retra
+ns=2,sec=sys,clientaddr=192.168.177.145,minorversion=0,local_lock=none,addr=192.168.177.1
 0 0

This seems to stem from the kernel fs/dcache.c

A mountpoint should not be renamed by the kernel to an ambigous name which 
could clash.

Flo


-- Package-specific info:
** Version:
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 
(Debian 4.6.3-15) ) #1 SMP Debian 3.2.41-2

** Command line:
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/p2-root ro

** Tainted: O (4096)
 * Out-of-tree module has been loaded.

** Kernel log:
[ 6120.675883] ata5: SATA link down (SStatus 0 SControl 300)
[ 6120.755455] usb 1-1.4: reset full-speed USB device number 4 using ehci_hcd
[ 6120.839414] sdhci-pci :0d:00.0: Will use DMA mode even though HW doesn't 
fully claim to support it.
[ 6120.839473] sdhci-pci :0d:00.0: setting latency timer to 64
[ 6120.853640] btusb 1-1.4:1.0: no reset_resume for driver btusb?
[ 6120.853645] btusb 1-1.4:1.1: no reset_resume for driver btusb?
[ 6120.871343] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 6120.872179] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 6120.886533] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[ 6120.886959] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[ 6120.888626] ata2.00: configured for UDMA/100
[ 6120.891869] firewire_core: rediscovered device fw0
[ 6120.923438] usb 1-1.6: reset high-speed USB device number 5 using ehci_hcd
[ 6121.093959] usb 2-1.4: reset high-speed USB device number 7 using ehci_hcd
[ 6121.191348] usb 2-1.4: device firmware changed
[ 6122.279853] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 6122.518181] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 6122.518187] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) 
filtered out
[ 6122.518192] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered 
out
[ 6122.522359] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 6122.522365] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) 
filtered out
[ 6122.522370] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered 
out
[ 6122.524189] ata1.00: configured for UDMA/100
[ 6122.565759] PM: resume of devices complete after 2233.298 msecs
[ 6122.684145] PM: Finishing wakeup.
[ 6122.684147] Restarting tasks ... done.
[ 6122.693587] usb 2-1.4: USB disconnect, device number 7
[ 6122.701872] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected 
from ttyUSB0
[ 6122.705085] qcserial 2-1.4:1.1: device disconnected
[ 6122.707435] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected 
from ttyUSB1
[ 6122.710560] qcserial 2-1.4:1.2: device disconnected
[ 6122.714494] video LNXVIDEO:00: Restoring backlight state
[ 6122.718666] qcserial ttyUSB2: Qualcomm USB modem converter now disconnected 
from ttyUSB2
[ 6122.718816] qcserial 2-1.4:1.3: device disconnected
[ 6122.794638] usb 2-1.4: new high-speed USB device number 8 using ehci_hcd
[ 6122.892528] usb 2-1.4: config 1 has an invalid interface number: 1 but max 
is 0
[ 6122.892535] usb 2-1.4: config 1 has no interface number 0
[ 6122.894323] usb 2-1.4: New USB device found, idVendor=05c6, idProduct=9204
[ 6122.894328] usb 2-1.4: New USB device strings: Mfr=3, Product=2, 
SerialNumber=0
[ 6122.894331] usb 2-1.4: Product: Qualcomm Gobi 2000
[ 6122.894333] usb 2-1.4: Manufacturer: Qualcomm Incorporated
[ 6122.895872] qcserial 2-1.4:1.1: Qualcomm USB modem converter detected
[ 6122.895954] usb 2-1.4: Qualcomm USB modem converter now attached to ttyUSB0
[ 6122.970156] usb 1-1.5: new high-speed USB device number 6 using ehci_hcd
[ 6123.066203] usb 1-1.5: New USB device found, idVendor=17ef, idProduct=100a
[ 6123.066208] usb 1-1.5: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[ 6123.06] hub 1-1.5:1.0: USB hub found
[ 6123.066758] hub 1-1.5:1.0: 6 ports detected
[ 6123.337401] usb 1-1.5.1: new low-speed USB device number 7 using ehci_hcd
[ 6123.451644] usb 1-1.5.1: New USB device found, idVendor=04b3, idProduct=3025
[ 6123.451655] usb 1-1.5.1: New USB device strings: Mfr=1, 

Bug#698917: [wheezy] cpu overheat and shutdown after suspend/resume cycle on Thinkpad T410

2013-01-27 Thread Florian Lohoff

Hi,

On Fri, Jan 25, 2013 at 01:45:21PM -0800, Jonathan Nieder wrote:
 Yikes.
 
 Has this machine always behaved this way, or did it start happening
 with a kernel update?  If the latter, which update?
 
 Does 3.7.y from experimental exhibit the same symptoms?  If so,
 please report this at http://bugzilla.kernel.org/, product
 Power Management, component Hibernation/Suspend and let us know the
 bug number so we can track it.

Same with 3.7.3 from experimental - Ran it for a day - this morning
resume - Worked for nearly an hour - Emergency Shutdown

Opened a bug in the Kernel Bugzilla:

https://bugzilla.kernel.org/show_bug.cgi?id=53101

Jan 26 00:43:03 p2 kernel: imklog 5.8.11, log source = /proc/kmsg started.
Jan 26 00:43:03 p2 kernel: [0.00] Initializing cgroup subsys cpuset
Jan 26 00:43:03 p2 kernel: [0.00] Initializing cgroup subsys cpu
Jan 26 00:43:03 p2 kernel: [0.00] Linux version 3.7-trunk-amd64 
(debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP 
Debian 3.7.3-1~experimental.1
Jan 26 00:43:03 p2 kernel: [0.00] Command line: 
BOOT_IMAGE=/vmlinuz-3.7-trunk-amd64 root=/dev/mapper/p2-root ro
Jan 26 00:43:03 p2 kernel: [0.00] e820: BIOS-provided physical RAM map:
Jan 26 00:43:03 p2 kernel: [0.00] BIOS-e820: [mem 
0x-0x0009e7ff] usable
Jan 26 00:43:03 p2 kernel: [0.00] BIOS-e820: [mem 
0x0009e800-0x0009] reserved
Jan 26 00:43:03 p2 kernel: [0.00] BIOS-e820: [mem 
0x000d2000-0x000d3fff] reserved
Jan 26 00:43:03 p2 kernel: [0.00] BIOS-e820: [mem 
0x000dc000-0x000f] reserved
Jan 26 00:43:03 p2 kernel: [0.00] BIOS-e820: [mem 
0x0010-0xbb27bfff] usable
[...]
Jan 27 14:11:27 p2 kernel: [ 4087.016757] usbcore: registered new interface 
driver usbhid
Jan 27 14:11:27 p2 kernel: [ 4087.016763] usbhid: USB HID core driver
Jan 27 14:11:27 p2 kernel: [ 4087.245163] input: HID 062a: as 
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input17
Jan 27 14:11:27 p2 kernel: [ 4087.245447] hid-generic 0003:062A:.0001: 
input,hidraw0: USB HID v1.10 Mouse [HID 062a:] on 
usb-:00:1a.0-1.1/input0

Jan 27 15:00:41 p2 kernel: [ 7034.297238] thermal_sys: Critical temperature 
reached (100 C), shutting down

Jan 27 15:00:43 p2 kernel: [ 7036.212853] nfsd: last server has exited, 
flushing export cache
Jan 27 15:00:43 p2 kernel: [ 7036.262334] CPU2: Core temperature above 
threshold, cpu clock throttled (total events = 1)
Jan 27 15:00:43 p2 kernel: [ 7036.262336] CPU3: Core temperature above 
threshold, cpu clock throttled (total events = 1)
Jan 27 15:00:43 p2 kernel: [ 7036.265429] CPU2: Core temperature/speed normal
Jan 27 15:00:43 p2 kernel: [ 7036.265431] CPU3: Core temperature/speed normal
Jan 27 15:00:44 p2 kernel: [ 7036.456924] e1000e :00:19.0: irq 46 for 
MSI/MSI-X
Jan 27 15:00:44 p2 kernel: [ 7036.492898] Bridge firewalling registered
Jan 27 15:00:44 p2 kernel: [ 7036.518914] fuse exit


Jan 27 15:01:46 p2 kernel: [0.00] Initializing cgroup subsys cpuset
Jan 27 15:01:46 p2 kernel: [0.00] Initializing cgroup subsys cpu
Jan 27 15:01:46 p2 kernel: [0.00] Linux version 3.7-trunk-amd64 
(debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP 
Debian 3.7.3-1~experimental.1
Jan 27 15:01:46 p2 kernel: [0.00] Command line: 
BOOT_IMAGE=/vmlinuz-3.7-trunk-amd64 root=/dev/mapper/p2-root ro
Jan 27 15:01:46 p2 kernel: [0.00] e820: BIOS-provided physical RAM map:
Jan 27 15:01:46 p2 kernel: [0.00] BIOS-e820: [mem 
0x-0x0009e7ff] usable


Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature


Bug#698917: linux-image-3.2.0-4-amd64: cpu overheat and shutdown after suspend/resume cycle on Thinkpad T410

2013-01-26 Thread Florian Lohoff
On Sat, Jan 26, 2013 at 04:44:09PM +, Ben Hutchings wrote:
 But in the case where you resume and then the machine overheats, does
 the fan run at any time between resume and shutdown?  I have heard of
 bugs that would cause some laptops not to start the fan after resume.

No - it doesnt run - at least i havent noticed it. When you turn on the
notebook after shutdown you can immediatly hear the fan turn up to 
maximum.

I am running 3.7 from experimental now and made approx 20 Suspend/Resume
cycles without any problem.

Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature


Bug#698917: linux-image-3.2.0-4-amd64: cpu overheat and shutdown after suspend/resume cycle on Thinkpad T410

2013-01-25 Thread Florian Lohoff
On Fri, Jan 25, 2013 at 01:00:22PM +, Ben Hutchings wrote:
  The temperatures are real - you can feel the heat from the outside.  Here 
  is the kern log
 [...]
 
 Does the fan ever run?

It does right now - Typically i can work on that machine the whole
day. If it gets that hot and fails its in the first 10 Minutes
after beeing in the office - which is directly after resume.

But its not every time i resume.

 Did you see this problem with earlier kernel versions?

Nope. I think it happened with 3.2.32-1~bpo60+1 too. Before i think
i had a 3.0.0 which was okay - Its all a little blurry...

Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature


Bug#698917: [wheezy] cpu overheat and shutdown after suspend/resume cycle on Thinkpad T410

2013-01-25 Thread Florian Lohoff
On Fri, Jan 25, 2013 at 01:45:21PM -0800, Jonathan Nieder wrote:
 Yikes.
 
 Has this machine always behaved this way, or did it start happening
 with a kernel update?  If the latter, which update?

Nope - Squeeze is okay - I had backports kernel running for ages and i
think it started with a 3.2 kernel 

 Does 3.7.y from experimental exhibit the same symptoms?  If so,
 please report this at http://bugzilla.kernel.org/, product
 Power Management, component Hibernation/Suspend and let us know the
 bug number so we can track it.

I'll give it a try though it might take some hours/days to be shure its
gone ...

Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature


Bug#502845: [Pkg-iscsi-maintainers] Bug#502845: linux-image-2.6.32-1-amd64 / open-iscsi amd64 login hang

2010-05-03 Thread Florian Lohoff
On Sun, May 02, 2010 at 01:50:24PM +0530, Ritesh Raj Sarraf wrote:
 Thanks. I will be adding the following text to README.Debian
 
 64 bit kernel with 32 bit userspace
 -
   open-iscsi running with a 64 bit kernel and 32 bit userspace
   can run into a hang during the iSCSI login phase. This is a known
   issue upstream. For details, please see Debian BTS #502845

Are there ANY reports for successful login with amd64 kernel and
32bit userspace? I have tried everything and i didnt get anything to
work.

So IMHO the package could present a popup in the postinst in its i386 variant
and a detected amd64 kernel that it wont work in that constellation.

Flo
-- 
Florian Lohoff f...@zz.de
Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen.
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 


signature.asc
Description: Digital signature


Bug#502845: [Pkg-iscsi-maintainers] Bug#502845: linux-image-2.6.32-1-amd64 / open-iscsi amd64 login hang

2010-05-02 Thread Florian Lohoff
On Sun, May 02, 2010 at 05:04:56AM +0530, Ritesh Raj Sarraf wrote:
 r...@learner:~$ uname -a
 Linux learner 2.6.32-4-686 #1 SMP Tue Apr 6 07:02:27 UTC 2010 i686 GNU/Linux
  ^^^

You have an 32 bit kernel - Please try on a 64 bit kernel with
32 bit userspace - you will fail.

 r...@learner:~$ apt-cache policy iscsitarget
 iscsitarget:
   Installed: 1.4.20-1
   Candidate: 1.4.20-1
   Version table:
  *** 1.4.20-1 0
 500 http://ftp.debian.org sid/main Packages
 100 /var/lib/dpkg/status
  0.4.17+svn229-1.4 0
 990 http://ftp.debian.org testing/main Packages
 
 

Flo
-- 
Florian Lohoff f...@zz.de
Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen.
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 


signature.asc
Description: Digital signature


Bug#502845: linux-image-2.6.32-1-amd64 / open-iscsi amd64 login hang

2010-04-07 Thread Florian Lohoff
On Tue, Apr 06, 2010 at 04:21:46AM +0100, Ben Hutchings wrote:
   On Thu, Feb 11, 2010 at 08:23:12PM +0100, Florian Lohoff wrote:
Something _is_ broken - I am very successful building up 
open-iscsi/iscsitarget
pairs on i386 - as soon as the initiator (open-iscsi) is on amd64 the 
login
hangs forever ... No matter whether the target is on the same machine
or on a different machine ...
   
   Yes, it is. The iscsi_uevent structure defined in scsi/iscsi_if.h
   suffers of the 64-bit-allignment-desease on i386.
   
   Also please not that this interface is officialy _not_ exported.
  
  So? What would be the correct state? Wontfix? Forwarded-UpStream?
 
 If you want to get this fixed in the kernel then please report this
 upstream at https://bugzilla.kernel.org or on an appropriate mailing
 list.  If it's accepted as a real bug and fixed upstream then we can
 backport the fix.

The bug has been confirmnd on the open-iscsi mailingliste and reported
to be on the low priority fixlist. So basically open-iscsi is broken in 
Debian with a amd64 kernel and 32 bit userspace with no solution.

See attached mail.

Flo
-- 
Florian Lohoff f...@zz.de
Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen.
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 
---BeginMessage---

On 04/06/2010 03:15 AM, Pasi Kärkkäinen wrote:

On Fri, Mar 05, 2010 at 04:05:56PM -0600, Mike Christie wrote:

On 03/03/2010 01:13 PM, Florian Lohoff wrote:


Hi,
i reported a bug into the Debian Bug Tracking system that with
a 64bit Kernel and a 32bit Userspace the login fails.

See here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502845#51

This is very reproducable - using a 32 bit kernel or a pure 64 bit
userland makes it work immediatly - From Bastians response my guess
was that some 64/32 syscall wrapper is missing but my question on
how to proceed was not answered so i guess its the right thing to
send it here too ..



The iscsi netlink struct is not laid out correctly so on 32 bit user 64
bit kernel setups, when it gets passed from userspace to the kernel it
gets messed up. We have to redo the interface to fix this. Until then
you have to use 32 bit user with 32 bit kernel or 64 bit user with 64
bit kernels.



Is there any timeframe for this fix?



No. It is really really low on the TODO.



I was planning to install 64bit kernel to a 32bit RHEL5 system
(yes, not officially supported, I know ;) but this bug kind of makes
it no-go.. unfortunately.

---End Message---


signature.asc
Description: Digital signature


Bug#502845: linux-image-2.6.32-1-amd64 / open-iscsi amd64 login hang

2010-02-11 Thread Florian Lohoff
|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
11280 fstat64(4, {st_mode=S_IFDIR|0600, st_size=1024, ...}) = 0
11280 getdents(4, /* 3 entries */, 1024) = 60
11280 open(/etc/iscsi/nodes/iqn.2010-01.localhost:disk1/127.0.0.1,3260,1, 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
11280 fstat64(5, {st_mode=S_IFDIR|0600, st_size=1024, ...}) = 0
11280 getdents(5, /* 3 entries */, 1024) = 52
11280 access(/var/lock/iscsi, F_OK)   = 0
11280 open(/var/lock/iscsi/lock, O_RDWR|O_CREAT, 0666) = 6
11280 close(6)  = 0
11280 link(/var/lock/iscsi/lock, /var/lock/iscsi/lock.write) = 0
11280 
open(/etc/iscsi/nodes/iqn.2010-01.localhost:disk1/127.0.0.1,3260,1/default, 
O_RDONLY) = 6
11280 fstat64(6, {st_mode=S_IFREG|0600, st_size=1643, ...}) = 0
11280 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xf77d1000
11280 _llseek(6, 0, [0], SEEK_SET)  = 0
11280 read(6, node.name = iqn.2010-01.localhost..., 1024) = 1024
11280 read(6, de.session.iscsi.MaxOutstandingR2..., 1024) = 619
11280 read(6, ..., 1024)  = 0
11280 close(6)  = 0
11280 munmap(0xf77d1000, 4096)  = 0
11280 unlink(/var/lock/iscsi/lock.write) = 0
11280 getdents(5, /* 0 entries */, 1024) = 0
11280 close(5)  = 0
11280 getdents(4, /* 0 entries */, 1024) = 0
11280 close(4)  = 0
11280 getdents(3, /* 0 entries */, 1024) = 0
11280 close(3)  = 0
11280 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
11280 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xf77d1000
11280 write(1, Logging in to [iface: default, ta..., 115) = 115
11280 socket(PF_FILE, SOCK_STREAM, 0)   = 3
11280 connect(3, {sa_family=AF_FILE, path=@ISCSIADM_ABSTRACT_NAMESPACE...}, 
110) = 0
11280 write(3, 
\1\0\0\0\0\0\0\0\0\0\0\0\230q\304\377\230q\304\377iqn.1997-01.o..., 5244) = 
5244
11280 recv(3, 0xffc46760, 2464, MSG_WAITALL) = ? ERESTARTSYS (To be restarted)
11280 --- SIGINT (Interrupt) @ 0 (0) ---
11280 write(2, iscsiadm: ..., 10) = 10
11280 write(2, caught SIGINT, exiting.., 25) = 25
11280 write(2, \n..., 1)  = 1
11280 exit_group(1) = ?

Flo
-- 
Florian Lohoff f...@zz.de
Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen.
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#502845: linux-image-2.6.32-1-amd64 / open-iscsi amd64 login hang

2010-02-11 Thread Florian Lohoff
On Thu, Feb 11, 2010 at 05:51:38PM +0100, Bastian Blank wrote:
 On Thu, Feb 11, 2010 at 04:37:36PM +0100, Florian Lohoff wrote:
  11280 connect(3, {sa_family=AF_FILE, 
  path=@ISCSIADM_ABSTRACT_NAMESPACE...}, 110) = 0
  11280 write(3, 
  \1\0\0\0\0\0\0\0\0\0\0\0\230q\304\377\230q\304\377iqn.1997-01.o..., 5244) 
  = 5244
  11280 recv(3, 0xffc46760, 2464, MSG_WAITALL) = ? ERESTARTSYS (To be 
  restarted)
 
 This only shows that iscsid does not respond to the requests of
 iscsiadm. However I consider it unlikely that such a bug should have
 survived for 14 kernel releases.
 
 Please show all the relevant configs, strace outputs of iscsiadm _and_
 iscsid and also network traces.

Something _is_ broken - I am very successful building up open-iscsi/iscsitarget
pairs on i386 - as soon as the initiator (open-iscsi) is on amd64 the login
hangs forever ... No matter whether the target is on the same machine
or on a different machine ...

What i did now:

bladesys3:~# tcpdump -i eth0 -s0 -w /tmp/login.pcap host t4.lab.rfc822.org and 
port 3260

and in parallel:

bladesys3:~# strace -t -f -o /tmp/scsid.strace.log /etc/init.d/open-iscsi start

Starting iSCSI initiator service: iscsid.
Setting up iSCSI targets:
iscsiadm: No records found!
.
Mounting network filesystems:.

And then:

iscsiadm -m discovery -t st -p 195.71.99.251
iscsiadm -m node

iscsiadm -m node --targetname iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1 
--portal 195.71.99.251:3260 --op=update --name node.session.auth.authmethod 
--value=CHAP
iscsiadm -m node --targetname iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1 
--portal 195.71.99.251:3260 --op=update --name node.session.auth.username 
--value=storage1
iscsiadm -m node --targetname iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1 
--portal 195.71.99.251:3260 --op=update --name node.session.auth.password 
--value=mi4Taibi

iscsiadm -m node --targetname iqn.1997-01.org.rfc822.lab.t4:storage.t4.disk1 
--portal 195.71.99.251:3260 --login

tcpdump:

http://silicon-verl.de/home/flo/tmp/iscsilogin.pcap
http://silicon-verl.de/home/flo/tmp/scsid.strace.log

The scsid strace shows repeated stuff like:

3444  20:14:08 connect(9, {sa_family=AF_INET, sin_port=htons(3260), 
sin_addr=inet_addr(195.71.99.251)}, 128) = -1 EINPROGRESS (Operation now in 
progress)

Although telnet (as the tcpdump) reports the connect is no problem:

bladesys3:/tmp# telnet t4.lab.rfc822.org 3260
Trying 195.71.99.251...
Connected to tiles-four.lab.rfc822.org.
Escape character is '^]'.
^]
telnet close
Connection closed.

Still - the login hangs - dead ... I have never seen something like this
between i386 machines.

open-iscsi config is untouched.

What else?

Flo
-- 
Florian Lohoff f...@zz.de
Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen.
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 


signature.asc
Description: Digital signature


Bug#429011: Fwd: + drivers-char-cycladesc-cy_pci_probe-fix-error-path.patch added to -mm tree

2008-12-03 Thread Florian Lohoff

Hi,
this fast there was a patch ...

- Forwarded message from [EMAIL PROTECTED] -

Subject: + drivers-char-cycladesc-cy_pci_probe-fix-error-path.patch added to 
-mm tree
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Wed, 03 Dec 2008 00:10:54 -0800
X-Spam-Status: No, hits=-2.9 required=5 tests=AWL,BAYES_00
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.53, version=1.1.3


The patch titled
 drivers/char/cyclades.c: cy_pci_probe(): fix error path
has been added to the -mm tree.  Its filename is
 drivers-char-cycladesc-cy_pci_probe-fix-error-path.patch

Before you just go and hit reply, please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
  reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

--
Subject: drivers/char/cyclades.c: cy_pci_probe(): fix error path
From: Andrew Morton [EMAIL PROTECTED]

We forgot to release resources in one case.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=12137

Reported-by: Florian Lohoff [EMAIL PROTECTED]
Cc: Jiri Slaby [EMAIL PROTECTED]
Cc: Alan Cox [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] [everything]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---

 drivers/char/cyclades.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/char/cyclades.c~drivers-char-cycladesc-cy_pci_probe-fix-error-path 
drivers/char/cyclades.c
--- a/drivers/char/cyclades.c~drivers-char-cycladesc-cy_pci_probe-fix-error-path
+++ a/drivers/char/cyclades.c
@@ -5010,7 +5010,7 @@ static int __devinit cy_pci_probe(struct
if (nchan == 0) {
dev_err(pdev-dev, Cyclom-Y PCI host card with no 
Serial-Modules\n);
-   return -EIO;
+   goto err_unmap;
}
} else if (device_id == PCI_DEVICE_ID_CYCLOM_Z_Hi) {
struct RUNTIME_9060 __iomem *ctl_addr;
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

bdi-register-sysfs-bdi-device-only-once-per-queue.patch
ksym_symbol_len-fixes.patch
mm-remove-the-might_sleep-from-lock_page.patch
make-linx-next-apply.patch
linux-next.patch
next-remove-localversion.patch
tick-schedc-suppress-needless-timer-reprogramming.patch
linux-timexh-cleanup-for-userspace.patch
drivers-input-touchscreen-ucb1400_tsc-needs-gpio.patch
netdev-smc911x-fix-for-driver-resume-cleanup.patch
backlight-catch-invalid-input.patch
pci-uninline-pci_ioremap_bar.patch
drivers-char-cycladesc-cy_pci_probe-fix-error-path.patch
scsi-dpt_i2o-is-bust-on-ia64.patch
mm-invoke-oom-killer-from-page-fault-fix.patch
mm-invoke-oom-killer-from-page-fault-fix-fix-2.patch
mm-write_cache_pages-more-terminate-quickly.patch
swapfile-change-discard-pgoff_t-to-sector_t-fix.patch
fs-truncate-blocks-outside-i_size-after-o_direct-write-error-fix.patch
init-properly-placing-noinline-keyword.patch
add-pr_prefix-to-pr_xyz-macros-checkpatch-fixes.patch
poll-allow-f_op-poll-to-sleep-take6.patch
binfmtsh-include-listh-fix.patch
max3100-spi-uart-driver-select-serial_core-fix.patch
spi_gpio-driver-cleanups.patch
kprobes-support-probing-module-__exit-function-fix.patch
kprobes-support-probing-module-__exit-function-fix-2.patch
rtc-au1000-on-chip-counter0-as-rtc-driver-fix.patch
memcg-introduce-charge-commit-cancel-style-of-functions-fix.patch
memcg-new-force_empty-to-free-pages-under-group-fix-fix.patch
memcg-swap-cgroup-for-remembering-usage.patch
memory-cgroup-resource-counters-for-hierarchy-v4-checkpatch-fixes.patch
memory-cgroup-hierarchical-reclaim-v4-checkpatch-fixes.patch
memcg-avoid-unnecessary-system-wide-oom-killer-fix.patch
edac-struct-device-replace-bus_id-with-dev_name-dev_set_name-checkpatch-fixes.patch
edac-x38-use-the-architectures-readq-function-fix.patch
parport-ieee1284-use-del_timer_sync-in-parport_wait_event-checkpatch-fixes.patch
romfs-romfs_iget-unsigned-ino-=-0-is-always-true-checkpatch-fixes.patch
filesystem-freeze-implement-generic-freeze-feature-fix.patch
nilfs2-inode-operations-fix.patch
nilfs2-pathname-operations-fix.patch
nilfs2-super-block-operations-fix.patch
reiser4.patch
reiser4-tree_lock-fixes.patch
reiser4-tree_lock-fixes-fix.patch
reiser4-semaphore-fix.patch
slb-drop-kmem-cache-argument-from-constructor-reiser4.patch
reiser4-suid.patch
reiser4-track-upstream-changes.patch
reiser4-remove-simple_prepare_write-usage-checkpatch-fixes.patch
nr_blockdev_pages-in_interrupt-warning.patch
slab-leaks3-default-y.patch
put_bh-debug.patch
shrink_slab-handle-bad

Bug#429011: [OOPS] cyclades modules error path broken ?

2008-12-02 Thread Florian Lohoff
On Tue, Dec 02, 2008 at 12:26:41PM +0100, Florian Lohoff wrote:
 Subject: Re: [OOPS] cyclades modules error path broken ?
 

Reported to the Bugzilla as Bug #12137

http://bugzilla.kernel.org/show_bug.cgi?id=12137

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#429011: [OOPS] cyclades modules error path broken ?

2008-12-02 Thread Florian Lohoff
On Fri, Nov 07, 2008 at 09:33:09PM +0100, Moritz Muehlenhoff wrote:
 On Fri, Jun 15, 2007 at 02:09:02PM +0200, Florian Lohoff wrote:
  
  Package: linux-image-2.6.18-4-486
  Version: 2.6.18.dfsg.1-1
  
  Hi,
  i am using the cyclades multiserial driver. There seems to be a bug in
  the error path on loading the driver. The cyclades Hardware consists of
  the PCI card and an external serial box. If the serial box is not
  connected the driver recognizes this and bails out. Unloading
  and reloading the module fails in this case with the below error
  message:
 
 Is this issue still reproducible with current kernels? If so, could
 you report this upstream at bugzilla.kernel.org?

Still exists in:
linux-image-2.6.26-1-686 2.6.26-12~snapshot.12453

When unloading the module after the failed load and then catting
/proc/ioports gives the crash - The error path on initialization
is broken and does not free the resources in the error path. Fix should be
less than 10 lines.

[  202.976225] BUG: unable to handle kernel paging request at c8a06e6b
[  202.980065] IP: [c01e1802] strnlen+0x6/0x18
[  202.980065] *pde = 07419067 *pte = 
[  202.980065] Oops:  [#1] SMP
[  202.980065] Modules linked in: autofs4 ac battery ipv6 dm_snapshot dm_mirror 
dm_log dm_mod firmware_class snd_ens1371 gameport snd_rawmidi snd_seq_device 
snd_ac97_codec ac97_bus rng_core parport_pc parport intel_agp button shpchp 
i2c_i801 snd_pcm snd_timer i2c_core snd soundcore snd_page_alloc agpgart evdev 
iTCO_wdt pci_hotplug floppy pcspkr joydev ext3 jbd mbcache ide_disk ata_generic 
libata scsi_mod dock uhci_hcd piix usbcore e100 mii ide_core thermal processor 
fan thermal_sys [last unloaded: cyclades]
[  202.980065]
[  202.980065] Pid: 2520, comm: cat Not tainted (2.6.26-1-686 #1)
[  202.980065] EIP: 0060:[c01e1802] EFLAGS: 00010297 CPU: 0
[  202.980065] EIP is at strnlen+0x6/0x18
[  202.980065] EAX: c8a06e6b EBX: c6509346 ECX: c8a06e6b EDX: fffe
[  202.980065] ESI: c8a06e6b EDI:  EBP: c650a000 ESP: c77f5da4
[  202.980065]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  202.980065] Process cat (pid: 2520, ti=c77f4000 task=c77eea20 
task.ti=c77f4000)
[  202.980065] Stack: c01e0c60 c77f5f1c c6509346 c77f5f1c  c01e0f35 
 
[  202.980065] 0cca c6509336 bc12 0010 c650a000 
 
[  202.980065]c0311510 c1109420 0086 05fd  4250e0f7 
002f 4250f6c7
[  202.980065] Call Trace:
[  202.980065]  [c01e0c60] string+0x27/0x6f
[  202.980065]  [c01e0f35] vsnprintf+0x28d/0x452
[  202.980065]  [c0133b28] hrtimer_forward+0xe4/0x100
[  202.980065]  [c013604c] getnstimeofday+0x37/0xbc
[  202.980065]  [c0108066] pit_next_event+0x25/0x30
[  202.980065]  [c0138770] clockevents_program_event+0xc4/0xd2
[  202.980065]  [c0139472] tick_dev_program_event+0x1e/0x82
[  202.980065]  [c0139525] tick_program_event+0x1f/0x23
[  202.980065]  [c0134658] hrtimer_interrupt+0x12d/0x155
[  202.980065]  [c012956e] run_timer_softirq+0x30/0x17c
[  202.980065]  [c0153b87] __rcu_process_callbacks+0x8e/0x154
[  202.980065]  [c0126579] __do_softirq+0x66/0xd3
[  202.980065]  [c018a209] seq_printf+0x2b/0x48
[  202.980065]  [c0126de5] r_show+0x5b/0x64
[  202.980065]  [c018a7bb] seq_read+0x196/0x26f
[  202.980065]  [c018a625] seq_read+0x0/0x26f
[  202.980065]  [c01a1162] proc_reg_read+0x58/0x6b
[  202.980065]  [c01a110a] proc_reg_read+0x0/0x6b
[  202.980065]  [c0174992] vfs_read+0x81/0x11e
[  202.980065]  [c0174de3] sys_read+0x3c/0x63
[  202.980065]  [c01038ce] syscall_call+0x7/0xb
[  202.980065]  ===
[  202.980065] Code: c9 74 0c f2 ae 74 05 bf 01 00 00 00 4f 89 fa 5f 89 d0 c3 
85 c9 57 89 c7 89 d0 74 05 f2 ae 75 01 4f 8
[  202.980065] EIP: [c01e1802] strnlen+0x6/0x18 SS:ESP 0068:c77f5da4
[  202.980065] ---[ end trace 3c1a37ae88182d0f ]---

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#429011: [OOPS] cyclades modules error path broken ?

2008-11-07 Thread Florian Lohoff
On Fri, Nov 07, 2008 at 09:33:09PM +0100, Moritz Muehlenhoff wrote:
 On Fri, Jun 15, 2007 at 02:09:02PM +0200, Florian Lohoff wrote:
  
  Package: linux-image-2.6.18-4-486
  Version: 2.6.18.dfsg.1-1
  
  Hi,
  i am using the cyclades multiserial driver. There seems to be a bug in
  the error path on loading the driver. The cyclades Hardware consists of
  the PCI card and an external serial box. If the serial box is not
  connected the driver recognizes this and bails out. Unloading
  and reloading the module fails in this case with the below error
  message:
 
 Is this issue still reproducible with current kernels? If so, could
 you report this upstream at bugzilla.kernel.org?

I have no machine with newer kernels - need to check - i have just
checkd the git log on cyclades.c and it seems this commit may have fixed
it by rewriting large parts of the module/device init code:

commit 3137553d3f78f12a077459ee59e4b17f8db9f0cf
Author: Jiri Slaby [EMAIL PROTECTED]
Date:   Tue May 8 00:37:04 2007 -0700

Char: cyclades, probe cleanup

- add fail paths
- merge 3 similar initializations into one (Z, Ze, Y)

[EMAIL PROTECTED]: build fix]
Signed-off-by: Jiri Slaby [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
Signed-off-by: Linus Torvalds [EMAIL PROTECTED]

I'll try to reproduce the bug on Monday ...

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#466977: 2.6.24-1-sb1-bcm91250a mipsel hangs running init

2008-02-22 Thread Florian Lohoff

Package: linux-image-2.6.24-1-sb1-bcm91250a
Version: 2.6.24-4
Arch: mipsel

Hi,
running on a Broadcom SB1 *little endian* the kernel hangs trying to run
init. The old 2.6.17 works (linux-image-2.6.17-1-sb1 version 2.6.17-5):

Set up command line arguments to: root=/dev/hda3 console=duart0
Setting up initial prom_init arguments
Cleaning up state...
Transferring control to the kernel.
Kernel entry point is at 0x80404b00
Initializing cgroup subsys cpuset
Linux version 2.6.24-1-sb1-bcm91250a (Debian 2.6.24-4) ([EMAIL PROTECTED]) (gcc 
version 4.1.3 20071208
console [early0] enabled
CPU revision is: 01040102 (SiByte SB1)
FPU revision is: 000f0102
Broadcom SiByte BCM1250 B2 @ 800 MHz (SB1 rev 2)
Board type: SiByte BCM91250A (SWARM)
This kernel optimized for board runs with CFE
Determined physical RAM map:
 memory: 0fe48e00 @  (usable)
 memory: 0e00 @ 8000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  DMA32   0 -  1048576
  Normal1048576 -  1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0:0 -65096
0:   524288 -   589823
Detected 1 available secondary CPU(s)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 122568
Kernel command line: root=/dev/hda3 console=duart0
Primary instruction cache 32kB, VIVT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Synthesized TLB refill handler (45 instructions).
Synthesized TLB load handler fastpath (59 instructions).
Synthesized TLB store handler fastpath (54 instructions).
Synthesized TLB modify handler fastpath (53 instructions).
PID hash table entries: 2048 (order: 11, 16384 bytes)
Console: colour dum7���ͽ���handover: boot [early0] - real [duart0]
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 483204k/522524k available (3114k kernel code, 38732k reserved, 930k 
data, 196k init, 0k high)
Security Framework initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Checking for the multiply/shift bug... no.
Checking for the daddi bug... no.
Checking for the daddiu bug... no.
CPU revision is: 03040102 (SiByte SB1)
FPU revision is: 000f0102
Primary instruction cache 32kB, VIVT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Synthesized TLB refill handler (45 instructions).
Brought up 2 CPUs
net_namespace: 120 bytes
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
NET: Registered protocol family 2
Time: bcm1250-counter-3 clocksource has been installed.
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1203668933.428:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
duart0 at MMIO 0x10060100 (irq = 8) is a SB1250 DUART
duart1 at MMIO 0x10060200 (irq = 9) is a SB1250 DUART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SWARM IDE driver
ide-swarm: IDE interface at GenBus slot 4
hda: MAXTOR 6L040J2, ATA DISK drive
ide0 at 0x9000100b3e00-0x9000100b3e07,0x9000100b7ec0 on irq 36
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1818KiB Cache, CHS=65535/16/63
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
registered taskstats version 1
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 196k freed

-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#466977: 2.6.24-1-sb1-bcm91250a mipsel hangs running init

2008-02-22 Thread Florian Lohoff
On Fri, Feb 22, 2008 at 11:22:26AM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2008-02-22 09:38]:
  running on a Broadcom SB1 *little endian* the kernel hangs trying to run
  init. The old 2.6.17 works (linux-image-2.6.17-1-sb1 version 2.6.17-5):
 
 Your best bet is to forward this to [EMAIL PROTECTED]

:) 

http://www.debian.org/Bugs/Reporting
Don't file bugs upstream
If you file a bug in Debian, don't send a copy to the upstream
software maintainers yourself, as it is possible

Just nitpicking ... I CCed debian-mips as Thiemo is reading there aswell.
IIRC he said that he is beating sb1 kernel to get it functional so i
was planning to point him to the bug report and opened it to make it visible
that the little endian sb1 port is currently non functional.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Re: [kernel] r10458 - in dists/sid/linux-2.6/debian: . patches/features/all patches/series

2008-02-10 Thread Florian Lohoff
On Sun, Feb 10, 2008 at 10:44:40AM +0100, Bastian Blank wrote:
 Subject: Re: [kernel] r10458 - in dists/sid/linux-2.6/debian: . 
 patches/features/all patches/series
 
 On Sat, Feb 09, 2008 at 10:30:01AM +, Daniel Baumann wrote:
  Added patch from unionfs upstream to export release_open_intent symbol.
 
 And Linux upstream said what about this? It changes the ABI of vmlinux,
 so nack.
 

It even FTBFSes for me on mips:

  (+) OKbugfix/all/git-ieee1394.patch
  (+) OKbugfix/all/fw-ohci-dyn-buffers-dma-descriptors.patch
  (+) OKfeatures/at76.patch
  (+) OKfeatures/ath5k.patch
  (+) OKbugfix/arm/disable-ath5k.patch
  (+) OKbugfix/all/fw-sbp2-incr-login-orb-reply-timeout.patch
  (+) OKbugfix/all/1 out of 1 hunk FAILED -- saving rejects to file 
fs/namei.c.rej
fw-sbp2-skip-unnecessary-logout.patch
  (+) OKbugfix/all/fw-sbp2-try-increase-reconnect_hold.patch
-- 1 fully applied.
  (+) OKbugfix/all/slab-fix-bootstrap-on-memoryless-node.patch
-- 2 fully applied.
  (+) OKfeatures/all/hptiop-update.patch
  (+) OKbugfix/arm/ixp4xx-update-1.patch
  (+) OKbugfix/arm/udev_load_ixp4xx-beeper.patch
-- 3 fully applied.
  (-) OKbugfix/all/slab-fix-bootstrap-on-memoryless-node.patch
  (+) OKbugfix/all/stable/2.6.24.1.patch
  (+) FAIL  features/all/export-unionfs-symbols.patch
make[2]: *** [debian/stamps/source] Error 1
make[2]: Leaving directory `/build/buildd/linux-2.6-2.6.24'
make[1]: *** [source_mips_none_real] Error 2
make[1]: Leaving directory `/build/buildd/linux-2.6-2.6.24'
make: *** [debian/stamps/source-base] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
**
Build finished at 20080210-0520
FAILED [dpkg-buildpackage died]

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Re: success linux-2.6 2.6.24-1 / mips ip22

2008-02-01 Thread Florian Lohoff
On Fri, Feb 01, 2008 at 03:02:45PM +0100, maximilian attems wrote:
 On Thu, 31 Jan 2008, Florian Lohoff wrote:
 
  
  Hi,
  just to let you know - 2.6.24-1snapshot.10206 compiled successfully for
  mips and ip22 kernel actually boots ;)
  
  reset:~# uptime
  12:55:54 up 1 min,  1 user,  load average: 1.05, 0.33, 0.11
  reset:~# uname -a
  Linux reset 2.6.24-1-r4k-ip22 #1 Tue Jan 29 13:51:51 UTC 2008 mips64 
  GNU/Linux
 
 cool, thanks for your feedback and testing :)

I have an autobuilder running compiling sid and trunk kernel packages.
It takes ~6 days for a single compile but nevertheless at least every
week there is a result whether the kernel package still builds for mips ;)

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


success linux-2.6 2.6.24-1 / mips ip22

2008-01-31 Thread Florian Lohoff

Hi,
just to let you know - 2.6.24-1snapshot.10206 compiled successfully for
mips and ip22 kernel actually boots ;)

reset:~# uptime
12:55:54 up 1 min,  1 user,  load average: 1.05, 0.33, 0.11
reset:~# uname -a
Linux reset 2.6.24-1-r4k-ip22 #1 Tue Jan 29 13:51:51 UTC 2008 mips64 GNU/Linux

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Re: linux-2.6_2.6.24~rc8-1~experimental.2~snapshot.10147 FTBFS on mips

2008-01-21 Thread Florian Lohoff
On Mon, Jan 21, 2008 at 05:22:48PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2008-01-21 15:00]:
  linux-2.6 version linux-2.6_2.6.24~rc8-1~experimental.2~snapshot.10147
  FTBFS on mips:
CC [M]  drivers/net/niu.o
  {standard input}: Assembler messages:
  {standard input}:293: Error: Branch out of range
  make[6]: *** [drivers/net/niu.o] Error 1
 
 Which toolchain are you using?  Current sid?

Current SID AFAIK:

(sid)[EMAIL PROTECTED]:/home/buildd# dpkg -l gcc binutils build-essential
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  binutils   2.18.1~cvs20071027 The GNU assembler, linker and binary 
utilities
ii  build-essential11.3   informational list of build-essential 
packages
ii  gcc4:4.2.2-1  The GNU C compiler

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Re: linux-2.6_2.6.24~rc5-1~experimental.1~snapshot.9974 FTBFS on mips due to advansys

2007-12-27 Thread Florian Lohoff
On Thu, Dec 27, 2007 at 08:24:48PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-12-23 10:11]:
SYSMAP  .tmp_System.map
  objcopy -O elf32-tradbigmips  --remove-section=.reginfo vmlinux vmlinux.32
Building modules, stage 2.
MODPOST 552 modules
  ERROR: free_dma [drivers/scsi/advansys.ko] undefined!
  make[5]: *** [__modpost] Error 1
 
 I still cannot reproduce this myself, but I've disabled the module on
 mips.

Are you building the whole package with all kernels ? It fails for me on
the ip32 kernel. I can send you the full sbuild output - Its in a
unmodified sid chroot with the package source mentioned.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


linux-2.6_2.6.24~rc5-1~experimental.1~snapshot.9974 FTBFS on mips due to advansys

2007-12-23 Thread Florian Lohoff

Hi,
snapshot 9974 still FTBFS on mips due to advansys ...


Automatic build of linux-2.6_2.6.24~rc5-1~experimental.1~snapshot.9974 on 
resume.rfc822.org by sbuild/mips 0.57
Build started at 20071219-1802
**
Failed to open ./linux-2.6_2.6.24~rc5-1~experimental.1~snapshot.9974.dsc
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
Reading state information...
Need to get 59.4MB of source archives.
Get:1 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc5-1~experimental.1~snapshot.9974 (dsc) [4448B]
Get:2 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc5-1~experimental.1~snapshot.9974 (tar) [58.5MB]
Get:3 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc5-1~experimental.1~snapshot.9974 (diff) [897kB]
Fetched 59.4MB in 1m10s (842kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (= 4.1.0), module-init-tools, dpkg-dev (= 1.10.23), 
sparc-utils [sparc], kernel-package (= 10.063), python, gcc-4.1 [alpha amd64 
arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc], binutils-hppa64 
[hppa], gcc-4.1-hppa64 [hppa], gcc-3.3 [m68k]
Build-Depends-Indep: bzip2, findutils (= 4.2.12), python-central, xmlto
Checking for already installed source dependencies...
debhelper: already installed (5.0.62 = 4.1.0 is satisfied)
module-init-tools: already installed (3.3-pre11-4)
dpkg-dev: already installed (1.14.12 = 1.10.23 is satisfied)
kernel-package: already installed (11.001 = 10.063 is satisfied)
python: already installed (2.4.4-6)
gcc-4.1: already installed (4.1.2-18)
Checking for source dependency conflicts...
Checking correctness of source dependencies...
Kernel: Linux 2.6.23-1-r4k-ip22 mips (mips64)
Toolchain package versions: libc6-dev_2.7-4 linux-libc-dev_2.6.23-1 
gcc-4.2_4.2.2-4 g++-4.2_4.2.2-4 binutils_2.18.1~cvs20071027-1 
libstdc++6-4.2-dev_4.2.2-4 libstdc++6_4.2.2-4
--
gpg: Signature made Tue Dec 18 23:23:14 2007 UTC using DSA key ID DAEE1CDC
gpg: Can't check signature: public key not found
dpkg-source: extracting linux-2.6 in linux-2.6-2.6.24~rc5
dpkg-source: unpacking linux-2.6_2.6.24~rc5.orig.tar.gz
dpkg-source: applying 
./linux-2.6_2.6.24~rc5-1~experimental.1~snapshot.9974.diff.gz
dpkg-buildpackage: source package linux-2.6
dpkg-buildpackage: source version 2.6.24~rc5-1~experimental.1~snapshot.9974
dpkg-buildpackage: host architecture mips

[...]

  AS  arch/mips/lib/strnlen_user.o
  CC  arch/mips/lib/uncached.o
  AR  arch/mips/lib/lib.a
  GEN .version
  CHK include/linux/compile.h
  UPD include/linux/compile.h
  CC  init/version.o
  LD  init/built-in.o
  LD  .tmp_vmlinux1
  KSYM.tmp_kallsyms1.S
  AS  .tmp_kallsyms1.o
  LD  .tmp_vmlinux2
  KSYM.tmp_kallsyms2.S
  AS  .tmp_kallsyms2.o
  LD  vmlinux.o
  MODPOST vmlinux.o
  LD  vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
objcopy -O elf32-tradbigmips  --remove-section=.reginfo vmlinux vmlinux.32
  Building modules, stage 2.
  MODPOST 552 modules
ERROR: free_dma [drivers/scsi/advansys.ko] undefined!
make[5]: *** [__modpost] Error 1
make[4]: *** [modules] Error 2
make[4]: Leaving directory 
`/build/buildd/linux-2.6-2.6.24~rc5/debian/build/build_mips_none_r5k-ip32'
make[3]: *** [debian/stamp-build-kernel] Error 2
make[3]: Leaving directory 
`/build/buildd/linux-2.6-2.6.24~rc5/debian/build/build_mips_none_r5k-ip32'
make[2]: *** [debian/stamps/build_mips_none_r5k-ip32_kernel-package] Error 2
make[2]: Leaving directory `/build/buildd/linux-2.6-2.6.24~rc5'
make[1]: *** [build_mips_none_r5k-ip32_real] Error 2
make[1]: Leaving directory `/build/buildd/linux-2.6-2.6.24~rc5'
make: *** [debian/stamps/build-base] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
**
Build finished at 20071222-2306
FAILED [dpkg-buildpackage died]
Purging /chroots/chroot-sid/build/buildd/linux-2.6-2.6.24~rc5
--
**
Finished at 20071222-2306
Build needed 77:02:34, 0k disk space

-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


linux-2.6_2.6.24~rc5-1~experimental.1~snapshot.9955 FTBFS mips Was: linux-2.6_2.6.24~rc3-1~experimental.1~snapshot.9858 FTBFS on mips

2007-12-19 Thread Florian Lohoff
On Mon, Dec 17, 2007 at 10:01:14PM -0700, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-12-08 18:17]:
  i tried building the last snapshot on mips and it FTBFS's ...
 
 I just compild 2.6.24~rc5 and it seems to build just fine, so I assume
 this got fixed upstream.

I tried snapshot 9955 and it failed - Which version did you try?

[...]
Get:1 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc5-1~experime
ntal.1~snapshot.9955 (dsc) [4448B]
Get:2 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc5-1~experime
ntal.1~snapshot.9955 (tar) [58.5MB]
Get:3 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc5-1~experime
ntal.1~snapshot.9955 (diff) [897kB]
[...]
== making target BUILD/linux-image-2.6.24-rc5-r5k-ip32 [new prereqs: 
BUILD-arch]==


== making target debian/stamp-build-kernel [new prereqs: sanity_check 
stamp-kernel
-conf]==
This is kernel package version 11.001.
/usr/bin/makeARCH=mips \
CROSS_COMPILE='' 
make[4]: Entering directory 
`/build/buildd/linux-2.6-2.6.24~rc5/debian/build/build_mip
s_none_r5k-ip32'
  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
[...]
  LD  .tmp_vmlinux2
  KSYM.tmp_kallsyms2.S
  AS  .tmp_kallsyms2.o
  LD  vmlinux.o
  MODPOST vmlinux.o
  LD  vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
objcopy -O elf32-tradbigmips  --remove-section=.reginfo vmlinux vmlinux.32
  Building modules, stage 2.
  MODPOST 552 modules
ERROR: free_dma [drivers/scsi/advansys.ko] undefined!
make[5]: *** [__modpost] Error 1
make[4]: *** [modules] Error 2
make[4]: Leaving directory 
`/build/buildd/linux-2.6-2.6.24~rc5/debian/build/build_mips
_none_r5k-ip32'
make[3]: *** [debian/stamp-build-kernel] Error 2
make[3]: Leaving directory 
`/build/buildd/linux-2.6-2.6.24~rc5/debian/build/build_mips
_none_r5k-ip32'
[...]
Build finished at 20071219-1659
FAILED [dpkg-buildpackage died]
Purging /chroots/chroot-sid/build/buildd/linux-2.6-2.6.24~rc5
--
**
Finished at 20071219-1659
Build needed 79:02:36, 0k disk space

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


[patch] dmfe installer problems

2007-12-09 Thread Florian Lohoff

Hi,
in #454618 and #360699 we have reports about failed installs on the Sun
Netra X1. This is caused by the dmfe driver claiming an incompatible
device (due to the same PCI ID for compatible and incompatible device).

The tulip driver has some logic to refuse to touch the problematic dmfe
devices:

drivers/net/tulip_core.c
1279 /*
1280  *  Early DM9100's need software CRC and the DMFE driver
1281  */
1282 
1283 if (pdev-vendor == 0x1282  pdev-device == 0x9100)
1284 {
1285 /* Read Chip revision */
1286 if (pdev-revision  0x30)
1287 {
1288 printk(KERN_ERR PFX skipping early DM9100 with 
Crc bug (use dmfe)\n);
1289 return -ENODEV;
1290 }
1291 }

but dmfe doesnt. So dmfe claims the tulip devices but fails to work with
them. One of the symptoms is that it fails to read the mac address and
sets an all 0 MAC address.

I would propose a patch like this (only compile tested): 

diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c
index b4891ca..b8511f6 100644
--- a/drivers/net/tulip/dmfe.c
+++ b/drivers/net/tulip/dmfe.c
@@ -362,6 +362,7 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev,
struct net_device *dev;
u32 pci_pmr;
int i, err;
+   u8 macor=0;
DECLARE_MAC_BUF(mac);
 
DMFE_DBUG(0, dmfe_init_one(), 0);
@@ -464,8 +465,19 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev,
cpu_to_le16(read_srom_word(db-ioaddr, i));
 
/* Set Node address */
-   for (i = 0; i  6; i++)
+   for (i = 0; i  6; i++) {
dev-dev_addr[i] = db-srom[20 + i];
+   macor |= db-srom[20 + i];
+   }
+
+   /*
+* tulip claims to be able to handle revision = 0x30. In case we
+* failed to read the MAC address it might be wise to let tulip try ...
+*/
+   if (!macor  pdev-revision = 0x30) {
+   err = -ENODEV;
+   goto err_out_res;
+   }
 
err = register_netdev (dev);
if (err)

The problematic chip which should be taken care of by the tulip driver
but instead beeing claimed by dmfe is of revision 0x31 and the dmfe
fails to read the mac address.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


linux-2.6_2.6.24~rc3-1~experimental.1~snapshot.9858 FTBFS on mips

2007-12-08 Thread Florian Lohoff

Hi,
i tried building the last snapshot on mips and it FTBFS's ...

Next snapshot already building (a single build takes ~6 days
on a 250Mhz Indigo2 with 256MByte)

Do these experimental snapshots deserve an opened bug !?!?

Flo

- Forwarded message from Source Builder [EMAIL PROTECTED] -

From: Source Builder [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Log for failed build of 
linux-2.6_2.6.24~rc3-1~experimental.1~snapshot.9858 (dist=kernel-trunk)
Date: Sat,  8 Dec 2007 17:46:22 +0100 (CET)
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.50, version=1.1.3

Automatic build of linux-2.6_2.6.24~rc3-1~experimental.1~snapshot.9858 on 
resume.rfc822.org by sbuild/mips 0.56
Build started at 20071205-1241
**
Failed to open ./linux-2.6_2.6.24~rc3-1~experimental.1~snapshot.9858.dsc
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
Reading state information...
Skipping already downloaded file 
'linux-2.6_2.6.24~rc3-1~experimental.1~snapshot.9858.dsc'
Need to get 59.4MB of source archives.
Get:1 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc3-1~experimental.1~snapshot.9858 (tar) [58.5MB]
Get:2 http://kernel-archive.buildserver.net trunk/main linux-2.6 
2.6.24~rc3-1~experimental.1~snapshot.9858 (diff) [900kB]
Fetched 57.9MB in 59s (970kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (= 4.1.0), module-init-tools, dpkg-dev (= 1.10.23), 
sparc-utils [sparc], kernel-package (= 10.063), python, gcc-4.1 [alpha amd64 
arm armel hppa i386 ia64 mips mipsel powerpc s390 sparc], binutils-hppa64 
[hppa], gcc-4.1-hppa64 [hppa], gcc-3.3 [m68k]
Build-Depends-Indep: bzip2, findutils (= 4.2.12), python-central, xmlto
Checking for already installed source dependencies...
debhelper: already installed (5.0.62 = 4.1.0 is satisfied)
module-init-tools: already installed (3.3-pre11-4)
dpkg-dev: already installed (1.14.12 = 1.10.23 is satisfied)
kernel-package: already installed (11.001 = 10.063 is satisfied)
python: already installed (2.4.4-6)
gcc-4.1: already installed (4.1.2-17)
Checking for source dependency conflicts...
Checking correctness of source dependencies...
Kernel: Linux 2.6.23-1-r4k-ip22 mips (mips64)
Toolchain package versions: libc6-dev_2.7-3 linux-libc-dev_2.6.22-6 
gcc-4.2_4.2.2-4 g++-4.2_4.2.2-4 binutils_2.18.1~cvs20071027-1 
libstdc++6-4.2-dev_4.2.2-4 libstdc++6_4.2.2-4
--

[...]

  AS  arch/mips/lib/strnlen_user.o
  CC  arch/mips/lib/uncached.o
  AR  arch/mips/lib/lib.a
  GEN .version
  CHK include/linux/compile.h
  UPD include/linux/compile.h
  CC  init/version.o
  LD  init/built-in.o
  LD  .tmp_vmlinux1
  KSYM.tmp_kallsyms1.S
  AS  .tmp_kallsyms1.o
  LD  .tmp_vmlinux2
  KSYM.tmp_kallsyms2.S
  AS  .tmp_kallsyms2.o
  LD  vmlinux.o
  MODPOST vmlinux.o
  LD  vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
objcopy -O elf32-tradbigmips  --remove-section=.reginfo vmlinux vmlinux.32
  Building modules, stage 2.
  MODPOST 550 modules
ERROR: free_dma [drivers/scsi/advansys.ko] undefined!
make[5]: *** [__modpost] Error 1
make[4]: *** [modules] Error 2
make[4]: Leaving directory 
`/build/buildd/linux-2.6-2.6.24~rc3/debian/build/build_mips_none_r5k-ip32'
make[3]: *** [debian/stamp-build-kernel] Error 2
make[3]: Leaving directory 
`/build/buildd/linux-2.6-2.6.24~rc3/debian/build/build_mips_none_r5k-ip32'
make[2]: *** [debian/stamps/build_mips_none_r5k-ip32_kernel-package] Error 2
make[2]: Leaving directory `/build/buildd/linux-2.6-2.6.24~rc3'
make[1]: *** [build_mips_none_r5k-ip32_real] Error 2
make[1]: Leaving directory `/build/buildd/linux-2.6-2.6.24~rc3'
make: *** [debian/stamps/build-base] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
**
Build finished at 20071208-1746
FAILED [dpkg-buildpackage died]
Purging /chroots/chroot-sid/build/buildd/linux-2.6-2.6.24~rc3
--
**
Finished at 20071208-1746
Build needed 77:03:24, 0k disk space

- End forwarded message -

-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-30 Thread Florian Lohoff
On Mon, Nov 26, 2007 at 12:21:49PM +, Thiemo Seufer wrote:
 With proper support in the installer, different images, and even further
 increased buildd time: Quite a lot.

The point is that there are probably a lot ore IP22 old-r4k users than
there are matla 4kc or 5kc users ;) And those have a kernel (but no d-i
support)

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-27 Thread Florian Lohoff
On Fri, Nov 23, 2007 at 05:32:56PM +, Thiemo Seufer wrote:
 Gcc 4.2 has -mfix-r4000 and -mfix-r4400 options which work around some
 of those errata. Maybe that's enough to make it work.

Nope - not enough - Neither -mfix-r4000 nor both let me create a working
64bit kernel ...

I guess very old 100Mhz R4k IP22 are out of business then ...

I compiled the current debian 2.6.23-experimental with CONFIG_32BIT=y
and the machine is happy.

linux-image-2.6.23-1-r4k-ip22-32_2.6.23-1~experimental.1~snapshot.9737_mips.deb

reconfig:~# uname -a
Linux reconfig.rfc822.org 2.6.23-1-r4k-ip22-32 #1 Tue Nov 27 09:12:47 UTC 2007 
mips GNU/Linux

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-26 Thread Florian Lohoff
On Fri, Nov 23, 2007 at 07:04:17PM +, Thiemo Seufer wrote:
 Unless we use the compiler options mentioned before, which is probably
 not sensible given the performance impcat for other machines.
 
 However, keeping the kernel for IP22 at 64 bit sounds valuable to me,
 as most machines can make use of it.

Do you mean as a default ip22 image or as the only one? How much work 
would it be to also provive ip22-32 images? The config is basically the
same except a single CONFIG item...

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-24 Thread Florian Lohoff
On Sat, Nov 24, 2007 at 01:01:44PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-11-23 19:04]:
   Can you test a kernel if I compile one with that change?
  Definitly - tested and rebooted a couple hundret times the last days ;)
 
 Can you try
 http://merkel.debian.org/~tbm/tmp/linux-image-2.6.23-1-r4k-ip22_2.6.23-1~experimental.1_mips.deb
 It contains the 3 patches Thomas posted yesterday evening.

Okay - i comes past the typical trip points but later when going
to userspace throws errors a lot ...

Activating swap:swapon on /dev/sdf2
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
swapon: /dev/sdf2: Cannot alloallocation failed: out of vmalloc space - use 
vmalloc=size to increase size.
cate memory
swapon on /dev/sde2
swapon: /dev/sde2: Cannot allocate memory
 failed!

The out of vmalloc space appears a couple dozend times booting.

resume:~# uname -a
Linux resume.rfc822.org 2.6.23-1-r4k-ip22 #1 Sat Nov 24 10:56:20 UTC 2007 
mips64 GNU/Linux
resume:~# uptime
 21:33:34 up 4 min,  1 user,  load average: 0.17, 0.39, 0.19
cresume:~# cat /proc/cpuinfo
system type : SGI Indigo2
processor   : 0
cpu model   : R4400SC V6.0  FPU V0.0
BogoMIPS: 124.41
wait instruction: no
microsecond timers  : yes
tlb_entries : 48
extra interrupt vector  : no
hardware watchpoint : yes
ASEs implemented:
VCED exceptions : 542600
VCEI exceptions : 26488

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-23 Thread Florian Lohoff
On Fri, Nov 23, 2007 at 06:18:00PM +0100, Martin Michlmayr wrote:
 Thomas Bogendoerfer said a select I8259 for IP22 should work around
 this (he's working on a proper fix now).  I'll do that for 2.6.23
 since there won't be another upload of 2.6.22.

Yep 

 Can you test a kernel if I compile one with that change?

Definitly - tested and rebooted a couple hundret times the last days ;)
I am loosing weight if this goes on - machines are about 200m away from
my desk ;)

  Then there is another bug showing up. The MAC Address from PROM
  retreival does not work which is a known bug in git also so unless
  you set the mac address manually you are offline.
 
 I guess Thomas is aware of this?

Yep - talked to him a couple of minutes ago and he said he'll send 
patches for the problems mentioned to ralf today.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-23 Thread Florian Lohoff
On Fri, Nov 23, 2007 at 07:04:17PM +, Thiemo Seufer wrote:
 Unless we use the compiler options mentioned before, which is probably
 not sensible given the performance impcat for other machines.
 
 However, keeping the kernel for IP22 at 64 bit sounds valuable to me,
 as most machines can make use of it.

The question is how many people/machines are affected by this .. I have
no problem simply recompiling the kernel for 32bit for that one machine
of mine.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-23 Thread Florian Lohoff
On Sun, Nov 18, 2007 at 07:11:53PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-11-18 19:02]:
  Version: 2.6.22-6
  the kernel linux-image-2.6.22-3-r4k-ip22_2.6.22-6_mips.deb dies
  early on an SGI IP22 (mips) with
 
 That's strange because I booted a kernel just fine when I added the
 patches to 2.6.22-6.  I'll test the .deb tomorrow.

Okay - So one of the bugs is the EISA irq initialization. Disabling
CONFIG_EISA works on my I2 in respect to booting.

Then there is another bug showing up. The MAC Address from PROM
retreival does not work which is a known bug in git also so unless
you set the mac address manually you are offline.

This is also the reason the r5k Indy worked as it does not have an EISA
bus.

The cause for the 100Mhz r4k ip22 Indy not working is still unknown
though.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-23 Thread Florian Lohoff
On Sun, Nov 18, 2007 at 07:11:53PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-11-18 19:02]:
  Version: 2.6.22-6
  the kernel linux-image-2.6.22-3-r4k-ip22_2.6.22-6_mips.deb dies
  early on an SGI IP22 (mips) with
 
 That's strange because I booted a kernel just fine when I added the
 patches to 2.6.22-6.  I'll test the .deb tomorrow.

Okay - Now we got it:

SGI IP22 Indigo2 250Mhz fails because of wrong EISA IRQ numbering
overwriting CPU interrupts discovered by Thomas Bogendoerfer.
Additionally there is a broken MAP_BASE which causes modules to not
work.

-#define MAP_BASE   0xc000
+#define MAP_BASE   0xc000

Additionally the I2 fails to get the MAC Address from the PROM so we
end with 00:00:00:00:00 ...

SGI IP22 Indy r4k 100Mhz will not be able to boot unmodified 64bit
kernels. There are 64bit erratas for R4000SC Revision 3.0 which
prohibit running 64bit code without kernel and gcc modifications.
The only solution will be to run a 32bit kernel. I compiled
the debian source with debian config except with 32Bit and it works.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-23 Thread Florian Lohoff
On Fri, Nov 23, 2007 at 05:54:52PM +, Thiemo Seufer wrote:
  That's a decision Thiemo would have to make.  Thiemo, why is our IP22
  kernel 64 bit again?
 
 The idea is to provide 64-bit kernels where possible, so n32/n64
 can work alongside o32.

The errata Thomas ad-hoc found was for example that a double-word shift
garbles an integer multiplication. This would cause an n32/n64
userspace also to break in colorful ways if not compiled with these
workarounds. So running 64bit on these kind of machines might be 
too much hassle ...

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-19 Thread Florian Lohoff
On Sun, Nov 18, 2007 at 07:11:53PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-11-18 19:02]:
  Version: 2.6.22-6
  the kernel linux-image-2.6.22-3-r4k-ip22_2.6.22-6_mips.deb dies
  early on an SGI IP22 (mips) with
 
 That's strange because I booted a kernel just fine when I added the
 patches to 2.6.22-6.  I'll test the .deb tomorrow.

I have tested on 2 machines now and both behave the same way.
Are you probably using a different arcboot or tftp or something?

This is the machine i tried on today:

   System: IP22 
Processor: 100 Mhz R4000, with FPU  
 Primary I-cache size: 8 Kbytes 
 Primary D-cache size: 8 Kbytes 
 Secondary cache size: 1024 Kbytes  
  Memory size: 128 Mbytes   
 Graphics: Indy 8-bit   

SGI Indy IP22 - 128MB - Friday i tried on an SGI Indigo2 IP22 256MB.

Both with arcboot 0.3.8.8 ...

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-19 Thread Florian Lohoff
On Mon, Nov 19, 2007 at 12:14:09PM +0100, Martin Michlmayr wrote:
 
 Can you build a kernel from linux-mips git and see if that works?

After trying to produce a new toolchain:

net/sched/em_meta.c: In function 'meta_int_loadavg_0':
net/sched/em_meta.c:127: error: PRINT_OPERAND, invalid operand for relocation
(const:DI (plus:DI (symbol_ref:DI (avenrun) [flags 0x40] var_decl 0x405a2960 
avenrun)
(const_int 4 [0x4])))
net/sched/em_meta.c:127: internal compiler error: in print_operand_reloc, at 
config/mips/mips.c:5579
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
{standard input}:1875: Warning: missing .end at end of assembly
make[2]: *** [net/sched/em_meta.o] Error 1
make[1]: *** [net/sched] Error 2
make[1]: *** Waiting for unfinished jobs

Now also while cross-compiling ...

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-19 Thread Florian Lohoff
On Mon, Nov 19, 2007 at 12:13:29PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-11-19 11:10]:
  I have tested on 2 machines now and both behave the same way.
  Are you probably using a different arcboot or tftp or something?
 
 Strange.  It works for me:
 
 arcsboot: ARCS Linux ext2fs loader 0.3.8.8

I had another try on Machine #3 which is an 150Mhz R5k Indy and it works
there. So i have 2 of 3 machines not working ... I'll try a linux-mips
git kernel ...

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-19 Thread Florian Lohoff
  
$28   : 88398000 8839bde0 00d0 8808bac8
Hi: 
Lo: 0080
epc   : 8808bb5c cache_alloc_refill+0x8c/0x710 Not tainted
ra: 8808bac8 kmem_cache_alloc+0xe0/0xe8
Status: 1400cce2KX SX UX KERNEL EXL 
Cause : 0034
PrId  : 0430 (R4000SC)
Modules linked in:
Process swapper (pid: 0, threadinfo=88398000, task=8839c2a8)
Stack : 00d0  1400cce1 8843
00d0 8fc16140 0080 
00042000 00042000 8834c568 8808bac8
8fc16140 8843 883acfa0 0080
882da754 0080 0100 
8fc16140 8808cdb4 001e 
0001 ff80  
 0014 883acfb0 883f57f8
0004 883acfa0 883ad118 88430058
883f 883b 8843 883e69a0
...
Call Trace:
[8808bb5c] cache_alloc_refill+0x8c/0x710
[8808bac8] kmem_cache_alloc+0xe0/0xe8
[882da754] setup_cpu_cache+0x64/0x168
[8808cdb4] kmem_cache_create+0x37c/0x548
[883e69a0] kmem_cache_init+0x428/0x430
[883cfb18] start_kernel+0x270/0x3d8


Code: 14e2  24020001  2d620001 00028036 dd720040  124d    
8e030004  8e45 
Kernel panic - not syncing: Attempted to kill the idle task!

-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-19 Thread Florian Lohoff
On Mon, Nov 19, 2007 at 03:36:28PM +0100, Martin Michlmayr wrote:
 * Florian Lohoff [EMAIL PROTECTED] [2007-11-19 14:01]:
  After trying to produce a new toolchain:
 
 Set CONFIG_BUILD_ELF64=y in the kernel and this won't happen.

Its doesnt seem to exist anymore ...

[EMAIL PROTECTED]:~/mips-git/linux.git$ rgrep BUILD_ELF64 *
arch/mips/configs/ip27_defconfig:# CONFIG_BUILD_ELF64 is not set
arch/mips/configs/sb1250-swarm_defconfig:# CONFIG_BUILD_ELF64 is not set
arch/mips/configs/ip32_defconfig:# CONFIG_BUILD_ELF64 is not set
arch/mips/configs/bigsur_defconfig:# CONFIG_BUILD_ELF64 is not set
arch/mips/configs/fulong_defconfig:# CONFIG_BUILD_ELF64 is not set

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#451805: linux-image-2.6.22-3-r4k-ip22 dies early on boot / Starting ELF64 kernel

2007-11-18 Thread Florian Lohoff

Package: linux-2.6
Version: 2.6.22-6
Severity: grave
Justification: renders package unusable

Hi,
the kernel linux-image-2.6.22-3-r4k-ip22_2.6.22-6_mips.deb dies
early on an SGI IP22 (mips) with 

Starting ELF64 kernel

And then its dead - Last lines:

 boot
60928+176+320 entry: 0x88802d9c

arcsboot: ARCS Linux ext2fs loader 0.3.8.8

Loading linux from scsi(1)disk(5)rdisk(0)partition(0)
Allocated 0x38 bytes for segments
Loading 64-bit executable
Loading program segment 1 at 0x88004000, offset=0x0 4000, size = 0x045c086
Zeroing memory at 0x73a78b, size = 0x0
Starting ELF64 kernel

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#448488: linux-image-2.6.22-3-r4k-ip22: crashes hard on boot

2007-10-29 Thread Florian Lohoff
Package: linux-image-2.6.22-3-r4k-ip22
Severity: grave
Justification: renders package unusable


The obove mentioned kernel crashes hard on an 100Mhz R4000 IP22
in dosample - Here are the boot messages:

   Starting up the system...

   To perform system maintenance instead, press Esc


System Maintenance Menu

1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor

Option? 5
Command Monitor.  Type exit to return to the menu.
 printenv
OSLoadPartition=scsi(0)disk(1)rdisk(0)partition(0)
OSLoader=arcboot
OSLoadFilename=linux
AutoLoad=Yes
TimeZone=PST8PDT
console=d
diskless=0
dbaud=9600
volume=80
sgilogo=y
autopower=y
netaddr=195.71.99.216
eaddr=08:00:69:06:f5:88
ConsoleOut=serial(0)
ConsoleIn=serial(0)
cpufreq=100
SystemPartition=scsi(0)disk(1)rdisk(0)partition(8)
 hinv
   System: IP22
Processor: 100 Mhz R4000, with FPU
 Primary I-cache size: 8 Kbytes
 Primary D-cache size: 8 Kbytes
 Secondary cache size: 1024 Kbytes
  Memory size: 128 Mbytes
 Graphics: Indy 8-bit
SCSI Disk: scsi(0)disk(1)
SCSI Disk: scsi(0)disk(2)
SCSI Disk: scsi(0)disk(3)
SCSI Disk: scsi(0)disk(4)
SCSI Disk: scsi(0)disk(5)
SCSI Disk: scsi(0)disk(6)
SCSI Disk: scsi(0)disk(7)
Audio: Iris Audio Processor: version A2 revision 4.1.0
 boot
60928+176+320 entry: 0x88802d9c

arcsboot: ARCS Linux ext2fs loader 0.3.8.8

Loading linux from scsi(0)disk(1)rdisk(0)partition(0)
Allocated 0x38 bytes for segments
Loading 64-bit executable
Loading program segment 1 at 0x88004000, offset=0x0 4000, size = 0x0 45c085
Starting ELF64 kernel
Linux version 2.6.22-3-r4k-ip22 (Debian 2.6.22-5) ([EMAIL PROTECTED]) (gcc 
version 4.1.3 20071019 (prerelease) (Debian 4.1.2-17)) #1 Tue Oct 23 01:53:56 
UTC 2007
ARCH: SGI-IP22
PROMLIB: ARC firmware Version 1 Revision 10
CPU revision is: 0430
FPU revision is: 0500
MC: SGI memory controller Revision 3
MC: Probing memory configuration:
 bank0:  64M @ 0800
 bank1:  64M @ 0c00
Determined physical RAM map:
 memory: 0800 @ 0800 (usable)
Wasting 1835008 bytes for tracking 32768 unused pages
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 64640
Kernel command line: root=/dev/sda1
Primary instruction cache 8kB, physically tagged, direct mapped, linesize 16 
bytes.
Primary data cache 8kB, direct mapped, linesize 16 bytes.
Unified secondary cache 1024kB direct mapped, linesize 128 bytes.
Synthesized TLB refill handler (32 instructions).
Synthesized TLB load handler fastpath (45 instructions).
Synthesized TLB store handler fastpath (45 instructions).
Synthesized TLB modify handler fastpath (44 instructions).
PID hash table entries: 1024 (order: 10, 8192 bytes)
Calibrating system timer... 1CPU 0 Unable to handle kernel paging request at 
virtual address 00b8, epc == 88005f4c, ra == 
884169e8
Oops[#1]:
Cpu 0
$ 0   :  8846 10624dd3 00fc
$ 4   : 00030e00 bfbd9880 ff80 
$ 8   : 05b9  0001 883dbde4
$12   :  0004  0001
$16   : 88463b60 8840a000 0002 8881
$20   : 88810f14 a87ff53c 0007 8881
$24   : 1507 0001  
$28   : 883d8000 883dbf60 a87ff234 884169e8
Hi: 320c
Lo: 49ba8a00
epc   : 88005f4c dosample+0xcc/0xf8 Not tainted
ra: 884169e8 indy_time_init+0x38/0x190
Status: 14044ce2KX SX UX KERNEL EXL 
Cause : 800c
BadVA : 00b8
PrId  : 0430
Modules linked in:
Process swapper (pid: 0, threadinfo=883d8000, task=883dc2f0)
Stack : 88463b60 8840a000 0002 8841a764
88463b60 8840a000 8840b0f8 8840b0f0
88463b60   88802fdc
   
   
Call Trace:
[88005f4c] dosample+0xcc/0xf8
[884169e8] indy_time_init+0x38/0x190
[8841a764] time_init+0x34/0x610
[8840b0f8] start_kernel+0x350/0x620


Code: 00820019  90a3003f  306300ff a00300b8 2010  000421c2  00041880  
000411c0  00431023 
Kernel panic - not syncing: Attempted to kill the idle task!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#435379: linux-image-2.6.18-4-686: oops while removing btaudio module

2007-07-31 Thread Florian Lohoff
Package: linux-image-2.6.18-4-686
Version: 2.6.18.dfsg.1-12etch2
Severity: normal


Hi,
while poking at the reason why the dvb card did not want to load
a frontend i was removing modules. On removal of the btaudio module
the kernel oopsed. Oops below:

BUG: unable to handle kernel NULL pointer dereference at virtual address 

 printing eip:
d0914139
*pde = 
Oops:  [#1]
SMP 
Modules linked in: dvb_bt8xx dst_ca dst zl10353 ves1x93 ves1820 tda8083 
tda1004x tda10021 stv0299 stv0297 sp887x sp8870 s5h1420 or51211 or51132 nxt6000 
nxt200x mt352 mt312 lnbp21 lgdt330x l64781 isl6421 dvb_pll dib3000mc dib3000mb 
dib3000_common cx22702 cx22700 bcm3510 cx24123 cx24110 dvb_core ipv6 8021q 
ide_cd cdrom bt878 bttv video_buf firmware_class ir_common compat_ioctl32 
i2c_algo_bit btcx_risc tveeprom videodev v4l1_compat v4l2_common btaudio 
soundcore i2c_i801 psmouse shpchp pci_hotplug i2c_core serio_raw intel_agp 
agpgart floppy evdev pcspkr rtc parport_pc parport ext3 jbd mbcache ide_disk 
e100 mii uhci_hcd usbcore piix generic ide_core thermal processor fan
CPU:0
EIP:0060:[d0914139]Not tainted VLI
EFLAGS: 00010282   (2.6.18-4-686 #1) 
EIP is at btaudio_remove+0x10d/0x12c [btaudio]
eax: 0027   ebx: cf4a6480   ecx: cfedf0a0   edx: 
esi: cfe99c00   edi: d091660c   ebp: 0880   esp: cd587efc
ds: 007b   es: 007b   ss: 0068
Process rmmod (pid: 2803, ti=cd586000 task=cf6f1550 task.ti=cd586000)
Stack: cfe99c00 cfe99c48 d091660c 0880 c01c178b cfe99cc0 c0210a0a d091660c 
   cfe99c80 cfe99c48 c0210c4b d091660c  c02d3de0 c021025b d091660c 
   0008  c0210d54 d09165e0 c01c18d5 d0916920 0008 c0135c81 
Call Trace:
 [c01c178b] pci_device_remove+0x16/0x28
 [c0210a0a] __device_release_driver+0x5a/0x72
 [c0210c4b] driver_detach+0x60/0x8d
 [c021025b] bus_remove_driver+0x57/0x75
 [c0210d54] driver_unregister+0x8/0x13
 [c01c18d5] pci_unregister_driver+0xc/0x58
 [c0135c81] sys_delete_module+0x1ad/0x1d4
 [c014ddc2] remove_vma+0x31/0x36
 [c014e674] do_munmap+0x181/0x19b
 [c0102c11] sysenter_past_esp+0x56/0x79
Code: 8d 48 01 8b 96 b4 01 00 00 b8 5c aa 2c c0 e8 d8 e1 80 ef 8b 15 80 6b 91 
d0 39 d3 75 0e c7 05 80 6b 91 d0 00 00 00 00 eb 0c 89 c2 8b 02 39 d8 75 f8 8b 
03 89 02 c7 86 48 01 00 00 00 00 00 00 89 
EIP: [d0914139] btaudio_remove+0x10d/0x12c [btaudio] SS:ESP 0068:cd587efc
 


-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages linux-image-2.6.18-4-686 depends on:
ii  coreutils 5.97-5.3   The GNU core utilities
ii  debconf [debconf-2.0] 1.4.57 Debian configuration management sy
ii  initramfs-tools [linux-initra 0.85g  tools for generating an initramfs
ii  module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.18-4-686 recommends:
ii  libc6-i686  2.3.6.ds1-13 GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.18-4-686/preinst/failed-to-move-modules-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/lilo-initrd-2.6.18-4-686: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.18-4-686/preinst/elilo-initrd-2.6.18-4-686: true
  linux-image-2.6.18-4-686/preinst/overwriting-modules-2.6.18-4-686: true
  linux-image-2.6.18-4-686/prerm/removing-running-kernel-2.6.18-4-686: true
  linux-image-2.6.18-4-686/prerm/would-invalidate-boot-loader-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/bootloader-test-error-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/abort-overwrite-2.6.18-4-686:
  linux-image-2.6.18-4-686/postinst/old-system-map-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/depmod-error-2.6.18-4-686: false
  linux-image-2.6.18-4-686/preinst/abort-install-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.18-4-686/postinst/bootloader-error-2.6.18-4-686:
  linux-image-2.6.18-4-686/postinst/depmod-error-initrd-2.6.18-4-686: false
  linux-image-2.6.18-4-686/postinst/old-initrd-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/preinst/bootloader-initrd-2.6.18-4-686: true
  linux-image-2.6.18-4-686/preinst/already-running-this-2.6.18-4-686:
  linux-image-2.6.18-4-686/preinst/initrd-2.6.18-4-686:
  linux-image-2.6.18-4-686/postinst/create-kimage-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/old-dir-initrd-link-2.6.18-4-686: true
  linux-image-2.6.18-4-686/postinst/kimage-is-a-directory:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429011: [OOPS] cyclades modules error path broken ?

2007-06-15 Thread Florian Lohoff

Package: linux-image-2.6.18-4-486
Version: 2.6.18.dfsg.1-1

Hi,
i am using the cyclades multiserial driver. There seems to be a bug in
the error path on loading the driver. The cyclades Hardware consists of
the PCI card and an external serial box. If the serial box is not
connected the driver recognizes this and bails out. Unloading
and reloading the module fails in this case with the below error
message:

Cyclades driver 2.3.2.20 2004/02/25 18:14:16
built May  9 2007 22:29:11
PCI: Unable to reserve mem region #1:[EMAIL PROTECTED] for device :01:07.0
cyclades: failed to reserve PCI resources

The first time the module loaded it looked like this:

Cyclades driver 2.3.2.20 2004/02/25 18:14:16
built May  9 2007 22:29:11
ACPI: PCI Interrupt :01:07.0[A] - Link [LNKB] - GSI 5 (level, low) - IRQ 
5
Cyclom-Y PCI host card with no Serial-Modules at 0xf410.

01:07.0 Communication controller: Cyclades Corporation Cyclom-Y above first 
megabyte (rev 01)
Subsystem: Cyclades Corporation Unknown device 0100
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- 
TAbort- MAbort- SERR- PERR-
Interrupt: pin A routed to IRQ 5
Region 0: Memory at f4105000 (32-bit, non-prefetchable) [size=128]
Region 1: I/O ports at 3400 [size=128]
Region 2: Memory at f410 (32-bit, non-prefetchable) [size=16K]

Doing a cat /proc/iomem results in a:

[EMAIL PROTECTED]:~# cat /proc/iomem
Segmentation fault

And:

 1BUG: unable to handle kernel paging request at virtual address c89c83be
 printing eip:
c01ac595
*pde = 07ab2067
*pte = 
Oops:  [#2]
Modules linked in: cyclades button ac battery autofs4 ipv6 dm_snapshot 
dm_mirror dm_mod i810_audio ac97_codec evdev psmouse serio_raw intel_rng shpchp 
i2c_i801 i2c_core intel_agp snd_intel8x0 pcspkr parport_pc parport rtc agpgart 
snd_ac97_codec snd_ac97_bus floppy snd_pcm snd_timer snd soundcore 
snd_page_alloc pci_hotplug ext3 jbd ide_disk piix generic ide_core e100 mii 
uhci_hcd usbcore thermal processor fan
CPU:0
EIP:0060:[c01ac595]Not tainted VLI
EFLAGS: 00010297   (2.6.18-4-486 #1)
EIP is at vsnprintf+0x288/0x458
eax: c89c83be   ebx: c78c5f38   ecx: c89c83be   edx: fffe
esi: c786726c   edi: c78c5f38   ebp:    esp: c78c5ecc
ds: 007b   es: 007b   ss: 0068
Process cat (pid: 4712, ti=c78c4000 task=c5b39ab0 task.ti=c78c4000)
Stack: 0dac c7867254 0010 c7868000   c028d53b c7867254
   c602e260 c602e260 0400 c0160f9f c78c5f18 c78c5f18 c74e95a0 0002
   c0118c39 c602e260 c028d527 0004 c0287f0c 0008 f410 
Call Trace:
 [c0160f9f] seq_printf+0x2b/0x48
 [c0118c39] r_show+0x5a/0x63
 [c016155e] seq_read+0x19a/0x27c
 [c01613c4] seq_read+0x0/0x27c
 [c01492c6] vfs_read+0xa1/0x144
 [c0149621] sys_read+0x3e/0x65
 [c0102a47] syscall_call+0x7/0xb
Code: 3b 74 24 0c 73 03 c6 06 20 46 4d 85 ed 7f f1 e9 a0 00 00 00 8b 0f 81 f9 
ff 0f 00 00 77 05 b9 1f 7d 29 c0 8b 54 24 14 89 c8 eb 06 80 38 00 74 07 40 4a 
83 fa ff 75 f4 29 c8 89 c3 f6 44 24 10 10
EIP: [c01ac595] vsnprintf+0x288/0x458 SS:ESP 0068:c78c5ecc


Working setup:

Cyclades driver 2.3.2.20 2004/02/25 18:14:16
built May  9 2007 22:29:11
ACPI: PCI Interrupt :01:09.0[A] - Link [LNKB] - GSI 10 (level, low) - 
IRQ  10
Cyclom-Y/PCI #1: 0xff8f8000-0xff8fbfff, IRQ10, 16 channels starting from port 0.

Cyclades driver 2.3.2.20 2004/02/25 18:14:16
built May  9 2007 22:29:11
Cyclom-Y/PCI #1: 0xff8f8000-0xff8fbfff, IRQ10, 16 channels starting from port 0.


Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2007-04-05 Thread Florian Lohoff
On Wed, Apr 04, 2007 at 03:17:54PM -0300, Renato S. Yamane wrote:
 Florian,
 please, test this patch below As Soon As Possible.
 A big hug to Stephen Hemminger!

I made 5-6 boots and all of them worked whereas previously 1/2 didnt.

Seems to have a positiv effect on the problem i was observing.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#404107: [PATCH] [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2007-03-22 Thread Florian Lohoff
On Thu, Mar 22, 2007 at 07:57:34AM -0300, Renato S. Yamane wrote:
 
 Please, test this patch below.
 Thanks to Stephen Hemminger!
 

Doesnt help - Broke this morning on first boot ...

Mar 23 07:31:47 localhost kernel: [   26.568000] sky2 eth1: enabling interface
Mar 23 07:31:47 localhost kernel: [   26.572000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.576000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.576000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.58] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.584000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.584000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.588000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.588000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.592000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.592000] sky2 eth1: phy write timeout
Mar 23 07:31:47 localhost kernel: [   26.592000] sky2 eth1: ram buffer 1020K

After a reboot (without powering down) everything is fine ...

Flo

 ---
  drivers/net/sky2.c |   11 +--
  1 file changed, 5 insertions(+), 6 deletions(-)
 
 --- sky2-dev.orig/drivers/net/sky2.c  2007-03-19 14:28:00.0 -0700
 +++ sky2-dev/drivers/net/sky2.c   2007-03-19 15:24:16.0 -0700
 @@ -2489,9 +2489,13 @@
  {
   u8 t8;
 
 + hw-chip_id = sky2_read8(hw, B2_CHIP_ID);
 + /* Make sure and enable all clocks */
 + if (hw-chip_id == CHIP_ID_YUKON_EX || hw-chip_id == 
 CHIP_ID_YUKON_EC_U)
 + sky2_pci_write32(hw, PCI_DEV_REG3, 0);
 +
   sky2_write8(hw, B0_CTST, CS_RST_CLR);
 
 - hw-chip_id = sky2_read8(hw, B2_CHIP_ID);
   if (hw-chip_id  CHIP_ID_YUKON_XL || hw-chip_id  CHIP_ID_YUKON_FE) {
   dev_err(hw-pdev-dev, unsupported chip type 0x%x\n,
   hw-chip_id);
 @@ -2501,11 +2505,6 @@
   if (hw-chip_id == CHIP_ID_YUKON_EX)
   dev_warn(hw-pdev-dev, this driver not yet tested on this 
 chip type\n
Please report success or failure to 
 netdev@vger.kernel.org\n);
 -
 - /* Make sure and enable all clocks */
 - if (hw-chip_id == CHIP_ID_YUKON_EX || hw-chip_id == 
 CHIP_ID_YUKON_EC_U)
 - sky2_pci_write32(hw, PCI_DEV_REG3, 0);
 -
   hw-chip_rev = (sky2_read8(hw, B2_MAC_CFG)  CFG_CHIP_R_MSK)  4;
 
   /* This rev is really old, and requires untested workarounds */

-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2006-12-21 Thread Florian Lohoff
 Disabled RCB 128 bytes CommClk- ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Capabilities: [100] Advanced Error Reporting


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.18-3-686 depends on:
ii  coreutils 5.97-5 The GNU core utilities
ii  debconf [debconf-2.0] 1.5.8  Debian configuration management sy
ii  initramfs-tools [linux-initra 0.85c  tools for generating an initramfs
ii  module-init-tools 3.3-pre3-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.18-3-686 recommends:
ii  libc6-i686   2.3.6.ds1-8 GNU C Library: Shared libraries [i

-- debconf information:
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.18-3-686/postinst/bootloader-error-2.6.18-3-686:
  linux-image-2.6.18-3-686/postinst/old-dir-initrd-link-2.6.18-3-686: true
  linux-image-2.6.18-3-686/postinst/kimage-is-a-directory:
  linux-image-2.6.18-3-686/preinst/elilo-initrd-2.6.18-3-686: true
  linux-image-2.6.18-3-686/postinst/old-system-map-link-2.6.18-3-686: true
  linux-image-2.6.18-3-686/preinst/lilo-initrd-2.6.18-3-686: true
  linux-image-2.6.18-3-686/postinst/depmod-error-initrd-2.6.18-3-686: false
  linux-image-2.6.18-3-686/preinst/bootloader-initrd-2.6.18-3-686: true
  linux-image-2.6.18-3-686/prerm/removing-running-kernel-2.6.18-3-686: true
  linux-image-2.6.18-3-686/postinst/create-kimage-link-2.6.18-3-686: true
  linux-image-2.6.18-3-686/prerm/would-invalidate-boot-loader-2.6.18-3-686: true
  linux-image-2.6.18-3-686/preinst/abort-install-2.6.18-3-686:
  linux-image-2.6.18-3-686/preinst/overwriting-modules-2.6.18-3-686: true
  linux-image-2.6.18-3-686/preinst/initrd-2.6.18-3-686:
  linux-image-2.6.18-3-686/preinst/lilo-has-ramdisk:
* linux-image-2.6.18-3-686/preinst/already-running-this-2.6.18-3-686:
  linux-image-2.6.18-3-686/postinst/bootloader-test-error-2.6.18-3-686:
  linux-image-2.6.18-3-686/preinst/abort-overwrite-2.6.18-3-686:
  linux-image-2.6.18-3-686/postinst/old-initrd-link-2.6.18-3-686: true
  linux-image-2.6.18-3-686/postinst/depmod-error-2.6.18-3-686: false
  linux-image-2.6.18-3-686/preinst/failed-to-move-modules-2.6.18-3-686:
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Heisenberg may have been here.


signature.asc
Description: Digital signature